Navigation

    Backtrader Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Wayne Filkins
    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
    • Groups 0

    Wayne Filkins

    @Wayne Filkins

    3
    Reputation
    30
    Profile views
    43
    Posts
    0
    Followers
    1
    Following
    Joined Last Online

    Wayne Filkins Unfollow Follow

    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

    Latest posts made by Wayne Filkins

    • Chart doing weird gap up

      Hey guys, just wondering if anyone else's charts are doing this? It just started this weekend so idk if it has something to do with earnings or what. I tried a few tickers and it's doing it on all of them. On this one it gaps up to like $100 then back down. Makes my whole chart flat :/

      ![alt text](eeaf77fa-92ce-4c7f-b6cb-d4113135f428-image.png image url)

      posted in General Discussion
      Wayne Filkins
      Wayne Filkins
    • RE: How to backtest over long timespan with intraday candles

      @ab_trader ok thx.

      posted in General Code/Help
      Wayne Filkins
      Wayne Filkins
    • RE: How to backtest over long timespan with intraday candles

      Also I have no clue why I have 2 charts or if that's normal lol

      posted in General Code/Help
      Wayne Filkins
      Wayne Filkins
    • RE: How to backtest over long timespan with intraday candles

      @run-out Big cut off line in the chart where it skips a bunch of time. Idk if this is just the output...like maybe it's doing trades in that time period and just not showing the information?

      1083cd51-fb36-470f-aa3b-a2df5070c4e6-image.png https://i.imgur.com/YoqhbdJ.png

      eac5eb2f-ce95-4564-b83c-31232d08d7df-image.png

      9960297f-0efb-4986-a779-b24576c17827-image.png

      posted in General Code/Help
      Wayne Filkins
      Wayne Filkins
    • RE: How to backtest over long timespan with intraday candles

      Does it not do it for you? I just assumed it does it for everyone. Seems like it's built for 1D candles and intraday seems really flawed.

      posted in General Code/Help
      Wayne Filkins
      Wayne Filkins
    • How to backtest over long timespan with intraday candles

      Every time I try to backtest with anything under 1D candles, it cuts out the middle (most of the backtest). It just skips over it. How can I run it over several months? The data seems to be there because it does the start of it, then the end. Is there a setting or something to see the whole backtest?

      posted in General Code/Help
      Wayne Filkins
      Wayne Filkins
    • saving settings through updates

      Sorry for the noob question, but when I update I basically just download the zip file and replace the whole thing. Then I just paste my strategy script into the new updated version. I changed some settings in scheme.py to make the chart look better, and was wondering how do people go about updating without losing old settings? Do you update some other way through git, or do you just save versions of all files that you edited and go in and replace them every time?

      posted in General Code/Help
      Wayne Filkins
      Wayne Filkins
    • RE: placement of custom indicator file

      Great, yeah that's pretty much what I was trying to do. Do you happen to have a way of saving settings too? For example the default chart plots a 'line' for the ohlc data and I went into scheme.py to change it to 'candle' and the way I usually update the whole albacka_backtrader_api is I just go on github and download the zip and replace the old one, so I lose settings like that. Is there a way to save all that or not update those files?

      posted in Indicators/Strategies/Analyzers
      Wayne Filkins
      Wayne Filkins
    • placement of custom indicator file

      How can I create a custom indicator in my own "indicators" folder? Or do I have to put it in the official backtrader indicators folder? I want to do my own folders like strategies, indicators, config files, etc. so that when I back my project up, if I lose everything I can just paste them right into the main folder without going into all the places to paste everything. I tried making my own indicator and it said it wasn't found.

      posted in Indicators/Strategies/Analyzers
      Wayne Filkins
      Wayne Filkins
    • RE: indicator using a value from the data other than close

      @backtrader What about Fractals indicator? Actually it's under studies so idk if it works like an indicator. I'm trying to use it like Fractals(self.close) and it's not working.

      posted in Indicators/Strategies/Analyzers
      Wayne Filkins
      Wayne Filkins