¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date
Re: Is there a way to automate retrieving margin report?
If you submit a fully liquidating "what if" ( https://interactivebrokers.github.io/tws-api/margin.html ) order for each position, you will see the margin impact of each position.
By Kevin R Keane · #52218 ·
Re: Is there a way to automate retrieving margin report?
No, it doesn't.? I think reqAccountSummary only shows the margin status for the account,? but what I want to see if the margin requirement of every ticker.? Please let me know if I am not correct.
By @jiamin · #52217 ·
Re: Is there a way to automate retrieving margin report?
Does not reqAccountSummary satisfy your requirements?
By bespalex · #52216 ·
Re: Reconnect
Found a solution: 1. app.disconnect() 2. app.connect() 3. restart api thread 4. restart data requests working nicely so far. Any issues with this approach?
By bespalex · #52215 ·
Re: How to Get SPX/SPXW Quote price or current price
JavaScript is not one of the IBKR TWS APIs we are focused on here. So you'd have to reach out to the makers/group that supports that version. TWS 10.19 is fine and has a server version of 173. There
By J¨¹rgen Reinold · #52214 ·
Re: How to Get SPX/SPXW Quote price or current price
dont why i can use this ib.serverVersion() in my node js app it throws an error as its not a function. attached my tws version details. if my server version is lesser how to update it [image:
By arun kumar m · #52213 ·
Reconnect
Hi Guys, What is the best way to implement api reconnection in case of a loss with an error 504? My app is in python, and api is in a thread running app.run(). Just running app.connect() again after
By bespalex · #52212 ·
Re: How to Get SPX/SPXW Quote price or current price
Which versions of TWS API and TWS/IBGW you are using? Reason why I ask is that the root cause for your errors are not the data requests, but by the fact that your TWS API did not negotiate a valid
By J¨¹rgen Reinold · #52211 ·
How to Get SPX/SPXW Quote price or current price
i am trying to get the current price of SPX or SPXW but i am getting error. while trying with request Historical data getting the below error error :? "It does not support historical data
By arun kumar m · #52210 ·
Re: updatePortfolioEx not returning EUR.USD position
Thank you Jurgen, Yes I have the checked. NO idea what can be wrong, always worked before.
By carlos · #52209 ·
Re: updatePortfolioEx not returning EUR.USD position
I don't have that much hands-on experience with FOREX, but there is a TWS/IBGW configuration parameter in "Global Configuration -> API -> Settings" called "Include virtual FX positions when sending
By J¨¹rgen Reinold · #52208 ·
updatePortfolioEx not returning EUR.USD position
Hello, I am using the function reqAccountUpdates. All my postions are coming back on the updatePortfolioEx but the position on FOREX. I have 30k EUR.USD on my position but that never comes back on
By carlos · #52207 ·
Re: Is there a way to automate retrieving margin report?
I wonder if it is now possible.
By @jiamin · #52206 ·
Re: Python Datetime Processing (US/Eastern)
That worked for me. Thanks.
By Python1382 <shane_henry@...> · #52205 ·
Re: Running w/ Bash Scripts, C++, & Watchdogs
I've been dealing with IB's API for years now, here are some takeaways when it comes to stalling: 1. Do not run your binaries from Windows Terminal, rather use plain cmd.exe. Windows Terminal for me
By Daniel Ferreira · #52204 ·
Re: Running w/ Bash Scripts, C++, & Watchdogs
Hi Brendan, Another way to do this is having some kind of RequestSystemTime api setup within your process. And monitoring process will query it and if the process start responding with stale
By Stock Alerts · #52203 ·
Re: Running w/ Bash Scripts, C++, & Watchdogs
Mark, Yes, I have been using caffeine-indicator for a while to ensure that. Thanks for your input. It is a bit off topic. I just thought maybe this would be a place where someone has built something
By Brendan Lydon · #52202 ·
Re: Running w/ Bash Scripts, C++, & Watchdogs
Hi Brendan, I¡¯ve done many of the tasks that would be required to make such a monitoring system, but not roll my own. But that gets a little off topic for the group. You might want to consider
By Mark Murphy · #52201 ·
Re: Running w/ Bash Scripts, C++, & Watchdogs
Mark, Thank you for the swift suggestion. I thought it would be cool to write my own, which I have pretty much done already just working out the kinks, but that 'immortal python' looks cool. I also
By Brendan Lydon · #52200 ·
automatic adjustment of stop limit in bracket order based on fill price
I would like adjust the limit price (auxPrice) of a child stop limit order, with the new limit price calculated from the parent order fill price, instead of the originally submitted entry order limit
By David Walker · #52199 ·