Navigation

    Backtrader Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/

    Problems for Order.Market and Order.Close

    General Code/Help
    1
    2
    51
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      DarkHemisphere last edited by

      Hi, guys. I found the Order.Market and Order.Close will execute the trading at the start of the next day though I used minutes data. Is there any method to change the execution time point such as the next ticks or at the start of the next hour?

      1 Reply Last reply Reply Quote 0
      • D
        DarkHemisphere last edited by

        Ok..I found the problems. Ordre.Market is supposed to execute in the next ticks, but my DataFeed has some problems. Maybe it is better to use only one parameter 'datetime' in DataFeed. I met problems when I use 'datetime' and 'time' two parameters though I could run the Backtrader.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Copyright © 2016, 2017, 2018 NodeBB Forums | Contributors
        $(document).ready(function () { app.coldLoad(); }); }