Backtrader Community

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

    raul4backtrader

    @raul4backtrader

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

    raul4backtrader Unfollow Follow

    Latest posts made by raul4backtrader

    • How to create as sell order @ high price

      I would like to create a sell order in backtrader which will sell @high price. How do i code the same? I have tried the following
      self.order=self.sell(exectype=bt.Order.Limit, price=self.high[0])

      But the same does not work. Self.high is defined as high price.

      posted in General Discussion
      R
      raul4backtrader