Commit Graph

8 Commits

Author SHA1 Message Date
Gerald Lonlas
8c9fc76957 Of course Flake8, I forgot you 2018-01-21 15:19:52 -08:00
Gerald Lonlas
31f1fed081 Speed up unit test test_fiat_convert_add_pair
Duration optimized from 1.85s to 0.08s
2018-01-21 14:06:33 -08:00
Gerald Lonlas
6899b33130 Speed up unit test test_fiat_convert_get_price and test_fiat_convert_find_price
Change the mock of the unit test_fiat_convert_get_price
Duration get optimized:
- test_fiat_convert_get_price from 1.83s to 0.08s
- test_fiat_convert_find_price from 1.72s to 0.08s
2018-01-21 14:03:33 -08:00
Gerald Lonlas
074a4ef65b Change CryptoToFiatConverter._is_supported_fiat to Static method
We do not need to load the whole object to know if a pair is
in a static list.
Unittest passed from 1.25s to 0.08s
2018-01-21 13:58:38 -08:00
Janne Sinivirta
86db6c9084 sort imports 2018-01-11 07:08:56 +02:00
Janne Sinivirta
5be733a174 fix flake8 warnings 2018-01-07 14:37:09 +02:00
Gerald Lonlas
bf4b2dc05e Fix _coinmarketcap that fails backtesting and Hyperopt when no network 2018-01-06 21:21:28 -08:00
Gerald Lonlas
ff6b0fc1c9 Display profits in fiat 2017-12-26 19:44:19 -08:00