Backtrader Community

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

    crunchypickle

    @crunchypickle

    1
    Reputation
    19
    Profile views
    20
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    crunchypickle Unfollow Follow

    Best posts made by crunchypickle

    • RE: Own indicator: "if function" with min max is very slow

      @Jonny8 said in Own indicator: "if function" with min max is very slow:

      test

      are you sure it is slow where you said it was? Have you profiled the code?

      posted in Indicators/Strategies/Analyzers
      C
      crunchypickle

    Latest posts made by crunchypickle

    • RE: How to speed up when add data and preload data?

      also check out https://min.io/

      posted in General Code/Help
      C
      crunchypickle
    • RE: How to speed up when add data and preload data?

      That sounds like a very long time. are you sure you're not running into memory issues? Pandas craps out under memory pressure. It starts compressing and you'll see very high CPU loads but nothing is really getting done.

      If parsing the CSV is taking a long time, then I suppose pickling would work, there was a post on that and the guy saw really good improvements, but I think a better solution is probably to maintain a custom data feed in a memory db like Redis.

      posted in General Code/Help
      C
      crunchypickle
    • RE: Looking for a Quandl/Sharadar CSV Data Loader

      if its not working maybe you're missing session start and end params

      https://community.backtrader.com/topic/3269/compression-using-daily-and-minute-timeframes-unsuccessful-during-replaydata/10

      posted in General Code/Help
      C
      crunchypickle
    • RE: Looking for a Quandl/Sharadar CSV Data Loader

      looks fine to me

      posted in General Code/Help
      C
      crunchypickle
    • RE: Own indicator: "if function" with min max is very slow

      @Jonny8 said in Own indicator: "if function" with min max is very slow:

      test

      are you sure it is slow where you said it was? Have you profiled the code?

      posted in Indicators/Strategies/Analyzers
      C
      crunchypickle
    • RE: cerebro.optstrategy() failing with maxcpus > 1 (pickle error)

      ah! reminds me jupyter notebook has problems with multiprocessing too!

      posted in General Code/Help
      C
      crunchypickle
    • RE: Compression using daily and minute timeframes unsuccessful during replaydata()

      @Soham-Jain I haven't worked on resampling for a while but I'm quite sure pandas should support downsampling. That is a very common data science task.

      posted in General Code/Help
      C
      crunchypickle
    • RE: Compression using daily and minute timeframes unsuccessful during replaydata()

      might be just easier to compress it yourself with Pandas

      posted in General Code/Help
      C
      crunchypickle
    • RE: Dark/night mode for chart

      looks awesome. ty

      posted in General Discussion
      C
      crunchypickle
    • RE: fix for get_pf_items?

      Not sure how you use it. but i just use tear sheet and its working fine.

      I think i might have fixed some other bugs, but there are github issues that have solutions.

      posted in General Discussion
      C
      crunchypickle