Re: twsapi: parameter list for orderstatus?
This gets the same error...
Sub tws1_orderStatus(ByVal id As Long, ByVal status As String, ByVal
filled As Long, ByVal remaining As Long, ByVal price As Double)
It would be helpful to see your
By
cyberbri_2000 <no_reply@...>
·
#326
·
|
Re: twsapi: parameter list for orderstatus?
It works for me (I use VB 5) but I pass parameters 'ByVal' in the order
status event.
Michel.
-----Mensaje original-----
De: cyberbri_2000 [mailto:no_reply@...]
Enviado el: jueves,
By
Michel <migurull@...>
·
#325
·
|
Re: twsapi: Re: Ways of filtering bad quotes from TWS
I dont know how you handle your quotes and sizes so I can't help.
The way in which I handle them is through the use of a 'one shoot' timer of
200 ms. In my tickPrice event I update a variable
By
Michel <migurull@...>
·
#324
·
|
parameter list for orderstatus?
I'm getting an error in VB 6 that says the declaration does not match
the event description.
From the object browser I got this info and coded the sub like this...
Sub tws1_orderStatus(id As Long,
By
cyberbri_2000 <no_reply@...>
·
#323
·
|
twsapi: Re: Ways of filtering bad quotes from TWS
Tbanks for the reply. Thanks what I'm doing with the 0 price quotes,
throwing them away. I didn't mention that I'm also getting what seems
to be quotes that non zero but incorrect. So I'm trying to
By
mbluhm2001 <mbluhm2001@...>
·
#322
·
|
Re: twsapi: Re: Ways of filtering bad quotes from TWS
Yes, I sometimes get quotes and/or sizes =0 for a litle moment buy I dont
understand your problem: 'if lastPrice = 0 then... exit sub'
Michel.
-----Mensaje original-----
De: mbluhm2001
By
Michel <migurull@...>
·
#321
·
|
twsapi: Re: Help! Cancel order
Hey Bruce, and I thought that the project I put on my pitiful website
was good enough... :)
regards
Jaba
By
jaba_z <no_reply@...>
·
#320
·
|
Charts from IB data feed
Opps heres the URL
http://members.lycos.co.uk/jcssolutions/markets
jclarke at hotpop.com
By
caspertype2001 <no_reply@...>
·
#319
·
|
Charts using IB data
Autotrader gives you
Charting using the IB data feed, ie futures, stocks, options.
Indicators EMA,SMA,TMA,WMA, MACD, CCI, REI, ADX, BBands, KBands, RSI,
williams and StochRSI, stochastics and
By
caspertype2001 <no_reply@...>
·
#318
·
|
Re: twsapi: TraderGuard is now 4.56MB - check TWSAPI file area.
Is there in any way the possibility to expand your program to connect it to TradeStation2000i to execute fully automated orders?
If so please mail me privately...
Thanks in advance
MK
By
Manuel Knospe <manuel@...>
·
#317
·
|
twsapi: Re: Help! Cancel order
"Flyin an airplane is really simple too if you know how to do it. LOL"
Yep....its the landings that are tricky....
Scott
figure this out.
the
that
number
By
marinindextrader <marinindextrader@...>
·
#316
·
|
Re: Ways of filtering bad quotes from TWS
I only access a futures account so I cant say more than the commodity
quotes I get seem fine...
Why dont you post the symbols your having problems with and perhaps a
few other members with stock
By
marinindextrader <marinindextrader@...>
·
#315
·
|
Re: Ways of filtering bad quotes from TWS
I guess I will reply to myself and ask a different question:
Is anyone else getting bad quotes, i.e. quotes == 0 from the TWS
interface. If not, it seems I must be doing something
By
mbluhm2001 <mbluhm2001@...>
·
#314
·
|
Re: twsapi: Re: Help! Cancel order
Flyin an airplane is really simple too if you know how to do it. LOL
Thanks for pointing me in the right direction I will see if I can figure this out.
Have a safe holiday.
Bruce
By
Kendall Hawkins
·
#313
·
|
twsapi: Re: Help! Cancel order
Bruce, it's really simple.
existingId = Cells(ActiveCell.row, 13).value
it means that existingId get's loaded with whatever there is in the
column 13 of the active row on the spreadsheet. then it
By
mk_trading_911
·
#312
·
|
Re: twsapi: Re: Help! Cancel order
First of all thanks for the response, here is the code in Excel
Sub cancelOrder()
clearError
' get existing id
Dim existingId As Long
existingId = Cells(ActiveCell.row, 13).value
By
Kendall Hawkins
·
#311
·
|
twsapi: Re: Help! Cancel order
Open the workbook, and press Alt-F11. Visual Basic for Applications
should appear. All the code for cancelling an order is on sheet2
(Orders).
What part of the code do you have a problem with,
By
mk_trading_911
·
#310
·
|
Re: twsapi: Re: Help! Cancel order
Thanks for the response, and if I was a little more savy regarding VB what you sent would be helpful.
I have looked at user's guide and Excel code trying to come up with what I need and I can't
By
Kendall Hawkins
·
#309
·
|
Re: Help! Cancel order
Either: store in your application's globals the ID number of the
orders you are sending, and their status, or extract them from TWS
(Tws1.reqOpenOrders). Once you know the ID, then use:
By
mk_trading_911
·
#308
·
|
Re: twsapi: TraderGuard
I downloaded the Beast, but never run the executable.
You actually do not need to run the interface to see an image o fit.
the guy already placed a link to his web page ? where you can see what
By
Eduardo J Motta <motta@...>
·
#307
·
|