Backtrader Community

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

    Best posts made by joeyy

    • RE: notify_order shows wrong calculations

      Perfect! so the BUY/SELL show the underlying single unit asset price whereas the PROFIT is the delta times the stake size (minus commission). It adds up. Thank you Rajanprabu!

      posted in General Code/Help
      J
      joeyy
    • cerebro.optstrategy slow AF on mac and really fast on Windows ?

      Hi All!

      This is such an esoteric problem and I don't suppose others have encountered it, but I figured it might be worth a shot.
      I have a strategy which I want to test across thousands and thousands of permutations via cerebro.optstrategy.
      When I run it on my macbook pro it's ridiculously slow and is able to compute about 5-6 results per minute, which basically makes it unusable.
      Then if I run the same code on a mediocre windows machine it generates hundreds of results per minute.
      Has anyone experienced anything similar ? Is there a config somewhere where I can make it more CPU intensive / add threads ?

      Thanks in advance!

      posted in General Code/Help
      J
      joeyy
    • 1 / 1