Keyboard Shortcuts
Likes
- Twsapi
- Messages
Search
Re: futures options data via API
Hi,
I am looking for help in getting my reqMktData to work in getting me market data. I was hoping you may be able to help. For options on Dow Jones. This gives no error (wether it is working is another question :) symbol="YM" secType="FOP" currency="USD" exchange="ECBOT" localSymbol="C OYM SEP 21 35650" But for DAX the following gives me security definition not found symbol="DAX" secType="OPT" currency="EUR" exchange="DTB" localSymbol="P ODX1 SEP 21 15800" any ideas/help/documentation? Much appreciated |
Re: Python API. Getting historical data in paper trading but not in live account
¿ªÔÆÌåÓýProvided both live and paper trading are running on the same computer, both can access live and historical data simultaneously. ? Note that if both access the same market data ticker, it only counts as one against your ticker limit. Also your ticker limit applies to all the tickers on both live and paper. So if your ticker limit is 100, and your live TWS is accessing 50 tickers and your paper-trading TWS is accessing 50 different tickers, then you will be up to your limit and attempting to access any more (on either TWS) will give an error. ? ? ? From: [email protected] <[email protected]> On Behalf Of Annie Yang
Sent: 31 August 2021 14:34 To: [email protected] Subject: Re: [TWS API] Python API. Getting historical data in paper trading but not in live account ? Thank you for the information. I was testing them on 2 different computers I guess that's why. I have another question.? Last time I checked with an IB technical support they told me that only one peer can access living data feeding, and, if you try to access history data with your script,? the?gateway (no matter it's tws or ib gateway) must have the living data access.? So,? can you access living data feeding on both TWS and Gateway? simultaneously?? thanks?? |
Seeking programmer to develop Excel dashboard platform for Family Account
Hello
I have setup an IB Family Account with mulitple accounts and looking to create an Excel Dashboard that requires to pull in account info (positions,cash) for each account ,? realtime ticker data (price, volume), options volatility data (implied, realized). Also to parse and integrate manually downloaded ticker data into the worksheet. I am not a programmer but am interested with working with one to realize this. Anyone interested can contact me kurb.conrad@.... Thanks |
Re: Python API. Getting historical data in paper trading but not in live account
Thank you for the information. I was testing them on 2 different computers I guess that's why. I have another question.? Last time I checked with an IB technical support they told me that only one peer can access living data feeding, and, if you try to access history data
with your script,? the?gateway (no matter it's tws or ib gateway) must have the living data access.? So,? can you access living data feeding on both TWS and Gateway?
simultaneously?? thanks?? On Mon, 30 Aug 2021 at 19:42, Richard L King <rlking@...> wrote:
--
Best Regards, Annie Yang ------------------------------------------ Cell: 647-667-3308 EMAIL: anniesilver@... |
Re: Python API. Getting historical data in paper trading but not in live account
I should clarify I am not trying to log into both accounts at the same time. ?The python script is working on the paper trading account, but it is not working on the regular login. ?I have two accounts a margin account and a TFSA account, So I wonder if the program needs to specify a login account.
Allan in Toronto. -- Allan in Toronto. |
Re: Python API. Getting historical data in paper trading but not in live account
I should clarify I am not trying to log into both accounts at the same time. ?The python script is working on the paper trading account, but it is not working on the regular login. ?I have two accounts a margin account and a TFSA account, So I wonder if the program needs to specify a login account.
Allan in Toronto. |
Re: Trade Log for the last 7 days
Thank you, Richard.? I do have the 'Last 7 days' checked in the TWS UI under Trade Log.? If I figure out how to get?reqExecutions to return something via python implementation, it would confirm that their documentation stating "only those executions occurring since midnight for that particular account will be delivered" is not accurate..
|
Re: Trade Log for the last 7 days
¿ªÔÆÌåÓýYou can get executions for up to the past 7 days via the API from TWS (but not the Gateway) by setting the 'Show trades for' dropdown in the Trades Log window to 'Last 7 Days'. ? Richard ? ? From: [email protected] <[email protected]> On Behalf Of ´³¨¹°ù²µ±ð²Ô Reinold via groups.io
Sent: 31 August 2021 00:01 To: [email protected] Subject: Re: [TWS API] Trade Log for the last 7 days ? I am not aware of TWS API requests for trade executions that go back several days, Mark. But maybe the built-in TWS "Export Trade Reports Periodically" feature works for you. In TWS take a look at 'File -> Global Configuration -.> Configuration -> Export Trade Reports'. The default columns contain only the most basic fields (not even the execution ID) but you can add additional fields as needed. You will have one CSV file per day named "trades.YYYYMMDD.csv" and TWS does not delete any of these files. ´³¨¹°ù²µ±ð²Ô On Mon, Aug 30, 2021 at 05:16 PM, Mark Dabrowski wrote:
|
Re: Python API. Getting historical data in paper trading but not in live account
¿ªÔÆÌåÓýYes you can login to your live account and paper trading account simultaneously. But you have to have both TWS/Gateways running on the same computer. ? I do this all day every trading day, and have done every since the paper trading account was introduced back in the mid-2000s. ? I've attached a screenshot showing this. ? ? From: [email protected] <[email protected]> On Behalf Of Annie Yang
Sent: 30 August 2021 21:55 To: [email protected] Subject: Re: [TWS API] Python API. Getting historical data in paper trading but not in live account ? Paper trading account shares same data feeding with a live account. you just can't login both account simultaneously |
Re: Trade Log for the last 7 days
I am not aware of TWS API requests for trade executions that go back several days, Mark. But maybe the built-in TWS "Export Trade Reports Periodically" feature works for you. In TWS take a look at 'File -> Global Configuration -.> Configuration -> Export Trade Reports'. The default columns contain only the most basic fields (not even the execution ID) but you can add additional fields as needed. You will have one CSV file per day named "trades.YYYYMMDD.csv" and TWS does not delete any of these files. ´³¨¹°ù²µ±ð²Ô On Mon, Aug 30, 2021 at 05:16 PM, Mark Dabrowski wrote:How does one get?Trade Log for the last 7 days programmatically, |
Trade Log for the last 7 days
How does one get?Trade Log for the last 7 days programmatically, and are there any working examples in ruby or python?
1) TWS API As per? "Important:?only those executions occurring since midnight for that particular account will be delivered." I have Positions, Balances, and trades inplemented, so the TWS API would be preferred. 2) I have been web scraping webtrader, but it's going away 10/1/2021 3) REST API "Returns a list of trades for the currently selected account for current day and six previous days." 4) Set up "Daily Trade Report" in Client Portal, have posting to ftp enabled, parse the html once a day after it posts around 5:30 pm EST |
Re: Python API. Getting historical data in paper trading but not in live account
Paper trading account shares same data feeding with a live account. you just can't login both account simultaneously On Mon, 30 Aug 2021 at 16:16, alcatrazam <alcatrazam@...> wrote: Anyone running into this problem? --
Best Regards, Annie Yang ------------------------------------------ Cell: 647-667-3308 EMAIL: anniesilver@... |
Re: Slow response on TWS Desktop Application
Nick
Many find a stable TWS version and do not update until they are forced by IB. This reduces unplanned surprises.
toggle quoted message
Show quoted text
On 8/30/2021 3:11 PM, Obiwan23 wrote:
anyone ? any ideas/suggestions to check ? |
Slow response on TWS Desktop Application
Hi,
Is anybody experiencing slow response even hangs today ? I'm suspicious about today's auto update which puts application to 10.10.2f level. My API application, market data subscriptions/scanners running well but sometimes clicking is impossible on any stock/order on TWS screen.Stopping API and all subscriptions did not help a lot. When I check Task manager I see TWS using really high amount of CPU(more than %30). anyone ? any ideas/suggestions to check ? Thanks in advance |
Re: Data Feed that is identical to IB tickByTick data
Denali data feed provided with Sierra Chart package 12 is also tick by tick.
The Denali Exchange Data Feed provides real-time and historical data for the CME, CBOT, NYMEX, COMEX, and EUREX exchanges.Up to 1400 levels of market depth data per side (bid/ask) is provided for CME, CBOT, NYMEX, and COMEX. |
Re: Data Feed that is identical to IB tickByTick data
Alok Chadda
Try IEXcloud.io On Sun, Aug 29, 2021, 9:35 PM YSS <ys.soete@...> wrote: You will have to look very hard to find a tick by tick data feed that is as bad (identical as you call it) as Interactive Brokers 4 times per second filtered burst feed. |
Re: Data Feed that is identical to IB tickByTick data
YSS
You will have to look very hard to find a tick by tick data feed that is as bad (identical as you call it) as Interactive Brokers 4 times per second filtered burst feed.
I have tested this for years. It's very simple, there is no retail unfiltered correct tick by tick data feed on the market. Not even sierracharts own datafeed, whatever the kiwis tell you. Closest that I have seen compared to what I have worked with in Chicago is TT, and that's it. If you are so worried about correct datafeeds and latency, then why are you even using python, it's 200 times slower than Java and C++ for example and totally not fit for purpose in this domain. Good luck. |