¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date
Re: Request only secId out of reqContractDetails.
Hi Aquiles, try this: def contractDetails(self, reqId:int, contractDetails:ContractDetails): print("contractDetail: ", reqId, " ", contractDetails.contract.secId)
By @ScottBrian · #47419 ·
Re: How to track orders via API, works in live not in paper trading
Every order must have an orderId assigned to when it is placed. Also on the paper account. And yes, the orderId is the easiest way to refer to a special order.
By Despair · #47418 ·
Request only secId out of reqContractDetails.
I have the following code that gets contract details. from ibapi.client import EClient from ibapi.wrapper import EWrapper from ibapi.common import * from ibapi.contract import * class
By Aquiles P¨¢ez <aquilesjlp300@...> · #47417 ·
Black-Scholes-Merton - Risk Free Interest Rate and which Volatility value do I use?
The main questions are *where do I get the 'Risk Free Interest Rate'* and *which volatility value should I use* ? I've searched and see lots of weird answers, so maybe this question does not have a
By Don (KN3N) · #47416 ·
Re: IB question
Here is the complete current code. Try running this. Should see an error where it returns an empty frame in the set of 3 requests for all positions, total NAV, and then the Cash. Those are the three
By Stuart Cracraft <smcracraft@...> · #47415 ·
Re: IB question
Done. I¡¯ve upvoted it and deleted the comment. On another note, I¡¯ve run it and at the 3 second timer you have in it, get alot of non-reported numbers. E.g. empty frames. Bumping that up to 10
By Stuart Cracraft <smcracraft@...> · #47414 ·
Re: IB question
There is already a comment on Stackoverflow about this - see below. You might want to delete your comment there (i.e. on Stackoverflow) so it doesn't pollute the post.
By Rational-IM · #47413 ·
python code question related to IB
Hi, In this code, I need to know how to add the current settled cash available in the connected IB account. Once i have that, I can go off into Never Never Land just like Peter Pan.
By Stuart Cracraft <smcracraft@...> · #47412 ·
Re: IB question
It works perfectly! But my question was how do I get the settled cash in the account representing how much more can be bought? Thankyou. ./rationalIMatstackoverflow.py Testing IB's API as an
By Stuart Cracraft <smcracraft@...> · #47411 ·
Re: IB question
I made a few adjustments on the connection method - check back Stackoverflow. I hope it works for you. If you copy the main code and add at the bottom something like: print("Testing IB's API as an
By Rational-IM · #47410 ·
Running Stable Version of Gateway on Docker Container
Hi guys, I'm working on a project at the moment which involves running Gateway and IBC on an EC2 using Docker. As IB only provide a link to download the latest stable version and I want all EC2
By tomnolan95@... · #47409 ·
Re: IB question
This is more complexity than I currently need here. Just a simple poll which is done at EOD for market open trades (if any). That¡¯s about it. Super-basic. Just need to know how to read the
By Stuart Cracraft <smcracraft@...> · #47408 ·
Re: IB question
I have set this up to be stored on a database with each script continually grabbing the current position. This way, once you exit IB over the weekend, you can start up the scripts again and they know
By RobDawg35 · #47407 ·
Re: IB question
Hi, Thanks for that. I stood it up and get this: $ ./new.py Testing IB's API as an imported library: Waiting for IB's API response for accounts positions requests... Waiting for IB's API response
By Stuart Cracraft <smcracraft@...> · #47406 ·
Re: IB question
Hello Stuart: I discussed this issue on an old post at Stackoverflow:
By Rational-IM · #47405 ·
IB question
I have a small program which obtains the list of current positions in the IB portfolio. But not the total cash there on the side. Could someone send a simple Python program which gets the cash
By Stuart Cracraft <smcracraft@...> · #47404 ·
look ma, no hands!
Is God automation at scale? The folio¡¯s current list (an infinite number are possible): DIA IWM EEM SPY ETHE QQQ SPWR TMF and the buys and sells executed today without human intervention: Buys
By Stuart Cracraft <smcracraft@...> · #47403 ·
Historical Data Errors
I pulled MSFT day bar data and got a value of 10,000 for the high on 10/12/2005 (order is OHLCV): Is there a way to report this so IB can adjust? Mike
By Mike · #47402 ·
Re: Login GUI goes blank after install on Linux
Thanks for the suggestions.? After digging deep into the interwebs, I finally found the solution for anyone that's in the same boat.? Java and xrdp don't play well with color depths other (greater)
By tjisana · #47401 ·
Re: Any reason this moving average isnt adding up?
I figured it out, I still wasnt pulling enough candles. I was pulling 100 at a time, thinking we are going to cut -50 away from NA to build the MA and 50 remaining would be enough for weight since its
By Patrick C · #47400 ·