开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育
Date
Re: TWS API Close price appears to be incorrect
Brilliant. thanks very much. It's been very helpful.
By nbanihassan@... · #48772 ·
Re: high price ticktype 6 delayed- last price is often higher than HIGH
Maths, it would be expected that tick High (type 6) lags tick LastPrice (type 4) most if not all the time since a trade at a higher price needs to take place before a new high can be determined. But
By Jürgen Reinold · #48771 ·
Re: TWS API Close price appears to be incorrect
Thanks very much for your comprehensive answer. It all makes perfect sense. As a matter of fact, I don't need the accurate adjustments, and the historical data works perfectly fine for me. Thanks
By nbanihassan@... · #48770 ·
Re: TWS API Close price appears to be incorrect
I forgot to mention yet another potential opportunity to get the unadjusted?close tick by picking the last price of the liquid session using RTHOnly=1 in the watchlist request (reqMktData). This can
By ds-avatar · #48769 ·
Re: TWS API Close price appears to be incorrect
The documentation for the "Close Price" watchlist tick (#9) reads *The last available closing price for the previous* *day. For US Equities, we use corporate action processing to get the closing
By ds-avatar · #48768 ·
Re: How does IB handle sell trailing stop loss orders when good-after-time market sell order is hit?
Also I entered 15:45:00 as the time but I got this error, ERROR 162 391 The time or time-zone entered is invalid. The correct format is hh:mm:ss xxx where xxx is an optionally specified
By omgwtfsalty@... · #48767 ·
Re: How does IB handle sell trailing stop loss orders when good-after-time market sell order is hit?
I was reading about this but I don't understand how to create the 2 different groups.
By omgwtfsalty@... · #48766 ·
Re: How does IB handle sell trailing stop loss orders when good-after-time market sell order is hit?
The date and time format for the GoodTillDate field is documented in the Order Class ( https://interactivebrokers.github.io/tws-api/classIBApi_1_1Order.html ) section of the API Reference Guide (
By Jürgen Reinold · #48765 ·
Re: How does IB handle sell trailing stop loss orders when good-after-time market sell order is hit?
ahh I see, thanks. do you know what format to enter the date and time for the orders? for the GTD for the trailing stop loss and the GAT for the market sell.
By omgwtfsalty@... · #48764 ·
Re: How does IB handle sell trailing stop loss orders when good-after-time market sell order is hit?
IF you specify a GTD for the trailing order it will be canceled at that time. It will not be canceled if you just close the position. If this was your question.
By Despair · #48763 ·
How does IB handle sell trailing stop loss orders when good-after-time market sell order is hit?
I am not sure if this is the right place to ask this but I am not sure where to ask as I can't find a place to ask questions about how IB implements the order logic on their side. I currently have
By omgwtfsalty@... · #48762 ·
TWS API Close price appears to be incorrect
Hi all, I am taking open/low/high/close prices for a range of stocks?on my screener. I was trying to find out why my Change% calculation is not working, but I realised although open/low/high are
By nbanihassan@... · #48761 ·
high price ticktype 6 delayed- last price is often higher than HIGH
It can take many many seconds before high is updated as correct high price ( realtime data? for instance for OMX biggest companies (Sweden SFB) Any one know the reason? 05.01.2022
By Maths · #48760 ·
Re: Can't get updated options' open interest data
Ah, glad you figured it out!
By Gilbert <gilbertjr@...> · #48759 ·
Re: Can't get updated options' open interest data
Thank you Gilbert once again. I learned that the open interest is actually updated daily. So, it was not the code issue. Thank you.
By douglas8cho@... · #48758 ·
Re: Cancelling Non Transmitted Orders
See this thread, which includes a response from Josh at IB stating that access to queued orders is not available though the API. /g/twsapi/topic/36816324#43137
By Dan · #48757 ·
Cancelling Non Transmitted Orders
Hello All, I am trying to cancel orders that have been place by my application but that have not been transmitted (ie order.transmit = False).? I cannot use "reqGlobalCancel" because I am also
By Mike · #48756 ·
Re: Running IB TWS/Gateway from AWS Cloud
Yes, ds-avatar, Lightsail also can work! I thought about suggesting it but they're slightly more expensive than Vultr and Linode for the same machine specs. Having said that, I do put my servers on
By Gilbert <gilbertjr@...> · #48755 ·
decimalToString() crashing?
I'm testing out the latest?twsapi_macunix.1011.01.zip, which replaces double with Decimal in some cases, using the pre-compiled libbid.a library. Using the C++ client, I'm downloading e.g.
By amadeus84@... · #48754 ·
Re: Running IB TWS/Gateway from AWS Cloud
Regarding AWS, they also have an offering named Lightsail which is advertized as a simplified virtual desktop solution targeted at small businesses and should be much easier to setup than EC2/AMI
By ds-avatar · #48753 ·