Commit Graph

1292 Commits

Author SHA1 Message Date
Matthias f0af4601f9 Adopt plot_dataframe to work with --live 2019-01-22 07:07:15 +01:00
Matthias a9abc25785 Improve data-provider tests 2019-01-22 07:07:15 +01:00
Matthias 5f61da30ed Adjust tests to 3tuple return value from async method 2019-01-22 07:06:30 +01:00
Matthias e503d811bd Change logmessages to match functions called 2019-01-22 07:05:09 +01:00
Matthias a206777fe5 Rename refresh_tickers to refresh_latest_ohlcv 2019-01-22 07:05:09 +01:00
Matthias 646e98da55 Always return dataframe 2019-01-22 07:04:19 +01:00
Matthias 2b029b2a86 Only return ohlcv if available (Live and dry modes) 2019-01-22 07:04:19 +01:00
Matthias d3a37db79a Provide available pairs 2019-01-22 07:04:19 +01:00
Matthias f034235af4 Tests for RunMode 2019-01-22 07:04:19 +01:00
Matthias 1340b71633 Add RunMode setting to determine bot state 2019-01-22 07:04:19 +01:00
Matthias a7db4d74cb Add some simple dataprovider tests 2019-01-22 07:04:19 +01:00
Matthias 4e760e1a5e Test for errors found in 1491
fixes #1491
2019-01-19 20:03:04 +01:00
misagh 87329a393c adding stop loss last update to test persistence 2019-01-18 12:14:00 +01:00
misagh 5e2e96acd2 compatibility with edge added 2019-01-16 18:38:20 +01:00
misagh 611b48dbb9 fix return value from info hash: value is in string 2019-01-16 16:15:36 +01:00
misagh a44f781284 Merge branch 'develop' into tsl_on_exchange 2019-01-16 14:56:27 +01:00
misagh cffc9ce890 last step: stop loss on exchange added to trailing 2019-01-16 14:49:47 +01:00
misagh 6d588b3b0b trailing stop loss on exchange extracted to a separate function 2019-01-16 14:28:52 +01:00
misagh e31fa8721f Merge branch 'develop' into tsl_on_exchange 2019-01-16 11:52:23 +01:00
misagh 29439c05d6 adding update beat test 2019-01-16 11:51:54 +01:00
misagh 1cd5abde37 removing unnecessary guard 2019-01-16 11:22:25 +01:00
misagh 12e8108015 checking params of cancel order and stop loss order 2019-01-15 15:36:41 +01:00
misagh f0cfab7940 flaking 8 2019-01-15 11:10:28 +01:00
misagh cfe00c2f0c initial test added for TSL on exchange 2019-01-15 11:04:32 +01:00
Matthias cd2bccd441 Have backtest use the same logic to get the ROI entry 2019-01-12 13:45:43 +01:00
Matthias 9e0902e72f Add test for case for odd ROI dict - #1478 2019-01-12 13:38:49 +01:00
misagh e025ad3918 temp test commit 2019-01-09 16:23:13 +01:00
Matthias 99e2d795c5
Merge pull request #1475 from freqtrade/feat/hyperopt_sell
Feat/hyperopt sell
2019-01-08 21:19:53 +01:00
Matthias f620449bec Add test for hyperoptresolver 2019-01-06 19:38:32 +01:00
Matthias 440a7ec9c2 fix pytest 2019-01-06 19:31:25 +01:00
Gianluca Puglia 13800701ce Fix custom db_url ignored if provided by conf.json 2019-01-06 13:47:36 +01:00
Matthias 2147bd8847 Fix problem when no experimental dict is available 2019-01-06 13:29:14 +01:00
Matthias 5e23442032 Simplify StrategyResolver by code deduplication 2019-01-05 07:20:38 +01:00
Matthias 4599c80e79 Add trailing-stop to strategy 2019-01-05 07:10:25 +01:00
Misagh 26a77e193e
Merge pull request #1454 from freqtrade/feat/interpolate_missing
interpolate missing candles
2019-01-04 22:33:53 +01:00
Misagh 3b5785884f
Merge pull request #1460 from freqtrade/fix/stop_loss_result
Stop loss should also be shown when trailing is active
2019-01-02 16:41:15 +01:00
Misagh dcdd7d7436
Merge pull request #1456 from freqtrade/fix/refresh_pairs_cached
Fix bug on --refresh-pairs-cached
2019-01-02 14:02:11 +01:00
Matthias 516217b6cb Stop loss should also be shown when trailing is active 2019-01-02 13:34:08 +01:00
Matthias 1b84aa82eb dont use 55 for regular check as that's a key in the dict 2019-01-01 16:54:44 +01:00
Matthias da6f1a3945 Sequence of minroi dict must be irrelevant 2019-01-01 16:32:45 +01:00
Matthias a54d8f0e16 Create datadir when not exists 2019-01-01 14:07:40 +01:00
Matthias dd1d3430b9 Add explicit test for ohlcv fillup 2018-12-31 19:40:14 +01:00
Matthias fae875f588 Implement missing_data_fillup to tests and operations 2018-12-31 19:15:49 +01:00
Matthias d409211908 add test to verify data does not contain missing data afterwards 2018-12-31 09:24:04 +01:00
Matthias 03389d961f ADd test for data_interpolate 2018-12-31 09:18:22 +01:00
Matthias 61f8ce5c0e remove unused imports 2018-12-28 10:44:24 +01:00
Matthias 7dc40cdac5 refactor file_load_json to be standalone 2018-12-28 10:25:41 +01:00
Matthias 065b469a10 rename test to avoid naming collision 2018-12-28 10:04:07 +01:00
Matthias c955415cc3 Switch from ujson to rapidjson 2018-12-28 10:01:16 +01:00
Matthias 9af2fca718 Add handling for market orders
fixes #1427 and #1428
2018-12-27 11:19:26 +01:00
Matthias 20cdabbe9c Add test for market order 2018-12-27 09:31:21 +01:00
misagh 7243da3afe tests added for klines copy=True 2018-12-22 19:03:42 +01:00
misagh a13b30b2de removing test 2018-12-21 10:21:31 +01:00
misagh 215ded2e0a returning last candle close price for a pair 2018-12-17 21:30:58 +01:00
Misagh 1dbcab0b09
Merge pull request #1413 from freqtrade/feat/data_helpers
Feat/data helpers
2018-12-17 09:14:10 +01:00
Matthias b3bb98777b
Merge branch 'develop' into time_in_force 2018-12-17 06:37:46 +01:00
Matthias eb7034c7a7 Rename download_backtest_testdata to download_pair_history 2018-12-16 10:33:08 +01:00
Matthias 50938d410a Remove tests for download_pairs 2018-12-16 10:30:13 +01:00
Matthias 8826a1df5f Add missing tests for trim_tickerlist 2018-12-16 10:19:49 +01:00
Matthias 043cefd60a allow reloading single pair 2018-12-16 10:17:11 +01:00
Matthias 8a3c2a0c63 allow only loading 1 pair if necessary
* simplify tests nad remove unnecessary mocking
2018-12-15 20:32:55 +01:00
Matthias 429f846ad1 Switch load_data to kwargs 2018-12-15 20:31:05 +01:00
Matthias d0c9791ca6 Fix tests to support load_data with dataframe 2018-12-15 15:38:40 +01:00
Matthias 34ea214f7c Fix some tests to use dataframe 2018-12-15 14:42:21 +01:00
Matthias 6c02cc5993 Adjust test to pathlib 2018-12-15 14:14:38 +01:00
Matthias a34c2cf64b Add missing test-module __init__.py 2018-12-15 13:40:02 +01:00
Matthias 17a820e5c0 Move tests from test_optimize to test_history 2018-12-14 06:32:49 +01:00
Matthias 92c800d925 Adjust tests to data.history 2018-12-14 06:32:49 +01:00
Matthias 0250a96feb Sort imports 2018-12-14 06:32:49 +01:00
Matthias b38195e9b3 Rename to converter 2018-12-14 06:32:49 +01:00
Matthias 453f62cdfa Adjust imports 2018-12-14 06:32:49 +01:00
Matthias 030ecbfc17 move exchange_helpers to data module 2018-12-14 06:32:49 +01:00
Matthias 5c3dcf3e2b Test for wrong inputs (empty / none-dataframes) in get_signal 2018-12-12 19:35:51 +01:00
Matthias d6ba4f0e81 Fix last 2 tests to use DF as data container 2018-12-12 19:17:09 +01:00
Matthias 7a533de1a8 Use list ticker history for backtesting 2018-12-12 19:17:09 +01:00
Matthias fe3990af3d Adjust some tests to dataframe passing 2018-12-12 19:17:09 +01:00
misagh 8d8b53f4d1 added tests for IOC and FOK 2018-12-12 13:05:55 +01:00
Matthias 81b4940eef Adjust tests to new fiat-convert location 2018-12-11 20:27:54 +01:00
Matthias 0f2c547805 Move fiat-convert to subfolder 2018-12-11 20:26:53 +01:00
Matthias 0ab8ac1c1d Add test to verify downloading history does not modify
_pairs_last_refresh_time
2018-12-11 19:18:28 +01:00
Matthias e2bff9d5cb Remove assigning klines from download method 2018-12-10 20:22:21 +01:00
misagh adcaa8439e test_strategy_override_order_tif added 2018-12-10 19:17:56 +01:00
misagh e6fd7da43f adding test: create order should consider TIF 2018-12-10 19:09:20 +01:00
misagh 866b7aee8e tests fixed 2018-12-09 16:22:21 +01:00
Matthias 3b951c3817 Drop indexes on renamed table
avoid naming conflicts on recreate (indexes are not renamed, and keeping
them on backup tables does not really make sense).

fixes #1396
2018-12-09 09:03:17 +01:00
Matthias 2c27736dfe
Merge pull request #1390 from freqtrade/feat/dynamic_provider
Dynamic Pairlist provider
2018-12-09 08:39:53 +01:00
Matthias aa579bafa4
Merge pull request #1365 from mishaker/edge_position
Fix edge position sizing.
2018-12-06 20:02:31 +01:00
Matthias a63f123b6d Check if number_assets is defined, as it's required by VolumePairList 2018-12-06 19:36:33 +01:00
misagh 0ea7dc9272 test added for total open trade stake amount from schalchemy 2018-12-06 13:51:06 +01:00
Matthias 0c10719037 Specify JsonValidatorversion explicitly
without doing that, it exclusiveMaximum raises an exception
as jsonschema defaults to the latest version (Draft6)
which changes behaviour of this property.

fixes #1233
2018-12-06 06:57:07 +01:00
Matthias 2f0d7a1aea Add specific test 2018-12-05 20:45:11 +01:00
Matthias 6ab907bef1 Rename config whitelist to pairlist 2018-12-04 20:24:45 +01:00
Matthias 4143e2c032 adapt tests to send sell-reason in sell-message 2018-12-04 19:58:43 +01:00
misagh 24f9ea29c6 tests fixed 2018-12-04 17:13:46 +01:00
Matthias bf678164c7 remove default param - fix tests 2018-12-04 07:16:34 +01:00
Matthias 0929f59680 Refactor pairlist-tests 2018-12-03 20:48:51 +01:00
Matthias 18ad3388b4 Some more tests adapted to pairlists 2018-12-03 20:38:15 +01:00
Matthias ef1208b366 Fix rpc messages 2018-12-03 20:31:25 +01:00
Matthias 1b3ecb8343 Deprecate --dynamic-whitelist 2018-12-03 20:00:18 +01:00
Matthias 3360e777a1 Fix flake adn mypy 2018-12-03 19:29:35 +01:00