Open hkopp opened 9 years ago
ba1f10e3c80da784e13b9d6b25be39c2468fe2a4 293c8ad1114df2ec5d3b2af1546f312df4f8fb81
Risk management in portfolio now breaks, since I can suffer a drawdown of more than risk_per_trade
per trade
In execute_tick_event, I need to close the position, if it has lost enough money. Also, I need to adjust trade_units, when opening a new position
...which is in portfolio but does nothing up to now. Also do not forget the unittests.