Backtrader Community

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

    hoopoe

    @hoopoe

    0
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    hoopoe Unfollow Follow

    Latest posts made by hoopoe

    • RE: btalib.rsi doesn't work with default index

      @run-out thanks for your reply. Actually I'm using bta-lib on a data stream so I'm reindexing the dataframe on each incoming message, so any ideas for a better solution ?

      posted in bta-lib
      H
      hoopoe
    • btalib.rsi doesn't work with default index

      why btalib.rsi doesn't work with the default pandas dataframe indexing

      lst = [1864.90, 1867.24, 1863.73, 1841.16, 1772.16]
      df = pd.DataFrame(lst, columns=['Close'])
      rsi = btalib.rsi(df.Close, period=2).df
      print(rsi)
      

      TypeError: 'slice(2, None, None)' is an invalid key

      posted in bta-lib
      H
      hoopoe