Skip to content

BrokenProcessPool when doing backtest.optimize #5

Description

@sacharbit

Expected Behavior

Returning the stats on the best run for backtest.run()

Actual Behavior

raised a BrokenProcessPool error : A process in the process pool was terminated abruptly while the future was running or pending.

Steps to Reproduce

bt = Backtest(df, Strat,, cash=starting_money, commission=.002)
bt.run()
stats = bt.optimize(tresholdVol=range(5,100, 5), maximize='Equity Final [$]')

Additional info

  • Backtesting version:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions