Commit Graph

704 Commits

Author SHA1 Message Date
Gert Wohlgemuth
de086579e6 updated lambdas to allow for new scheduling approach 2018-06-05 22:24:08 -07:00
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
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
Gert Wohlgemuth
5d16569233 minor improvements 2018-05-16 23:43:58 -07:00
Matthias Voppichler
ef78f2f03a Add test for invalid order_fee dict 2018-05-15 20:13:43 +02:00
Matthias Voppichler
a1fa688da0 Add tests for the new scenario 2018-05-15 19:49:47 +02:00
Anton
d112d90e8e Make telegram message beautiful 2018-05-15 13:37:34 +03:00
Gert Wohlgemuth
94acbf6c57 slowly working on the endpoints 2018-05-14 16:46:10 -07:00
Gert Wohlgemuth
b680429ea1 Merge branch 'LoadStrategyByUrl' into aws
# Conflicts:
#	setup.py
2018-05-14 15:42:16 -07:00
Anton
f175f48418 Fix get balance functionality 2018-05-15 00:31:56 +03:00
Matthias Voppichler
8549201502 add test for new fiat_convert logic 2018-05-13 20:46:02 +02:00
Matthias Voppichler
b1c53ec656 refactor "patch_coinmarketcap" to conftest"
add patch_coinmarketcap to get_patched_freqtradebot
2018-05-13 20:04:40 +02:00
Matthias Voppichler
790f35a5c8 fix test which resets singleton without reinstating it 2018-05-13 20:03:54 +02:00
Matthias Voppichler
8f17b11610 Fix testfluke in hyperopt 2018-05-13 13:38:29 +02:00
Michael Egger
5b25ed99ac
Merge pull request #652 from gcarq/feat/objectify-ccxt
CCXT into use
2018-05-12 14:04:06 +02:00
Michael Egger
edd840ac35
Merge pull request #640 from xmatthias/ccxt-obj-slippage
[cxxt][2/2] Add columns for slippage detection
2018-05-12 13:56:15 +02:00
Matthias Voppichler
58425993da Adapt tests to verify pair-conversion and exchange conversion 2018-05-12 13:39:29 +02:00
Matthias Voppichler
631081a2b2 Add additional tests 2018-05-12 10:37:17 +02:00
Matthias Voppichler
8e3ff8235f add explaining comments 2018-05-12 10:31:24 +02:00
Matthias Voppichler
ada98abfee fix flake 2018-05-12 10:30:30 +02:00
Matthias Voppichler
49266fc4b8 Add migration test 2018-05-12 10:29:26 +02:00
Gert Wohlgemuth
4b31b79d37 Merge remote-tracking branch 'origin/additionalColumnForStatusTable' into wohlgemuth 2018-05-11 15:35:44 -07:00
Gert Wohlgemuth
53e57b4955 Merge branch 'ObjectivyGraphImprovements' into wohlgemuth 2018-05-09 23:16:57 -07:00
Gert Wohlgemuth
9b68986a2d Added support to load strategy directly from a given url 2018-05-09 23:15:24 -07:00
Gert Wohlgemuth
9a6b64c12b fixed minor typing errors 2018-05-09 09:31:14 -07:00
Gert Wohlgemuth
f667041679 working on initial lambda support 2018-05-09 09:09:17 -07:00
Gert Wohlgemuth
478b0803d6 Merge branch 'improvedGraphing' into ObjectivyGraphImprovements
# Conflicts:
#	freqtrade/arguments.py
2018-05-09 05:08:30 -07:00
Gert Wohlgemuth
de056ec425
Update test_rpc.py 2018-05-08 22:42:21 -07:00
Michael Egger
1dbdb880e6
Merge pull request #637 from arudov/fix/dl-testdata-period2
Time-range download of backtesting data
2018-05-07 17:19:54 +02:00
Gert Wohlgemuth
24b3a51546
Update test_rpc.py 2018-05-06 12:33:12 -07:00
Anton
932b65da27 Fix test_optimize.py 2018-05-04 13:59:50 +03:00
Gert Wohlgemuth
6d2afdb146 added support for showing the exposed real value on the count table (#634) 2018-05-03 11:18:35 +02:00
gcarq
43fd9b37df fix 'max_open_trades must be greater than 0' regression 2018-05-03 10:48:25 +02:00
Anton
ceeb98dda9 Fix conflicts 2018-05-03 11:16:29 +03:00
Gert Wohlgemuth
cd2ecf7a0b fixed trailing whitespace issue 2018-05-02 22:55:49 -07:00
Gert Wohlgemuth
3e21818ee0 added stake value to status as well 2018-05-02 22:45:47 -07:00
Gert Wohlgemuth
c665ed9ef3 Merge branch 'additionalColumnOnCountTable' into develop-berlinguyinca 2018-05-02 22:18:55 -07:00
Gert Wohlgemuth
a3ea52e009 added support for showing the exposed real value on the count table 2018-05-02 22:17:14 -07:00
Gert Wohlgemuth
5d59cd4d51 Merge branch 'handleNotEnoughFundsException' into develop-berlinguyinca
# Conflicts:
#	freqtrade/tests/testdata/BTC_ADA-5.json
#	freqtrade/tests/testdata/BTC_DASH-5.json
#	freqtrade/tests/testdata/BTC_ETC-5.json
#	freqtrade/tests/testdata/BTC_ETH-5.json
#	freqtrade/tests/testdata/BTC_LTC-5.json
#	freqtrade/tests/testdata/BTC_NXT-5.json
#	freqtrade/tests/testdata/BTC_POWR-5.json
#	freqtrade/tests/testdata/BTC_XLM-5.json
#	freqtrade/tests/testdata/BTC_XMR-5.json
#	freqtrade/tests/testdata/BTC_ZEC-5.json
2018-05-02 20:43:36 -07:00
Gert Wohlgemuth
15b3de0ce9 Merge branch 'additionalColumnForStatusTable' into develop-berlinguyinca
# Conflicts:
#	freqtrade/tests/rpc/test_rpc.py
2018-05-02 20:43:09 -07:00
gcarq
306885e174 Merge branch 'develop' into feat/objectify-ccxt 2018-05-02 22:49:55 +02:00
Michael Egger
90a107393a
Merge pull request #622 from gcarq/fix/dl-testdata
fix download testdata
2018-05-02 22:06:43 +02:00
gcarq
a76ed88496 Merge branch 'feat/objectify-ccxt' into feature/catch-exchange-errors 2018-05-02 20:03:13 +02:00