Commit Graph

703 Commits

Author SHA1 Message Date
Gert Wohlgemuth
473339f740 added some more testing as well as cron expression is now scheduling larger intervals 2018-06-05 16:04:43 -07:00
xmatthias
f37c5b70ba Fix tests - read optional argument 2018-06-05 23:53:49 +02:00
xmatthias
270ccbb0da fix args test 2018-06-05 23:41:50 +02:00
Gert Wohlgemuth
19a525265f improve data aggregation 2018-06-05 13:59:45 -07:00
Gert Wohlgemuth
7e8461b8fe changed from form param to json 2018-06-05 12:47:25 -07:00
Gert Wohlgemuth
6fa57da664 fixed some minor issues 2018-06-04 14:30:00 -07:00
Gert Wohlgemuth
7b101f17b6 minor adjustements 2018-06-04 13:40:06 -07:00
Gert Wohlgemuth
81be71d9cb Merge pull request #16 from freqtrade/develop
Update from upstream repo gcarq/freqtrade@develop
2018-06-03 14:40:26 -07:00
xmatthias
e3227a741c add --export-filename for backtesting 2018-06-03 19:36:53 +02:00
Janne Sinivirta
20815771ab Merge pull request #817 from gcarq/feature/gdax
Enable Backtesting with GDAX and allow trading with EUR/USD
2018-06-03 17:49:20 +03:00
xmatthias
50fc5f91ca Merge branch 'develop' into mypy_typecheck 2018-06-03 10:35:56 +02:00
Gerald Lonlas
e8a59f4c20 Add a test to check the behavior when converting two FIAT 2018-06-03 00:13:48 -07:00
Gerald Lonlas
638d98735f Allow fiat_convert to use same symbol for Crypto and FIAT 2018-06-03 00:13:48 -07:00
Gerald Lonlas
c9e49ed7b4 Sort ticker_history
CCXT does not sort the ticker history from exchanges.
Bittrex and Binance are sorted ASC (oldest first, newest last) when
GDAX is sorted DESC (newest first, oldest last).

Because of that the get_ticker_history() fall in a very long loop
when the tickers are sorted DESC. Means it downloads more than
needed.

This commit enable exhanges like GDAX and unify the ticker_history
list across all exchanges.
2018-06-03 00:13:48 -07:00
Janne Sinivirta
7edafbb772 Merge pull request #823 from creslinux/timerange_unixtime_argument
Timerange unixtime argument
2018-06-03 07:22:41 +03:00
Gert Wohlgemuth
13b533820f optimizing trade db handling to lower monthly cost 2018-06-02 14:44:09 -07:00
Gerald Lonlas
fe8ff1b929 Fix stake_currency return by Hyperopt
Hyperopt had BTC hard coded in the result. This commit  will display
the real stake_currency used.

If you used `"stake_currency": "USDT",` in your config file.
Before this commit you saw a message like:
"2 trades. Avg profit  0.13%. Total profit  0.00002651 BTC (0.0027Σ%). Avg duration 142.5 mins."

Now with the commit, we fix the wrong BTC currency:
"2 trades. Avg profit  0.13%. Total profit  0.00002651 USDT (0.0027Σ%). Avg duration 142.5 mins."
2018-06-02 14:07:31 -07:00
Gerald Lonlas
127cf5d619 Backtesting: Add the Interval required when data is missing
Change the message:
"No data for pair ETH/BTC, use --refresh-pairs-cached to download the data"
for:
"No data for pair: "ETH/BTC", Interval: 5m. Use --refresh-pairs-cached to download the data"

The message structure is unified with the download message:
"Download the pair: "ETH/BTC", Interval: 5m"
2018-06-02 13:55:05 -07:00
creslinux
94e586c049 Added unit test to check posix time arguments passed to timerange
Here is the pass report:
freqtrade_new creslin$ pytest freqtrade/tests/test_arguments.py
==================================================================== test session starts =====================================================================
platform darwin -- Python 3.6.5, pytest-3.6.0, py-1.5.3, pluggy-0.6.0
rootdir: /Users/creslin/PycharmProjects/freqtrade_new, inifile:
plugins: mock-1.10.0, cov-2.5.1
collected 19 items

freqtrade/tests/test_arguments.py ...................                                                                                                  [100%]

================================================================= 19 passed in 2.37 seconds ==================================================================
2018-06-02 22:46:54 +03:00
xmatthias
9537f17dd4 Fix test 2018-06-02 20:06:29 +02:00
Gert Wohlgemuth
7ef2be06d7 Merge pull request #15 from gcarq/develop
Update from upstream repo gcarq/freqtrade@develop
2018-06-02 10:56:24 -07:00
Gert Wohlgemuth
9438e75b0a Merge remote-tracking branch 'origin/develop' into wohlgemuth 2018-06-02 10:46:17 -07:00
Matthias
81bb128cf7 Merge pull request #822 from gcarq/fix/misleading_log
change misleading logging for datadir
2018-06-02 14:50:27 +02:00
xmatthias
d9e951447f remove _init function in backtesting (and according test) 2018-06-02 13:54:22 +02:00
Gert Wohlgemuth
f02bb8df86 Merge pull request #14 from gcarq/develop
Update from upstream repo gcarq/freqtrade@develop
2018-06-02 03:45:58 -07:00
Janne Sinivirta
b5c41ca0fc Merge pull request #820 from gcarq/fix/backtesting_hint
Fix wrong hint '--update-pairs-cached' from Backtesting/Hyperopt
2018-06-02 11:39:09 +03:00
Janne Sinivirta
a82a31341b change misleading logging for datadir 2018-06-02 11:32:05 +03:00
Gert
de965d053c Merge branch 'develop' into wohlgemuth 2018-06-01 20:32:53 -07:00
Gert Wohlgemuth
770b05eb42 Merge pull request #13 from gcarq/develop
Update from upstream repo gcarq/freqtrade@develop
2018-06-01 20:31:41 -07:00
Gert
209aa9141d merged stop loss support branch 2018-06-01 20:26:51 -07:00
Gert
e6d3a440cd fixed tests except for one 2018-06-01 20:19:45 -07:00
Gert
6ace343d65 minor changes 2018-06-01 20:00:47 -07:00
Gérald LONLAS
0980e7e82d Merge pull request #766 from pan-long/forcesell-amount
Sell filled amount or an open limit buy order in forcesell.
2018-06-01 19:51:38 -07:00
Gerald Lonlas
792dd556a1 Fix wrong hint '--update-pairs-cached' from Backtesting/Hyperopt 2018-06-01 19:46:53 -07:00
Gert
c9708442ff Merge branch 'develop' into StopLossSupport 2018-06-01 19:34:39 -07:00
Gert
059a27cd24 merged remote 2018-06-01 19:32:36 -07:00
xmatthias
4eb55acdbc fix typing 2018-05-31 21:04:10 +02:00
Samuel Husso
c471ccb2db Merge pull request #734 from arudov/fix/pair-downloads
Do not download pairs if --refresh-pairs-cached isn't set
2018-05-29 08:05:10 +03:00
Pan Long
a98fcee4f9 Sell filled amount or an open limit buy order in forcesell.
Currently forcesell only cancels an open limit buy order and doesn't sell the filled amount.

After this change, forcesell will also update trade's amount to filled amount and sell the filled amount.
2018-05-26 09:55:31 +08:00
Gert Wohlgemuth
d293b65323 working on improving speed 2018-05-24 17:24:59 -07:00
Gert Wohlgemuth
86de538d9e fixed some format issues and added better logging 2018-05-24 16:58:09 -07:00
Gert Wohlgemuth
beb45bc58f fixed some format issues and added better logging 2018-05-24 16:04:51 -07:00
Gert Wohlgemuth
e37e7bd914 added support for backtest ranges to collect more data and initial support for pagination 2018-05-24 14:05:29 -07:00
Gert Wohlgemuth
8175fd207e more jyperopt fine tuning 2018-05-24 00:49:06 -07:00
Gert Wohlgemuth
d66196a290 added functionality to render trades 2018-05-23 23:11:11 -07:00
Gert
1b77d66e2c fixed some bugs, improved the backtesting and strategy table. Possible now to specify which features we want to use in the backtesting api 2018-05-23 20:51:07 -07:00
Gert
bab9a92ae1 Merge remote-tracking branch 'origin/wohlgemuth' into aws
# Conflicts:
#	requirements.txt
#	scripts/plot_profit.py
2018-05-23 18:56:27 -07:00
Gert Wohlgemuth
9fd735a3a0 fixing backtesting and perisstence 2018-05-23 00:25:38 -07:00
Gert Wohlgemuth
c25aa22690 working on backtesting BASE64 encoded strategies 2018-05-21 20:48:35 -07:00
Gert Wohlgemuth
4e31b4c9ee added support for downloading the github strategy repository 2018-05-21 19:57:31 -07:00