Commit Graph

694 Commits

Author SHA1 Message Date
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
Gert Wohlgemuth
b4d6e2c289 working on backtesting 2018-05-21 16:52:12 -07:00
Anton
8c22cfce37 Fix tests; fix codestyle 2018-05-21 23:15:01 +03:00
xmatthias
e2efd7c6ec add test to verify network exception is cought on init of coinmarketcap 2018-05-21 20:03:25 +02:00
Gert Wohlgemuth
ae5230cf45 implementing more strategy db query code 2018-05-20 15:13:54 -07:00
Gert Wohlgemuth
b990557e5f Merge branch 'StopLossSupport' into wohlgemuth
# Conflicts:
#	freqtrade/arguments.py
#	scripts/plot_dataframe.py
2018-05-20 12:12:08 -07:00
Gert Wohlgemuth
a040181c26 working database handling 2018-05-20 11:47:48 -07:00
Gert Wohlgemuth
92d3afd6e8 Working on persistence api 2018-05-19 17:07:32 -07:00
Gert Wohlgemuth
9d4257c2c0 merged changes from develop branch 2018-05-19 15:34:18 -07:00
EC2 Default User
4bb944c432 finally managed to compile aws functions + talib 2018-05-19 21:31:01 +00:00