Navigation

    Backtrader Community

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

    suresh_trader

    @suresh_trader

    1
    Reputation
    129
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    suresh_trader Unfollow Follow

    Best posts made by suresh_trader

    • RE: Backtesting UI

      @laurent-michelizza It would be great if you share the upgraded version

      posted in General Discussion
      S
      suresh_trader

    Latest posts made by suresh_trader

    • RE: Backtesting UI

      @laurent-michelizza
      Any updates on the UI . Thanks

      posted in General Discussion
      S
      suresh_trader
    • RE: Cancelling orders get UnboundLocal Error

      @Osofuego This is a simple and very good example for cancelling all pending orders. Thanks a lot

      posted in General Code/Help
      S
      suresh_trader
    • RE: Backtesting UI

      @laurent-michelizza Thanks a lot.

      posted in General Discussion
      S
      suresh_trader
    • RE: Cancel Order

      @ backtrader. How to cancel all the pending stop and limit order by end of the day which is not executed due to the market price not reaching the order price level.

      • Is there any way to cancel all such order without passing order.ref as an argument if this is not possible
        *How do I retrieve order.ref for all the pending order programmatically. Example code will be appreciable

      Thanks

      posted in General Code/Help
      S
      suresh_trader
    • RE: Backtesting UI

      @laurent-michelizza It would be great if you share the upgraded version

      posted in General Discussion
      S
      suresh_trader
    • Print Date column from the date is in Float (737069.9999999999 ). How to get the correct date format while print
       def __init__(self):
      
          self.datadate = self.datas[0].datetime
      

      def next(self):
      print(self.datadate[0])

      if name == 'main':

      data = btfeeds.GenericCSVData(
      dataname=datapath,
      fromdate=datetime.datetime(2013,1,1),
      #dtformat=('%Y-%m-%d %H:%M:%S'),
      dtformat=('%m/%d/%Y'),
      timestamp=0,
      time=1,
      high=3,
      low=4,
      open=2,
      close=5,
      volume=6,
      timeframe= bt.TimeFrame.Days,
      compression= 1
      )

      posted in General Code/Help
      S
      suresh_trader