Broker feed stuck with compression
See original GitHub issueI am using the bitfinex. The exchange returns a feed of one minute. My bot uses a time-frame of 30 minutes, but it stuck with a compression different of 1.
Code:
hist_start_date = dt.datetime.utcnow() - dt.timedelta(minutes=50)
data = store.getdata(dataname='BTC/USDT', name="BTCUSDT",
timeframe=bt.TimeFrame.Minutes, fromdate=hist_start_date,
compression=30, ohlcv_limit=999, drop_newest=True)
I also tried to use cerebro.resampledata(data, timeframe=bt.TimeFrame.Minutes, compression=30)
with compression 1 in store. But does not work too.
With compression=1, the feed works fine. And next() function is triggered.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Fee Migration - Not Compression - LinkedIn
Today, fee compression in the asset management business is alive and kicking. ... Sure, compression may creep into the Holistic Wealth Advice business...
Read more >Everything is free or almost free. The great cost compression ...
The great cost compression in financial services ... So, these brokers launched no-transaction-fee (NTF) platforms and told the asset ...
Read more >Remote Desktop Connection Broker, Client gets ... - TechNet
Hello Professionals! I'm stuck for some days on the following issue described below. Any help will be highly appreciated!
Read more >Compression for ActiveMQ to ActiveMQ - Stack Overflow
Has someone any alternatives to compress the traffic between two brokers? What about ssh tunnels if compression in ActiveMQ this is not working?...
Read more >How Compass Contracts Can Lock in Real Estate Agents
When Compass comes clawing: How the firm's contracts lock agents in. The brokerage claims to empower agents above all else. The clawbacks in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @rodrigo-brito
Ok - No rush!
I was just wondering whether to keep it open or close the issue.
Cheers
Sorry for the delay, i tested you code with differente time frames and work very well. I don’t now what is happening with my code. Maybe a specific indicator or other component is interfering on it.