Commit Graph
100 Commits
Author SHA1 Message Date
gcarq 61da7f63b2 Merge branch 'develop' of freqtrade into feature/reload-conf 2018-06-09 04:30:23 +02:00
gcarq 0b5d21f32a implement bot reconfiguration and expose it to telegram 2018-06-09 04:29:48 +02:00
gcarq 74db82d759 main: don't touch freqbot state in cleanup()
cleanup() should be only called after the main loop has been exited.
At that point the state shouldn't be modified.
2018-06-09 01:19:42 +02:00
gcarq 5851cc70a7 Merge branch 'develop' of freqtrade into fix/636 2018-06-09 00:37:46 +02:00
gcarq 10e12ec1b9 fix flake8 warning 2018-06-08 02:37:12 +02:00
gcarq 61b2373dd1 flush db connection after forcesell 2018-06-08 02:35:10 +02:00
gcarq 7f881cce85 add additional None check for trade.open_order_id 2018-06-08 02:34:44 +02:00
gcarq bea9a3304e use correct return code on error 2018-06-08 02:01:46 +02:00
gcarq 95d6c9c678 adapt tests 2018-06-08 02:01:38 +02:00
gcarq a2a1a517da fix flake8 warning 2018-06-08 02:01:18 +02:00
gcarq 27f83b511f raise OperationalException if config is missing 2018-06-08 02:00:42 +02:00
gcarq dd3a53fb5f fix tests for main.py 2018-06-07 22:28:21 +02:00
gcarq d41f71bc34 handle sqlalchemy NoSuchModuleError 2018-06-07 21:35:57 +02:00
gcarq 3f5efef6e5 tests: add proper asserts 2018-06-07 20:41:52 +02:00
gcarq d4f8704a4c arguments: implement tests for db_url 2018-06-07 20:30:13 +02:00
gcarq 526cb1ea20 fix db-url handling if passed via CLI args 2018-06-07 20:15:31 +02:00
gcarq ac602ed5a9 persistence: adapt checks to detect in-memory db 2018-06-07 19:10:26 +02:00
gcarq 01675f50bf adapt scripts/plot_dataframe to use freqtrade db_url 2018-06-07 18:06:27 +02:00
gcarq 17742df591 Merge branch 'develop' of freqtrade into feature/overhaul-db-handling 2018-06-07 17:33:37 +02:00
gcarq 5b1ff6675f define constants.DEFAULT_DB_DRYRUN_URL and fix StaticPool conditions 2018-06-07 17:29:43 +02:00
gcarq c3d0980763 test_persistence: fix reference before assignment 2018-06-07 06:06:21 +02:00
gcarq 4ee5271de7 fix failing dynamic-whitelist test 2018-06-07 05:50:07 +02:00
gcarq f6ef466876 adapt docs 2018-06-07 05:47:14 +02:00
gcarq 00b646158c update docs 2018-06-07 05:36:39 +02:00
gcarq c8a43bad67 add db_url to full example config 2018-06-07 05:28:05 +02:00
gcarq a29ac44d64 adapt tests 2018-06-07 05:27:55 +02:00
gcarq e2aa78c11b remove obsolete param 2018-06-07 05:27:27 +02:00
gcarq 58a6f21705 remove dry_run_db and replace it with db_url in config 2018-06-07 05:26:39 +02:00
gcarq 8583e89550 persistence: simplify init and pass db_url via config dict 2018-06-07 05:25:53 +02:00
gcarq 02671a7e10 pin networkx with pyup ignore filter 2018-06-07 01:12:46 +02:00
gcarq 43fd9b37df fix 'max_open_trades must be greater than 0' regression 2018-05-03 10:48:25 +02:00
gcarq a5c1547251 user_data: change ticker_interval to new format 2018-05-02 22:56:29 +02:00
gcarq 306885e174 Merge branch 'develop' into feat/objectify-ccxt 2018-05-02 22:49:55 +02:00
gcarq a76ed88496 Merge branch 'feat/objectify-ccxt' into feature/catch-exchange-errors 2018-05-02 20:03:13 +02:00
gcarq 9b0fbbdc14 cancel_order: pass all positional arguments 2018-04-23 16:58:52 +02:00
gcarq aa213a3640 cancel_order: handle InvalidOrder exception 2018-04-23 16:58:32 +02:00
gcarq baeeaa777d get_balance: handle case if currency is not in response 2018-04-23 16:57:18 +02:00
gcarq 20af4bae7c retrier: raise initial exception instead of OperationalException 2018-04-23 16:56:35 +02:00
gcarq 5baab91bb5 catch TemporaryError for buy/sell in _process() 2018-04-22 20:28:39 +02:00
gcarq 4c49229b77 catch DependencyExceptions while selling 2018-04-22 20:27:34 +02:00
gcarq bc2bd7fe1e add retrier decorator to all exchange functions except buy/sell 2018-04-22 17:28:49 +02:00
gcarq c43ceb2045 add config*.json to .gitignore 2018-04-22 00:35:04 +02:00
gcarq 9ab4953472 fix backtesting testsuite 2018-04-22 00:21:03 +02:00
gcarq bbe3bc4423 catch ccxt.ExchangeError and retry 2018-04-22 00:20:15 +02:00
gcarq f4077a51c1 log hyperopt progress to stdout instead to the logger 2018-04-21 20:52:01 +02:00
gcarq 403f59ef45 use native python logger 2018-04-21 20:47:06 +02:00
gcarq 09fb4ea584 add mocks for exchange.get_fee 2018-04-21 19:39:18 +02:00
gcarq 3997b6038d let cctx handle rate limits 2018-04-21 19:11:29 +02:00
gcarq 1332ab397f fix reference before assignment 2018-04-21 10:19:12 +03:00
gcarq 24aa6a1679 adapt test_download_backtesting_testdata 2018-03-29 20:17:11 +02:00
gcarq 3775fdf9c7 change column order assertions 2018-03-29 20:16:46 +02:00
gcarq fee8d0a2e1 refactor get_timeframe 2018-03-29 20:16:25 +02:00
gcarq 702402e1fe simplify download_backtesting_testdata 2018-03-29 20:15:32 +02:00
gcarq 4f2d3dbb41 parse_ticker_dataframe: use as_index=False to keep date column 2018-03-29 20:14:43 +02:00
gcarq 02aacdd0c8 parse_ticker_dataframe: group dataframe by date 2018-03-29 17:12:49 +02:00
gcarq 004e0bb9a3 bot-usage.md: add strategy-path 2018-03-27 18:46:42 +02:00
gcarq 06276e1d24 bot-optimization.md: add strategy-path 2018-03-27 18:39:49 +02:00
gcarq ba5cbcbb3f configuration.md: add strategy and strategy_path 2018-03-27 18:38:43 +02:00
gcarq 872bbadded add test_load_custom_strategy() 2018-03-27 18:29:51 +02:00
gcarq 6a12591248 change strategy override condition 2018-03-27 18:20:15 +02:00
gcarq e7399b5046 add strategy and strategy_path to config_full.json.example 2018-03-27 18:16:21 +02:00
gcarq df57c32076 only override strategy if other than DEFAULT 2018-03-27 18:15:49 +02:00
gcarq f78044da6d fix method docs 2018-03-27 16:32:58 +02:00
gcarq 157f7da8ce remove obsolete assertions 2018-03-27 16:32:58 +02:00
gcarq a356edb117 implement '--strategy-path' argument 2018-03-27 16:32:58 +02:00
gcarq 5fb6fa38aa apply __slots__ to resolver and reintroduce type conversations 2018-03-27 16:32:58 +02:00
gcarq 99e890bc99 simplify resolver constructor 2018-03-27 16:32:58 +02:00
gcarq 280886104c strategy: remove unneeded population methods in resolver 2018-03-27 16:32:58 +02:00
gcarq b254ff9b41 Merge 'develop' into feature/enhance-strategy-resolving 2018-03-26 16:23:25 +02:00
gcarq 611bb52d1f log hyperopt progress to stdout instead to the logger 2018-03-25 22:57:40 +02:00
gcarq f374a062e1 remove freqtrade/logger.py 2018-03-25 21:43:00 +02:00
gcarq fa7f74b4bc use native python logger 2018-03-25 21:43:00 +02:00
gcarq 3f8d7dae39 make name a required argument and add fallback to getEffectiveLevel 2018-03-25 21:42:03 +02:00
gcarq 7edbae893d docs: fix typos 2018-03-25 16:42:20 +02:00
gcarq 7fe0ec5407 adapt docs/bot-usage to reflect changes 2018-03-25 16:39:31 +02:00
gcarq 6b47c39103 remove invalid mock 2018-03-25 15:12:39 +02:00
gcarq bd2a6467fe adapt argument description and metavar 2018-03-25 15:12:39 +02:00
gcarq 4fac61387f adapt docs/bot-optimization 2018-03-25 15:12:39 +02:00
gcarq 3cee94226f fix flake8 warnings 2018-03-25 15:12:39 +02:00
gcarq a38c2121cc adapt tests 2018-03-25 15:12:39 +02:00
gcarq b4d2a3f495 refactor StrategyResolver to work with class names 2018-03-25 15:12:39 +02:00
gcarq 6e5c14a95b fix mutable default argument 2018-03-25 15:12:39 +02:00
gcarq ca9c5edd39 rename Strategy into StrategyResolver 2018-03-25 15:12:39 +02:00
gcarq 3f4261ad1e use correct return_code if an error occured 2018-03-24 20:56:27 +01:00
gcarq 4c97ee45dd return None if subcommand has been executed 2018-03-24 20:55:10 +01:00
gcarq 9d443b8bd8 fix reference before assignment 2018-03-24 20:54:46 +01:00
gcarq b8f322d8f6 revert worker() changes 2018-03-21 19:27:30 +01:00
gcarq 9df5e09a82 remove function assertions 2018-03-21 18:50:18 +01:00
gcarq 9559f50eec remove obsolete helper functions and make _state a public member. 2018-03-21 18:50:18 +01:00
gcarq 3553686e50 plot_dataframe: set missing typehints 2018-03-20 19:50:04 +01:00
gcarq bc554faffb plot_profit: add missing typehints and fix mutable argument issue 2018-03-20 19:50:04 +01:00
gcarq a5c62b5c10 rpc/rpc.py: fix indentation 2018-03-20 19:50:04 +01:00
gcarq f6df7df9bf modify args typehints 2018-03-20 19:50:04 +01:00
gcarq 33ddc540cf don't shadow built-in name tuple 2018-03-20 19:50:04 +01:00
gcarq 7078bc00bd rpc: apply correct typehints; remove redundant parentheses 2018-03-20 19:50:04 +01:00
gcarq d2aea7bdc1 optimize imports 2018-03-20 19:50:04 +01:00
gcarq d8689e5045 set correct typehint; remove unused argument 2018-03-20 19:48:03 +01:00
gcarq 5327533188 optimize: set correct typehints 2018-03-20 19:48:03 +01:00
gcarq 5532cedcdd get_signal: remove redundant parentheses 2018-03-20 19:48:03 +01:00
gcarq ed71340a90 arguments: apply missing typehints 2018-03-20 19:48:03 +01:00