Keyboard Shortcuts
Likes
Search
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@... |
开云体育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 |
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. |
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. |
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@... |
开云体育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?? |