Adding timezone to request
Just a heads-up that, starting with TWS 10.18, the following errors/warnings started to trigger when requesting historical data:
2174 : Warning: You submitted request with date-time attributes
By
Orionn
·
#49979
·
|
Re: Short positions with API v10.xx
Ah, this makes sense now - I saw the decimalToDouble() method but didn't put two and two together.
Thanks!
T.
By
tjisana
·
#49978
·
|
Re: Short positions with API v10.xx
No worries. You will still be able to short positions with TWS API 10.18 (or any of the version 10 APIs for that matter).
Version 10 TWS APIs introduce a Decimal data type for various size fields so
By
J¨¹rgen Reinold
·
#49977
·
|
Short positions with API v10.xx
I'm upgrading my c++ API to 10.18 and I realized that with the new Decimal type, positions are represented as *unsigned long long* , where they were double before (9.81).? This would mean that short
By
tjisana
·
#49976
·
|
Re: Market of Euronext-Amsterdam (AEB) but somehow it stopped
Hi Loic,
does not work on my side :-(
on Aug, 30th support wrote:
My suggestion: the more support tickets IB gets the higher the pressure for them to solve the issue (hopefully) -> open support
By
ewesse
·
#49975
·
|
Re: TWS vs TWS API volumes
@J¨¹rgen Reinold thanks so much for your help!
By
dakr
·
#49974
·
|
Re: Close open positions
I find the following solution for myself. I hope that might help someone else.
I separated the closing positions action in a dedicated "app". In this case the reqPositions() runs only once if
By
alex-mon888
·
#49973
·
|
Re: suggestions for simple GUI : IBAPI - python - windows
Re client.start(), I found this in the API docs ( https://interactivebrokers.github.io/tws-api/connection.html ) :
By
Steve Tuscher
·
#49972
·
|
Re: suggestions for simple GUI : IBAPI - python - windows
Hi Steve
This code is simple and robust, works like a charm, GREAT, just what I was looking for.
The only code I added was:
def connect_to_TWS ( self ):
TWS_PORT = 7497
.......
# added at
By
Erez Kaplan <erezkaplan90@...>
·
#49971
·
|
Time zone for FOREX automation
Hello,
Could someone please advise how the daylight saving shift can be accounted to avoid running scripts outside of FOREX's open market hours?
Will UTC help instead of GMT?
Thank you.
By
alex-mon888
·
#49970
·
|
Re: check if running in Paper or Live trading mode programatically
...or in python:
def is_demo(account_number: str) -> bool:
return account_number.startswith('D')
By
misantroop
·
#49969
·
|
Re: Erroneous execution details (execDetails) being returned
No, NextValidId occurs once when you connect to the API. It tells you the first unused order ID for the current ClientID. For each new order, you have to then increment the order id in some fashion so
By
Richard L King
·
#49968
·
|
Re: Erroneous execution details (execDetails) being returned
So it looks like what happened is the orderId got reused for some reason. ExecDetails shows orderId 14100 happening yesterday at 08:36 and today at 08:35. Is it my responsibility to ensure the orderId
By
ryanabbott22@...
·
#49967
·
|
Re: Erroneous execution details (execDetails) being returned
You might want to re-read the TWS API Guide sections on Executions and Commissions, ( https://interactivebrokers.github.io/tws-api/executions_commissions.html ) IBApi.EWrapper.execDetails, (
By
J¨¹rgen Reinold
·
#49966
·
|
Erroneous execution details (execDetails) being returned
Hey All,
I'm curious if anyone else has experienced problems with the Execution details (execDetails) being returned from the TWS API. I'm using the C# version. Intermittently I've been getting
By
ryanabbott22@...
·
#49965
·
|
Re: IV Rank and Percentile through API
It seems we talked about two different columns. I was referring to IV rank/IV percentile for individual options on the chain -- the menu option for this column also disappeared in the meanwhile.
By
IBHero
·
#49962
·
|
Re: Get company analyst forecasts
Anyone...?
By
msender750@...
·
#49961
·
|
libs included in macos version of API 10.17 don't link
I tried to upgrade to 10.17 as the server has stopped handling my requests due to the age of my current API (what the people at IB told me). They suggested moving to 10.17 which has some new
By
Marcus
·
#49960
·
|
Sell order for Options not going through in Paper trading mode
HI i tried a buy order followed by a sell order for TSLA/SPX options.
THe buy order goes through in about few seconds - the order gets fulfilled and the program also gets a call back ( with
By
Prav
·
#49959
·
|
Re: check if running in Paper or Live trading mode programatically
thanks alot . worked :)
By
Prav
·
#49958
·
|