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/

    Buy stop and sell stop orders

    General Code/Help
    2
    3
    53
    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.
    • S
      seton last edited by

      Hi there,
      Would you help me to define buy stop and sell stop orders in backtrader.
      stop-orders.png
      For buy stop order, I want to buy when the price goes upper than a specific value.
      For sell stop order, I want to sell when the price goes lower than a specific value.

      Thanks guys!

      run-out 1 Reply Last reply Reply Quote 0
      • run-out
        run-out @seton last edited by

        @seton Your answer is in the docs

        RunBacktest.com

        S 1 Reply Last reply Reply Quote 0
        • S
          seton @run-out last edited by

          @run-out
          Thanks a lot buddy

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          • First post
            Last post
          Copyright © 2016, 2017, 2018, 2019, 2020, 2021 NodeBB Forums | Contributors