Navigation

    Backtrader Community

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

    Topics created by Ronan Dunham

    • R

      api.polygon.historic_agg returns incorrect timestamp
      General Code/Help • • Ronan Dunham

      5
      0
      Votes
      5
      Posts
      468
      Views

      B

      To me it would seem sensible to try a from parameter.

      The problem is the limit=6, which seems arbitrary. Backfilling is difficult, because you may know what you want, but APIs have to cope with facts like non-trading hours. That's why you usually says from => to and get the number of bars that are available, regardless of non-trading days and non-trading hours.

    • R

      backtrader data same for 5days vs 50 days
      General Code/Help • • Ronan Dunham

      3
      0
      Votes
      3
      Posts
      132
      Views

      SPECULARI FUND

      @Ronan-Dunham do you have experience with Alpaca API?

    • R

      How to get the data as array of the sma1 and sma2
      General Code/Help • • Ronan Dunham

      8
      0
      Votes
      8
      Posts
      842
      Views

      R

      Got it it works with SmaCross.df =df.

      Thank you

    • 1 / 1