logs enriched

This commit is contained in:
misagh 2018-11-29 12:24:04 +01:00
parent e698590bb2
commit a61daed8e9

View File

@ -167,7 +167,10 @@ class Edge():
max_position_size = abs(round((allowed_capital_at_risk / stoploss), 15)) max_position_size = abs(round((allowed_capital_at_risk / stoploss), 15))
position_size = min(max_position_size, free_capital) position_size = min(max_position_size, free_capital)
logger.info( logger.info(
'position size is %s for pair %s, stoploss %s and available capital of %s.', 'winrate: %s, expectancy: %s, position size: %s, pair: %s,'
' stoploss: %s, available capital: %s.',
self._cached_pairs[pair].winrate,
self._cached_pairs[pair].expectancy,
position_size, pair, stoploss, available_capital position_size, pair, stoploss, available_capital
) )
return position_size return position_size