Navigation

    Backtrader Community

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

    Rok Petric

    @Rok Petric

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

    Rok Petric Unfollow Follow

    Latest posts made by Rok Petric

    • RE: Why buy/sell orders are not issued

      @ab_trader Thank you, that answers the question.

      posted in Indicators/Strategies/Analyzers
      Rok Petric
      Rok Petric
    • Why buy/sell orders are not issued

      Firs of all thank you for the awesome library, gret job done!

      I'm studying an example with SmaCross strategy from library. I use 10000$ investment cash and PercentSizer = 100 on TSLA stock . What I notice is that at some crossovers the buy order is not issued even though there's enough available cash, please see pic below where the courser is.

      Figure 0_315.png

      If I reduce the PercentSizer to 95, buy/sell orders seems fine. If I understand the sizer well (by def: This sizer returns percents of available cash), there's enough cash to buy many stocks at that point, so why the buy order is not issued?

      posted in Indicators/Strategies/Analyzers
      Rok Petric
      Rok Petric