kernc / backtesting.py

:mag_right: :chart_with_upwards_trend: :snake: :moneybag: Backtest trading strategies in Python.
https://kernc.github.io/backtesting.py/
GNU Affero General Public License v3.0
5.06k stars 990 forks source link

Backtesting support trading fraction of unit. #1053

Closed devaraber closed 10 months ago

devaraber commented 10 months ago

Just a quick change to support trading fraction of a unit.

Requires more testing with our use case and strategy. But works with a basic strategy I set up.