Backtrader Community

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

    partha

    @partha

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

    partha Unfollow Follow

    Latest posts made by partha

    • RE: Bar filling code worked in 1.2.7.88 - failing in 1.9.19.105 #226

      @backtrader Thanks.

      posted in Indicators/Strategies/Analyzers
      P
      partha
    • RE: Bar filling code worked in 1.2.7.88 - failing in 1.9.19.105 #226

      @backtrader

      I put the sessionend and the duplicate at 00:00 went away.
      I am still having issues.
      feedtime = num2time(self.datas[0].datetime[0])
      print '>> time: ', feed0_date_curr, feedtime
      Put the code into the Next function in the sample I already uploaded it should print once per 5min bar - look for example at 12-06-16 around 12:40 time -

      time: 2016-12-06 12:40:00
      time: 2016-12-06 13:05:00
      time: 2016-12-06 12:45:00
      time: 2016-12-06 12:50:00
      time: 2016-12-06 12:55:00
      time: 2016-12-06 13:00:00
      time: 2016-12-06 13:25:00
      time: 2016-12-06 13:45:00
      time: 2016-12-06 13:50:00
      time: 2016-12-06 23:10:00
      is what I see printed out.
      You can see the same issue on 12-07 around 12:40 and on 12-12 around 12:55.

      Please advise,
      Thanks,

      posted in Indicators/Strategies/Analyzers
      P
      partha