Commit Graph

998 Commits

Author SHA1 Message Date
Gerald Lonlas
b192c23574 Mock freqtrade.fiat_convert.Pymarketcap to speedup Telegram tests 2018-01-21 15:10:54 -08:00
Gerald Lonlas
8d7a7b95e2 Mock freqtrade.fiat_convert.Pymarketcap to speedup tests 2018-01-21 14:58:42 -08:00
Gerald Lonlas
de3586d57f Move fiat_converter.convert_amount logic at the end of create_trade()
It is more important to save the trade in the DB than failing
because of the currency convertion. We do not know if
Pymarketcap() will not fail one day. Make sure the trade is saved before.
2018-01-21 14:40:31 -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
Samuel Husso
408f120612
Merge pull request #417 from jblestang/fix_bv_key_not_present_in_ticker_data_clean
Fixing the 'BV' key being missing for USDT
2018-01-21 19:03:33 +02:00
Jean-Baptiste LE STANG
c0d3ac5534 With a better unit test thanks @glonlas 2018-01-21 15:02:41 +01:00
Jean-Baptiste LE STANG
960d088deb Fixing the 'BV' key being missing for USDT 2018-01-21 15:02:41 +01:00
Janne Sinivirta
f6df701b84
Merge pull request #415 from gcarq/fix/wrong_refactoring
Remove optimize.load_data() that is called twice
2018-01-21 07:42:25 +02:00
Gerald Lonlas
ad2a5f1717 Remove optimize.load_data() that is called twice 2018-01-20 15:35:13 -08:00
Gérald LONLAS
3b6b2aa5fe
Merge pull request #414 from gcarq/fix/issue-413
Fix the issue get_signal() missing 1 required positional argument: Interval
2018-01-20 15:12:14 -08:00
Gerald Lonlas
998081785e Fix the issue get_signal() missing 1 required positional argument: Interval 2018-01-20 15:05:01 -08:00
Gérald LONLAS
d2371b5bac
Merge pull request #391 from jblestang/support_multiple_ticker
Support multiple tickers
2018-01-20 11:02:42 -08:00
Jean-Baptiste LE STANG
f1efaffe81 with fXXXXX8 2018-01-20 19:30:47 +01:00
Jean-Baptiste LE STANG
36797cda30 Merge branch 'develop' into support_multiple_ticker 2018-01-20 19:25:47 +01:00
Samuel Husso
52d881e3f9
Merge pull request #411 from jblestang/fixing_crappy_ticker_data_handling
fixing handling of data fetched from Bittrex server with bad content in the ticker
2018-01-20 18:07:30 +02:00
Jean-Baptiste LE STANG
081d3932b6 Fixing bug report #406 + unit test 2018-01-20 14:44:13 +01:00
Janne Sinivirta
a7e561b55f
Merge pull request #369 from kryofly/plot_profit
Plot profit from exported backtesting results
2018-01-20 11:54:46 +02:00
kryofly
8bbe8a7f95 Merge branch 'develop' into plot_profit 2018-01-20 08:33:28 +01:00
Janne Sinivirta
a3f84d9f21
Merge pull request #409 from gcarq/feature/add_num_trade_daily
Add number of trades in /daily command
2018-01-20 08:23:50 +02:00
Gerald Lonlas
fb110ccfd2 Add number of trades in /daily command 2018-01-19 22:14:31 -08:00
Janne Sinivirta
99de17da82
Merge pull request #361 from kryofly/backtest-export
Backtest export
2018-01-20 07:45:38 +02:00
kryofly
9d75b63a6e Merge branch 'develop' into plot_profit 2018-01-19 07:26:04 +01:00
kryofly
4a9e1cb345 Merge branch 'develop' into backtest-export 2018-01-19 07:02:38 +01:00
Gérald LONLAS
a4b8db38ca
Merge pull request #404 from gcarq/fix/doc
Fix markdown mistakes in backtesting doc
2018-01-18 21:28:54 -08:00
Gerald Lonlas
ddc1b7cd49 Update bot commands in README.md 2018-01-18 21:15:20 -08:00
Gerald Lonlas
861e065d08 Fix markdown mistakes in backtesting doc 2018-01-18 21:07:55 -08:00
Gérald LONLAS
14d16f2574
Merge pull request #357 from kryofly/timeperiod
Timeperiod
2018-01-18 20:26:44 -08:00
Gérald LONLAS
57757d22f9
Merge pull request #403 from gcarq/pyup-update-arrow-0.12.0-to-0.12.1
Update arrow to 0.12.1
2018-01-18 20:25:13 -08:00
Gérald LONLAS
98f808326f
Merge pull request #395 from jblestang/fix_signal_overlaps
Fix signal overlaps
2018-01-18 19:47:55 -08:00
pyup-bot
9a48e3b867 Update arrow from 0.12.0 to 0.12.1 2018-01-19 01:33:33 +01:00
Janne Sinivirta
6cafa9120c
Merge pull request #392 from stephendade/timeoutfix3
Order timeouts - added exception catching and rpc messaging
2018-01-18 10:18:48 +02:00
Janne Sinivirta
4658b554ce
Merge pull request #399 from gcarq/pyup-update-ta-lib-0.4.15-to-0.4.16
Update ta-lib to 0.4.16
2018-01-18 07:19:34 +02:00
Janne Sinivirta
4a3144ae43
Merge pull request #398 from kryofly/test_speedup
tests: speed up backtests
2018-01-18 07:19:14 +02:00
pyup-bot
fb34fe8c9a Update ta-lib from 0.4.15 to 0.4.16 2018-01-17 23:08:30 +01:00
Jean-Baptiste LE STANG
c9e1fd3fc4 Merge branch 'develop' into support_multiple_ticker 2018-01-17 21:29:36 +01:00
kryofly
423b251467 tests: speed up backtests 2018-01-17 18:19:39 +01:00
Jean-Baptiste LE STANG
f48b493620 Merge branch 'support_multiple_ticker' of https://github.com/jblestang/freqtrade into support_multiple_ticker 2018-01-17 13:52:36 +01:00
Jean-Baptiste LE STANG
5e75f1d8cd Fixing the documentation 2018-01-17 13:52:14 +01:00
toto
b34621fadf fixing default ticker_interval 2018-01-17 13:52:14 +01:00
Jean-Baptiste LE STANG
42a135fbd9 fix typo in API Bittrex 2018-01-17 13:52:14 +01:00
Jean-Baptiste LE STANG
8e5de365a5 Ticker in the conf is now an enum string 2018-01-17 13:52:14 +01:00
Jean-Baptiste LE STANG
658d16c2cd really fixing this stuff ... 2018-01-17 13:52:14 +01:00
Jean-Baptiste LE STANG
3a4ff4c76c fixing a duplicated unit test without config 2018-01-17 13:52:14 +01:00
Jean-Baptiste LE STANG
7b292d5ca3 backtesting takes its ticker_interval from the config file, else from the command line options 2018-01-17 13:52:14 +01:00
Jean-Baptiste LE STANG
2509ce030d Refreshing pair of only selected ticker_interval 2018-01-17 13:52:14 +01:00
Jean-Baptiste LE STANG
15189c28ed fixing pep8 compliance 2018-01-17 13:52:14 +01:00
Jean-Baptiste LE STANG
a0df566b2b fix unitest file for 30 minutes ticker 2018-01-17 13:52:14 +01:00
Jean-Baptiste LE STANG
e2e2005567 Adding 30 minutes, 1 hour, 1 day tickers 2018-01-17 13:52:14 +01:00