开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育
Date
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 ·
Re: twsapi: Please, help
Run-time Error 13 line ?? can
By multicen2002 <no_reply@...> · #142 ·
Re: twsapi: Please, help
what errors do you get ?
By David <kotomo@...> · #141 ·
Re: twsapi: Please, help
Thank you for trying David. But again it is not working.. everything else works fine. Anybody know how to solve my 1 week long torture with this line ?? Please, post a sample code line which really
By multicen2002 <no_reply@...> · #140 ·
Re: twsapi: Please, help
First, your ORDERID - 1 could be a PROBLEM - generate a larger number and increase by delta of 10 or more ( still first order may cause duplicate error - keep trying or increase first and then place
By David <kotomo@...> · #139 ·
Please, help
Hi, I am working on my VB API for IB platform. Thanx to ppl like you, everything starting to work just fine. BUT.. I wasted 1 week trying to send limit order from my box. what is wrong with this
By multicen2002 <no_reply@...> · #138 ·
Demo Server Question
To any and all... I have never used the demo server. I have always used my accounts...for testing What is up with the demo server? When I fire up my client side TWS what special user name and
By marinindextrader <marinindextrader@...> · #137 ·
Why does IB API renumber order id's after internet disconnect?
This message was originally posted on IB's API forum. I Thought it worthy of our archives and discussion. Posted on Wednesday, June 19, 2002 - 06:26 am:
By marinindextrader <marinindextrader@...> · #136 ·
Re: OCA updateExtended(), extended properties, etc, etc
...thanks for keep us up to date......seriously ...post any and all peculiarities you find with the OCA process... Scott property ()
By marinindextrader <marinindextrader@...> · #135 ·
Re: updateExtended(), extended properties, etc, etc
Hi, If you are still wondering how to place an OCA in VB, I did some testing today and was able to get it to work. Here's what you do: The OCA property has a default value of null (""). Set this
By BrianL_98 <brianl_98@...> · #134 ·