开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育
Date
Re: twsapi: TWS API VB files for newbies - 1st POST
Agreed, I try and post code every week... I put up bits and pieces and modules in the Files section all the time... As my program develops I will be shareing what ever it is I am working on at the
By marinindextrader <marinindextrader@...> · #162 ·
Re: twsapi: TWS API VB files for newbies - 1st POST
POST your code, too and look under FILE AREA TWS API - Let's share VB code NR-1 Somebody need to break an ace. just little somethink to play with.. Andrew appreciated. Its frustrating when
By multicen2002 <no_reply@...> · #161 ·
Re: How do you?+ TWS API VB files for newbies - 1st POST
will you add a code line to your post ?? or sample to file area?? It will take you extra 2 more minutes. Thanx Andrew
By multicen2002 <no_reply@...> · #160 ·
Re: How do you?
Use the "nextValidId" event to get a valid Id to use each time. keep increasing the order ID to place more orders. Jaba) I beleive has an earlier ver. of Tws.ocx
By qnolte <q@...> · #159 ·
How do you?
How do I get Tws.ocx on to a new form? I tried the following on the Demo and it worked except I have to keep increasing the order ID to place more orders. Call Tws1.placeOrder(3030, "BUY", 1, "ES",
By Kendall Hawkins · #158 ·
Re: twsapi: TWS API VB files for newbies - 1st POST
Yes, I agree any code examples that can be posted are greatly appreciated. Its frustrating when you know the info is out there but you can't get to it. I realize some people are trying to come up
By Kendall Hawkins · #157 ·
Working on polling any good ideas?
Are there any IT people that have access to a polling system we can use (to enhance and push forward the development of a trading interface)or have any ideas on anyone who does? Looking for low cost
By goldensilvermana <kybryan@...> · #156 ·
TWS API VB files for newbies - 1st POST
Special thanx to users for trying to solve BUY/SALE/CANCEL code lines for VB OCX. Nothing works .... It look like nobody knows or want to share a sample VB PROJECT in files area showing PROPER USE
By multicen2002 <no_reply@...> · #155 ·
VB: Code Sample, Level Intermediate....Dynamic ReqMarket Array Management
The following code has been posted as a BAS module in the files section: http://groups.yahoo.com/group/twsapi/files/ It is the topmost item on the list This module and the form code with it, will
By marinindextrader <marinindextrader@...> · #154 ·
Re: twsapi: Demo Server Question
Thanks Todd
By marinindextrader <marinindextrader@...> · #153 ·
Re: Please help - VB code --- SEE command4_click
This call: Private Sub Command4_Click() Call Tws1.placeOrder(3030, "BUY", 1, "ES", "FUT", "200209", "", "", "GLOBEX", "", "LMT", 0, 0) End Sub Is incorrect.... Proper call for limit order:
By marinindextrader <marinindextrader@...> · #152 ·
Re: twsapi: Demo Server Question
I use the demo accounts with the standalone TWS all the time: Login: cdemo for futures and edemo for stocks. Password: demouser for both --- marinindextrader
By Todd Turner <todd_a_turner@...> · #151 ·
Re: Please help - VB code --- SEE command4_click
Your IF statements need to define their upper limits just under the threshold of the next limit...otherwise they will all trigger....is that what you wanted? Example: If size >= 10 And size <
By marinindextrader <marinindextrader@...> · #150 ·
Re: Please, help
DAVID it's working U R LifeSAVER.. thank you so much Andrew as it may work read the rewuirements and check your DIM statements integer
By multicen2002 <no_reply@...> · #149 ·
Re: twsapi: Please, help
1, "ES", "FUT", "200209", 0, "", "GLOBEX", "", "LMT", 1025, 0 1025 is the price you wnat to buy or better - be careful with this as it may work put there the right "YOUR" price ----- Original
By David <kotomo@...> · #148 ·
Please help - VB code --- SEE command4_click
Option Explicit ' contract description vars Dim id As Long Dim symbol As String Dim secType As String Dim expiry As String Dim strike As Long Dim right As String Dim
By multicen2002 <no_reply@...> · #147 ·
Re: twsapi: Please, help
Type mismatch - your declarations of your variables is incorrect - read the rewuirements and check your DIM statements you probably define,say, quantity as long or single and should be integer this is
By David <kotomo@...> · #146 ·
Re: Please, help
Please, will you overrite my code line to work ?? it is not working - market , limit..NONE thanx David Andrew the CurrentAsk to get you in the market now.
By multicen2002 <no_reply@...> · #145 ·
Re: twsapi: Please, help
You have to specify the limit price for the LMT orders - put ther the CurrentAsk to get you in the market now.
By David <kotomo@...> · #144 ·
Re: twsapi: Please, help
Run-time Error 13 line ?? can
By multicen2002 <no_reply@...> · #143 ·