question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

sleep 3 seconds and retrying https://paper-api.alpaca.markets/v2/account 3 more time(s)

See original GitHub issue

I try paper trading with my own live feed using alpaca-backtrader-api. When I do resample for this data feed, I received message:

sleep 3 seconds and retrying https://paper-api.alpaca.markets/v2/account 3 more time(s)…

Sometimes it starts normally, but often no at all.

When disable alpaca broker, data feed working well.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:63 (28 by maintainers)

github_iconTop GitHub Comments

1reaction
alias-noacommented, Jun 26, 2020

You know what, it’s not Polygon. It’s something wrong with my strategy. I tried one of the sample strategies and it works fine with polygon and paper trading. I didn’t find the problem specifically but it was an error on my part in the strategy. Thanks for the quick responses though!

0reactions
shlomikushchicommented, Sep 14, 2020

closing due to lack of activity

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sleep 3 seconds - Alpaca Community Forum
I came back to find this in the log: sleep 3 seconds and retrying https://paper-api.alpaca.markets/v2/orders 3 more time(s)… sleep 3 seconds ...
Read more >
sleep 3 seconds and retrying · Issue #3 - GitHub
When you run the bot as is, you get this message during market hours: sleep 3 seconds and retrying https://paper-api.alpaca.markets/v2/clock ...
Read more >
"sleep 3 seconds and retrying.." warning when connecting to ...
when trying to run algo on Alpaca paper account during live trading hours (is_live=True). I don't think I'm hitting anywhere near the limit...
Read more >
alpaca-trade-api-python - PyPI
alpaca -trade-api-python is a python library for the Alpaca Commission Free Trading API. ... APCA_RETRY_WAIT=3, 3, seconds to wait between each retry attempt....
Read more >
Alpaca Trading API Guide - A Step-by-step Guide
Which stocks can you trade with Alpaca? How do I find out what time the market closes? Putting it all together – a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found