开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育
downlod historical SH data, Proshares Short S&P 500, before the split
Hi, When I'm trying to download the close prices with endDate 2024-11-07 everything is fine: ticker = "SH" contract = Stock(ticker, 'SMART', 'USD', primaryExchange = 'ARCA') bars =
By supis31@... · #53485 ·
Re: How are built the Continuous future data retrieved with secType = CONTFUT ?
After a loto of time, IB added an explanation on this topic on the online guide, the link is: https://www.ibkrguides.com/traderworkstation/continuous-futures.htm? (
By luca.chiaravalloti@... · #53484 ·
Re: 10326 - OCA group revision is not allowed
I believe this is a bug that occurs in TWS 10.30+ I see this message when trying to modify the limit or stop price of an OCA order in TWS 10.30+; same code works fine in TWS 10.19. TWS log shows that
By Jimmy · #53483 ·
Trail price movement callbacks?
I dont think this exists but wanted to check with the group before giving up. I'm trying to record movements of the stop price on a trailing order, so I can chart the movement of the floor price and
By wordd · #53482 ·
Re: 10326 - OCA group revision is not allowed
you ever figure out if this is possible?
By wordd · #53481 ·
Re: IB_apps github project
*at gmail com.
By Jelmer P. · #53480 ·
IB_apps github project
I created a GitHub project for my python code that works with the ibapi. To give an insight to whether it may be useful to you I made an accompanying youtube video that can be found
By Jelmer P. · #53479 ·
Re: C++ - TWS API - Connection Closed Handling
I had a side discussion with Eitan but I think it is useful to explain the change made on the C++ API that fixes the bug reported in this thread: /g/twsapi/message/51775 The error
By David Armour · #53478 ·
Re: Visual Studio 2022 and C++ TWS API 10.32
OKAY I FIXED IT. WHO EVER READS THIS AND WANTS TO COMPILE WITH VS 2022 AND 10.32 HERE ARE THE STEPS I USED TO GET IT TO WORK 1. Try compiling the "TestCppClient\Debug\TestCppClientStatic.exe "?
By Marluv · #53477 ·
Re: Visual Studio 2022 and C++ TWS API 10.32
On Thu, Nov 7, 2024 at 07:26 PM, Marluv wrote: check your architecture this might be an x64 vs x86 issue. Don't remember much about C++ but this might be a libbid.lib architecture issue.
By comicpilsen · #53476 ·
Re: Visual Studio 2022 and C++ TWS API 10.32
Okay I followed the TEXT document (NOT FOUND IN THE BETA DONWLOAD) . I was able to use NMAKE and compile the floating point library called (libbid.lib) I then placed the libbid.lib in my
By Marluv · #53475 ·
Re: C++ - TWS API - Connection Closed Handling
I tried to reach out to you individually to send me your code as I cannot replicate the test you are doing with TestCppClient example. The example code connects and disconnects rapidly 50 times in a
By David Armour · #53472 ·
Re: ValueError: could not convert string to float: b'\xe2\x88\x9e'
Thanks Jurgen and bespalex! This doesn't happen very frequently, so memory corruption is possible. I will also try threading.excepthook as mentioned by bespalex and come back with further update!
By Cash · #53471 ·
Re: ValueError: could not convert string to float: b'\xe2\x88\x9e'
I'd try to figure out, where those bytes come from. This feels like some memory corruption inside the client and it is unlikely that they came from TWS/IBGW through the socket connection (though not
By Jürgen Reinold · #53470 ·
Re: ValueError: could not convert string to float: b'\xe2\x88\x9e'
you can catch exceptions in threads without modifying the ibapi source code by using Python's threading.excepthook function
By bespalex · #53469 ·
Re: ValueError: could not convert string to float: b'\xe2\x88\x9e'
oops sorry didn't register the fact you can't detect it in main()
By comicpilsen · #53468 ·
Re: ValueError: could not convert string to float: b'\xe2\x88\x9e'
how about ``` def safe_float_conversion(value): try: return float(value) except ValueError: return None # or some default value ```
By comicpilsen · #53467 ·
ValueError: could not convert string to float: b'\xe2\x88\x9e'
Using Python api - From time to time i am getting following error and it stops the api thread completely. I can't catch this exception in Main thread. This happens with HistoricalData callback. It is
By Cash · #53466 ·
Re: Undocumented error codes: 10089 and 10091 ...
Thanks again Jürgen for your help and support, it is greatly appreciated. I will get my client to check their market data subscriptions again.? We have also put the question out directly to IB
By bdcoder <bdaviduck@...> · #53465 ·
Re: Visual Studio 2022 and C++ TWS API 10.32
TWS API ships with file source/CppClient/Intel_lib_build.txt that describes the libbid build process. Jürgen
By Jürgen Reinold · #53464 ·