PoorRican / tradr

Modular automated trading system focused on marginal trades. Comes with batteries such as simulation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trading is halted during `TrendMovement.CYCLE`

PoorRican opened this issue · comments

The error originates in _calc_amount() where nan is returned, thereby causing _is_profitable() to return False by default.