3 Commits

Author SHA1 Message Date
Kernc
b454bd2f9b MNT: Fix codecov coverage of __init__.py 2020-10-14 20:00:04 +02:00
kernc
2145e0146a BUG: Avoid multiprocessing trouble on Windos (#6)
* BUG: Avoid BrokenProcessPool error on Windos

* REF: Avoid any multiprocessing exceptions in `Backtest.optimize()`

... and instead switch to non-parallel computation.

* REF: Support parallelism only if start method is 'fork'

* REF: In case of non-'fork' multiprocessing, use a simple loop

* MNT: quiet codecov

* TST: Remove redundant test

The code path is covered by any other Backtest.optimize() test.

* fix flake8 warning
2019-09-23 02:25:43 +02:00
Kernc
b1066f16fb Add initial Backtesting.py (squashed dev branch) 2019-01-07 14:11:40 +01:00