Backtrader Community

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Wayne Filkins
    3. Best
    For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
    • Profile
    • Following 1
    • Followers 0
    • Topics 8
    • Posts 43
    • Best 3
    • Controversial 0
    • Groups 0

    Best posts made by Wayne Filkins

    • TimeFrame.Days works but TimeFrame.Minutes doesn't

      When I try to paper trade live with any strategy using TimeFrame.Minutes I get:

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

      If I click the link it gives:

      {"code":40110000,"message":"access key verification failed : access key not found (Code = 40110000)"}

      Tried making new keycodes several times so it's not that...seems to just be when I use Minutes instead of Days.

      posted in General Code/Help
      Wayne Filkins
      Wayne Filkins
    • How does live mode reference old candle data?

      If I have something like close[-50] and i'm running live mode, does it go back and reference the old data from before the live test started? Or do you have to actually run live test for 50 candles first? I know this is a dumb question I just wanted to make sure it uses data from before the live test.

      posted in General Code/Help
      Wayne Filkins
      Wayne Filkins
    • RE: TimeFrame.Days works but TimeFrame.Minutes doesn't

      Nevermind, figured it out. At first I thought it was the date going too far back (for 1-minute data) but then deleted all alpaca stuff from my pc and reinstalled just alpaca-backtrader and now it's working. I think maybe it was somehow using some old keycodes from the alpaca api in a different folder or something...idk really. Got it working though I think!

      posted in General Code/Help
      Wayne Filkins
      Wayne Filkins
    • 1 / 1