Retrieve trailing stop level
If I have an open position with an attached trailing stop order, can I somehow retrieve the price where the stop is sitting at the moment?
By
Despair
·
#46565
·
|
Re: Order field to identify a strategy
I have used *permID* and stored it locally to identify strategy mapping. It works seamlessly across sessions and days. So as everyone else already said, I think, using *permID* with local mapping in
By
Pratik Babhulkar
·
#46564
·
|
CUSIP/ISIN in ActiveX API using VBA in Excel
Hello, I have been trying to get ISIN and CUSIP from ActiveX API and failed everytime. I am using reqContractDetails and trying to read secIdList. I have successfully received the required info while
By
Pratik Babhulkar
·
#46563
·
|
How place orders before AND after market hours?
What is the magic combination of settings that lets you place orders through the API both before and after market hours?? I can use outsideRth(true) on an order and place it after market hours, but
By
FreeGoldRush
·
#46562
·
|
Re: Order field to identify a strategy
Hi all, I use trade references stored in the order reference field, it usually works without problem. Track the order id, order reference and your internal tracking identifier, and you should be able
By
mark collins
·
#46561
·
|
How can I get yesterday's volume at some moment of time for a stock?
I want to compare the current volume of a stock with yesterday's volume at the same time. Thank you.
By
igoro1975@...
·
#46560
·
|
Re: Has anyone done a stock gap scanner
You can do this with the API function reqScannerSubscription. https://interactivebrokers.github.io/tws-api/market_scanners.html
By
Despair
·
#46559
·
|
Re: How to pull all strikes for a given expiration?
See some useful hints here: [Q] How to find out available strike prices for options ? <https://dimon.ca/dmitrys-tws-api-faq/#h.e0puflpk9v9y>
By
Dmitry Shevkoplyas
·
#46558
·
|
How to pull all strikes for a given expiration?
How do I pull all strikes for a given expiration? I found this API: https://interactivebrokers.github.io/tws-api/options.html Which gives me all combinations of expirations and strikes, but the
By
Crow
·
#46557
·
|
Re: Order field to identify a strategy
Tracking within your own process is not working why? If these are LMT orders can you not track them by LMT price you set, quantity of shares, and time? Time is of course always after you submitted but
By
Bruce B
·
#46556
·
|
Re: Is there a good reason to not use LATEST API vs Stable?
Hey Bruce, I'm not even counting the things I have to wrap/fix with the API..? just the fact that on occasion portions will stop working.. Maybe with an undocumented error code if you're lucky..? FA
By
Peter Drier
·
#46555
·
|
Re: Historical bars and WAP
So I probably answered my own question via an experiment - getting the same 5 secs bars as real-time and as historical. They seem to match exactly except for field naming and precision. Docs here are
By
Alex Gorbachev
·
#46554
·
|
Re: Order field to identify a strategy
Thank you very much. Will investigate.
By
corneliu maftuleac <corneliu.maftuleac@...>
·
#46553
·
|
Re: Order field to identify a strategy
Except for forex, markets are open for only part of a day as opposed to continuous 24/7 trading. The general idea is markets open at a specific time and then close at a specific time and that is one
By
Nick <news1000@...>
·
#46552
·
|
Re: Is there a wrapper api/sdk around that abstracts core trading functionality on top of the base ibkr api?
The IB libraries are needlessly complicated and convoluted in my view. My plain C library gets the job of reading messages done with a single function twsGetMsg() which returns a union with the
By
Nick <news1000@...>
·
#46551
·
|
Has anyone done a stock gap scanner
Where I specify a criteria like price in the range of $5 - $15 or market cap of 200 Mill etc.
By
Colin B Maharaj
·
#46550
·
|
Re: Is there a wrapper api/sdk around that abstracts core trading functionality on top of the base ibkr api?
You described exactly my own physiological reaction after reading tws api :-)
By
Ajay Joglekar
·
#46549
·
|
Re: Order field to identify a strategy
Thanks Nick. What is a session definition?
By
corneliu maftuleac <corneliu.maftuleac@...>
·
#46548
·
|
Re: Order field to identify a strategy
There is OrderRef but it might not persist across sessions, you would have to make sure it meets your needs.
By
Nick <news1000@...>
·
#46547
·
|
Re: Order field to identify a strategy
Update: someone suggested to use OrderRef field
By
corneliu maftuleac <corneliu.maftuleac@...>
·
#46546
·
|