Backtrader Community

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

    Edu

    @Edu

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

    Edu Unfollow Follow

    Latest posts made by Edu

    • RE: Feature Request: OCO bracket orders?

      Thank you!! It worked out perfectly!
      Much appreciated!

      posted in General Discussion
      E
      Edu
    • RE: Feature Request: OCO bracket orders?

      Hi, since I have a doubt that is similar to this one I'll post it here instead of opening another topic..

      First thank you as well for the framework, it is, indeed, excellent.

      Now, in my case I want to open a trade (with stoploss but no takeprofit) when some signal is sent and then close it when another signal is received. Example:

      • Prices cross SMA up = Buy with 10% stoploss

      • Priss cross SMA down = Sell

      I have managed to do that without stoploss using the regular buy and sell. But if I try to use buy_bracket it seems the takeprofit is activated even if I use None as its input. I've gone thought all the docs but couldn't manage to make it work.

      I apologize if this is a trivial issue, I'm new to this.

      Thank you

      posted in General Discussion
      E
      Edu