Commit Graph

2183 Commits

Author SHA1 Message Date
Matthias efc709501a move fiat-convert to rpc - adjust imports 2018-12-11 20:27:30 +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 8c1901ad1e Extract caching logic from lowestlevel fetch_ohlcv function 2018-12-11 07:14:39 +01:00
Matthias 523dea4a04 remove hacky workaround not needed anymore 2018-12-10 20:22:41 +01:00
Matthias e2bff9d5cb Remove assigning klines from download method 2018-12-10 20:22:21 +01:00
Matthias 36de451809 Remove class-level variables 2018-12-10 19:55: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 6018f2d252 order status handled in case of IOC and FOK 2018-12-10 18:52:24 +01:00
misagh 866b7aee8e tests fixed 2018-12-09 16:22:21 +01:00
misagh 663e33d2ef if condition refactored 2018-12-09 16:06:00 +01:00
misagh 20d794e265 mistake in previous commit 2018-12-09 16:04:28 +01:00
misagh 2f5c8941eb removing unnecessary default value 2018-12-09 16:00:04 +01:00
misagh b35199a772 intermediary commit before extracting the logic 2018-12-09 15:59:05 +01:00
misagh 510f78079b conflict with develop resolved 2018-12-09 15:16:38 +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 3e2fa58029 load pairlists via resolver 2018-12-05 20:44:56 +01:00
Matthias 43031aa3bb Add missing path-error handler for hyperopt 2018-12-05 20:44:41 +01:00
Matthias 21906e4892 Remove duplicate code 2018-12-05 19:48:50 +01:00
misagh ee26b6bcff Merge branch 'develop' into time_in_force 2018-12-05 10:57:23 +01:00
misagh d12cc39a5e some visual happyness 2018-12-04 20:59:55 +01:00
misagh 910601ba1d in case exchange doesn’t return order info … 2018-12-04 20:50:35 +01:00
misagh e3876bcf0f removing AON as it is not supported in binance. will be added once TIF
is added for other exchanges
2018-12-04 20:36:44 +01:00
misagh b7aa77acdd conflict resolved 2018-12-04 20:28:07 +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
Matthias 33e9ed5a5e Print sellreason in sell-message 2018-12-04 19:58:26 +01:00
misagh 24f9ea29c6 tests fixed 2018-12-04 17:13:46 +01:00
misagh e7684b446b capital in trade extracted to a separated argument 2018-12-04 17:05:35 +01:00
Matthias bf678164c7 remove default param - fix tests 2018-12-04 07:16:34 +01:00
Matthias ba3218a87d Support multiple sorting variants 2018-12-04 07:12:56 +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
misagh 108d9a1117 function name refactored 2018-12-03 19:55:37 +01:00
misagh 43bafc391f static method added 2018-12-03 19:46:22 +01:00
misagh b5192193fd total amount passed to edge should consider open trades too 2018-12-03 19:45:00 +01:00
Matthias 3360e777a1 Fix flake adn mypy 2018-12-03 19:29:35 +01:00
Matthias 26187ef6c7 patch exchange_has 2018-12-02 22:18:14 +01:00
Matthias d09dbfe2e6 Add volumePairList - refactor tests to correct file 2018-12-02 22:07:09 +01:00
Matthias 58c7adae0a Test for blacklist 2018-12-02 22:07:09 +01:00
Matthias 8fd713f3ae validate_whitelist should return the list again 2018-12-02 22:07:09 +01:00
Matthias 1738633efc Fix refresh_whitelist tests 2018-12-02 22:07:09 +01:00
Matthias e8fbe77ebc Refactor static whitelist to module 2018-12-02 22:07:09 +01:00
Matthias bb828c308f Remove unnecessary test-file 2018-12-02 16:03:34 +01:00
misagh a5414b8437 flake8 2018-12-01 13:02:45 +01:00
misagh 2d17346b0e explaining arbitrary stake amount in comment 2018-12-01 13:01:51 +01:00
misagh 237dc8290f conflict resolved0 2018-12-01 12:00:03 +01:00
misagh bd673178ce constants removed 2018-12-01 11:56:53 +01:00
misagh 33f1cc13b3 fixing tests 2018-12-01 11:56:16 +01:00
misagh 1d41a91788 stake_amount in case it doesn’t exist 2018-12-01 11:48:41 +01:00
misagh 88d277ea55 adding required config for edge 2018-12-01 11:08:18 +01:00
misagh 9c0be99ff7 rounding float at the end 2018-12-01 11:00:33 +01:00
misagh 86d9457ea1 removing unnecessary variable before returning the result 2018-12-01 10:58:05 +01:00
misagh 9c987fdedd variable name changed (_final_pairs) 2018-12-01 10:56:33 +01:00
misagh b1c81acfcb another futile one 2018-12-01 10:53:21 +01:00
misagh 042e631f87 rollback on futile change 2018-12-01 10:52:36 +01:00
misagh bf990ec599 test fixed and flake 2018-12-01 10:50:41 +01:00
misagh f100432fe8 conflict resolved0 2018-12-01 10:43:26 +01:00
Misagh 24f573f3b0 log "Found no sell signal for whitelisted ..." changed (#1378)
* sell log enriched and put modify on debug
2018-12-01 10:01:11 +01:00
Matthias e31963f6e1
Merge pull request #1341 from mishaker/stoploss_on_exchange
Stoploss on exchange
2018-12-01 09:46:37 +01:00
Matthias d4f83a7516 Fix missing mock in test_add_stoploss_on_exchange 2018-11-30 20:15:56 +01:00
Matthias f04655c012 Test exceptions in sell-stoploss 2018-11-30 20:13:50 +01:00
Matthias 3ac2106a16
Merge pull request #1290 from freqtrade/fix/backtest_toomanyopen
fix backtesting not respecting max_open_trades
2018-11-30 19:17:09 +01:00
Matthias 8effcc2de5
Merge pull request #1374 from freqtrade/refactor_startupmessges
refactor startup_messages to rpc_manger
2018-11-30 19:15:00 +01:00
misagh 7e86ec31be tests added for wallet additional functions 2018-11-30 18:23:16 +01:00
misagh aadc9f052a conf schema 2018-11-30 18:10:22 +01:00
misagh 12471e012e added tests for position sizing 2018-11-30 17:59:51 +01:00
misagh abd88767f8 Merge branch 'develop' into edge_position 2018-11-30 17:50:06 +01:00
misagh 7767470af8 return stake amount of strategy if edge doesn’t have any 2018-11-30 17:50:03 +01:00
misagh 9d005678c3 Merge branch 'develop' into stoploss_on_exchange 2018-11-30 15:13:43 +01:00
misagh f554647efd “checking sell” message removed to debug 2018-11-30 14:14:31 +01:00
misagh 8ff82e3dac Merge branch 'develop' into fix_dry_run_stop_price 2018-11-30 10:37:58 +01:00
Matthias efcec736b5 refactor startup_messages to rpc_manger
this cleans up freqtradebot slightly
2018-11-29 20:02:12 +01:00
Matthias 49e44d5481
Merge pull request #1373 from mishaker/fix_edge_stoploss
Should fallback to strategy stoploss if Edge cannot provide.
2018-11-29 19:09:25 +01:00
misagh 74ca34f2de flaking8 2018-11-29 18:45:37 +01:00
misagh 3d37c5d767 edge non existing stoploss fixed. solves #1370 2018-11-29 18:31:08 +01:00
misagh 6bedcc5d79 log enriched for time in force 2018-11-29 13:22:41 +01:00
misagh a61daed8e9 logs enriched 2018-11-29 12:24:04 +01:00
Matthias 38592c6fa6 Add binance config sample, improve invalid pair message 2018-11-29 07:07:47 +01:00
misagh e698590bb2 avoid generating logs on each iteration 2018-11-28 20:04:56 +01:00
misagh 1a5465fb50 logs enriched in case of stop loss on exchange, test fixed 2018-11-28 19:35:10 +01:00
misagh c913fef80c stop loss limit when hit, the close price is “average” 2018-11-28 15:45:11 +01:00
misagh e9305b6592 position size fixed 2018-11-28 15:36:32 +01:00
misagh fb755880fa logs added in case stop loss on exchange is hit 2018-11-28 14:16:50 +01:00
misagh da94e97c60 in case trade is not open, then handle_stoploss_on_exchange should not
be called
2018-11-28 13:58:53 +01:00
misagh 4ffc74d5fa if buy order is rejected or expired the bot should exit the buy loop 2018-11-27 19:05:59 +01:00
misagh 29f680ec5d fix order type test 2018-11-27 17:26:06 +01:00
misagh 7dbf0fed68 stop loss limit order type corrected 2018-11-27 17:09:51 +01:00
misagh 159ac6e657 edge tests fixed for position sizing 2018-11-27 14:02:34 +01:00
misagh f5a70750f0 edge real position sizing drafted 2018-11-26 21:06:32 +01:00
misagh 6351fe7a7f test added: stoploss_order_id should be null after migration 2018-11-26 20:24:13 +01:00