using items()

This commit is contained in:
Misagh 2019-03-25 09:48:41 +01:00
parent a8be277ca0
commit fd7278517d

View File

@ -468,10 +468,10 @@ class RPC(object):
return [ return [
{ {
'Pair': pair, 'Pair': k,
'Winrate': self._freqtrade.edge._cached_pairs[pair].winrate, 'Winrate': v.winrate,
'Expectancy': self._freqtrade.edge._cached_pairs[pair].expectancy, 'Expectancy': v.expectancy,
'Stoploss': self._freqtrade.edge._cached_pairs[pair].stoploss, 'Stoploss': v.stoploss,
} }
for pair in self._freqtrade.edge._cached_pairs for k, v in self._freqtrade.edge._cached_pairs.items()
] ]