You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed this in version 2.2.0 and not sure if this is resolved in the upcoming release 3.0.0 but it seems like the Broker.sync() is called for each event and when using AlpacaLiveFeed with subscription to Trades, it makes too many calls to the broker.sync(). Because of this, it hits the API limits. I've tried upgrading the Alpaca account but it doesn't have increased limits for account API calls.
Is this a known issue? If not, any way to fix this?
Thanks
The text was updated successfully, but these errors were encountered:
This can happen if you use high frequency data (like live quotes) and are not allowed too many API calls (I believe for Alpaca that also depends on the type of account you have). For Bar data (even 1 second bars) I didn't witness it yet.
Some other broker implementations throttle the sync, so it is not calling the real broker API's too often. This logic can also be added to the AlpacaBroker (or perhaps have all live Brokers inherit from an abstract class that takes care of this). Will put it on the back log.
Hi,
I noticed this in version 2.2.0 and not sure if this is resolved in the upcoming release 3.0.0 but it seems like the Broker.sync() is called for each event and when using AlpacaLiveFeed with subscription to Trades, it makes too many calls to the broker.sync(). Because of this, it hits the API limits. I've tried upgrading the Alpaca account but it doesn't have increased limits for account API calls.
Is this a known issue? If not, any way to fix this?
Thanks
The text was updated successfully, but these errors were encountered: