开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育
Re: Delphi and TWS
Thanks for your response Chucky. I work mainly with Linux but also with Windows. I have Delphi 12 on Windows and Lazarus on Linux. I have only tried connecting to TWS with Delphi, and although it does
By Julio EB4CUV · #53796 ·
Re: Delphi and TWS
It works perfectly well on Lazarus. Tested in both MacOS and Linux versions of Lazarus.? Even comes with a sample app built in Lazarus.? So, quit saying bad things about my work.
By rossh_yh · #53795 ·
Re: conditional order conditioned on execution of buy order only?
p.s. two relevant threads: /g/twsapi/topic/88826062#msg48954 ( /g/twsapi/topic/88826062#msg48954 ) -- how to pause
By Neal Young · #53794 ·
Re: conditional order conditioned on execution of buy order only?
DS, From looking through relevant posts, and doing some experimenting, I can see only two ways to "pause" a limit order via the TWS API: * cancel the order, the submit it again to "resume" the
By Neal Young · #53793 ·
Re: Delphi and TWS
Are you trying to use Ross Hemminway's library? If so I bought a license and could not make it work for me either. But I run solely on Linux these days and tried to implement it with Lazarus so I
By Chucky · #53792 ·
Wire Protocol
I am not a professional programmer. I write code for my own use, which is usually, because of my age, in pascal. That said I obviously needed to understand the wire protocol and was surprised to learn
By Chucky · #53791 ·
Re: reqContractDetails() does not get a callback if secType = "OPT"
Working fine here on TWS 10.30, including on non-RTH. Try *not* doing this — I definitely don't: optContract.multiplier = "" [image: image.png] [...] <TwsApiOnGroupsIo@...>
By Daniel Ferreira · #53790 ·
Re: reqContractDetails() does not get a callback if secType = "OPT"
Worked for me just now, so your problem is not related to trading hours. I received 2,404 contracts within 10 to 12 seconds. Maybe you need to check your setup or get a "second opinion" by using a
By Jürgen Reinold · #53789 ·
Re: reqContractDetails() does not get a callback if secType = "OPT"
OK, I think the issue is trying this outside of trading hours like on a Sunday - this weekday morning it seems to work as expected.? Weird as I'd have thought looking up option contracts should not
By Stephan Gueorguiev · #53788 ·
Re: reqContractDetails() does not get a callback if secType = "OPT"
Thanks Richard, appreciate you looking. From your screenshot, it doesn't look like this is running via the gateway, or is it? The API messages for the first of my calls are: Whereas for the second
By Stephan Gueorguiev · #53787 ·
Re: reqContractDetails() does not get a callback if secType = "OPT"
Your request for the AAPL options actually returns 2482 contract details. The whole lot is returned within a second or two. You should be able to easily verify this from the API log. See attached
By Richard L King · #53786 ·
Re: reqHistoricalTicks() & batching vs. reqTickByTick() vs. reqHistoricalData(), Backtesting vs. Realtime execution
Yes agreed it does appear that the sequence they arrive is correct as long as it's maintained. Good idea tagging them with a serial number.... I'm gonna add that for good measure. ----- Side note
By wordd · #53785 ·
Re: reqHistoricalTicks() & batching vs. reqTickByTick() vs. reqHistoricalData(), Backtesting vs. Realtime execution
Just a note that the price I mentioned was for trade ticks only. The bid/ask and book ticks are more.
By wordd · #53784 ·
reqContractDetails() does not get a callback if secType = "OPT"
I had some old code I haven't run for a few years, which used to successfully retrieve an option chain.? I've been trying to update it but for the life of me I can't get hold of an option chain
By Stephan Gueorguiev · #53783 ·
Re: reqHistoricalTicks() & batching vs. reqTickByTick() vs. reqHistoricalData(), Backtesting vs. Realtime execution
My apologies I did not see your quoted text. This is right from the documentation: Pacing Violations for Small Bars (30 secs or less) -------------------------------------------------- Although
By Brendan Lydon · #53782 ·
Re: reqHistoricalTicks() & batching vs. reqTickByTick() vs. reqHistoricalData(), Backtesting vs. Realtime execution
I was in talks with Portara CQG in November of 2024 about purchasing a large amount of tick data for /NQ and /ES. They may not have live tick feeds, as I am looking over their website again right now
By Brendan Lydon · #53781 ·
Re: reqHistoricalTicks() & batching vs. reqTickByTick() vs. reqHistoricalData(), Backtesting vs. Realtime execution
Where have you seen that?
By Jürgen Reinold · #53780 ·
Re: reqHistoricalTicks() & batching vs. reqTickByTick() vs. reqHistoricalData(), Backtesting vs. Realtime execution
I am not disputing your results, but you are now comparing reqMktData() tick #48 "RtVolume" with the tick-by-tick feed from Databento.? But our discussion here is about reqTickByTick() which is
By Jürgen Reinold · #53779 ·
Re: reqHistoricalTicks() & batching vs. reqTickByTick() vs. reqHistoricalData(), Backtesting vs. Realtime execution
Okay thank you for clarifying. $30 for 3 months is not bad at all. I checked out Portara CQG a couple months back for /NQ & /ES and I believe it was $895 per instrument going back to 2014 for level 1
By Brendan Lydon · #53778 ·
Re: reqHistoricalTicks() & batching vs. reqTickByTick() vs. reqHistoricalData(), Backtesting vs. Realtime execution
Shoot i was hoping markdown formatted tables worked. :/
By wordd · #53777 ·