YD

Results 19 comments of YD

I am sorry, just not read all code of the example. Looks like all fine. Anyway, would be cool if creators add some samples with real-time intraday timeframes. It would...

Only one question, how to use in live mode resampledata()? Because I see that in DataFactory we already use compression.

Also, how to control the backfill_start range? Looks like too much data loading for the first run.

https://github.com/alpacahq/alpaca-backtrader-api/issues/41 In this topic above, I understood that the latest version of the library something changes (maybe I am wrong) in real-time mode. Let me explain what I mean. In...

> your connection is rejected while another connection is open under the same account - this is caused by running more than 1 algorithms at once. you can only execute...

> as you read in: #41 the next() method is event driven. you could check the time inside next() and decide if you want to do something at this time....

> I have the same issue when I am doing paper trading. When backfill is running, in next method we have the following check > > ``` > def next(self):...

Today, the same test code doesn't work at all. No calling next() at all. No events - no logs. Enabled/disabled backfill_start param - no matter. Active symbol $SPY. Magic.

> Also, I think the alpaca data stream is a bit thin this morning. > I also don't get as many messages as usual. > when switching to the polygon...

Ok, hope it will work later. Another question about multi-data. I must use alpaca-proxy-agent if I add more than 1 data feed to my algo? For example, I need for...