Commit Graph
100 Commits
Author SHA1 Message Date
misagh 3e29fbb17a stoploss on exchange added as a parameter to order_types 2018-11-25 17:22:56 +01:00
misagh e4744c1ba4 stop loss on exchanged removed from doc 2018-11-25 11:31:30 +01:00
misagh dcae3a2644 test of check_consistency added 2018-11-25 11:29:04 +01:00
misagh 664b96173e removing NotImplementedError from stoploss_limit 2018-11-25 10:54:36 +01:00
misagh 266bd7b9b6 error message improved 2018-11-24 21:42:15 +01:00
misagh 519b1f00e2 adding strategy config consistency function 2018-11-24 20:12:50 +01:00
misagh c8a0956e1b fixed test handle_stoploss_on_exchange 2018-11-24 19:12:00 +01:00
misagh b5192880df [WIP] adding tests for handle_stoploss_on_exchange. 2018-11-24 19:00:59 +01:00
misagh fe8927136c typo 2018-11-24 18:36:07 +01:00
misagh b2c0b20a58 added real tests for stop on exchange in dry-run 2018-11-24 18:26:04 +01:00
misagh 000711b025 added stoploss_limit_order for dry-run 2018-11-24 18:08:11 +01:00
misagh 870631f324 1) comments added to handle_sl 2) dry-run force price removed 2018-11-24 17:32:25 +01:00
misagh 531d9ecd0c docstring added 2018-11-24 17:10:51 +01:00
misagh afd0a054b2 typo corrected 2018-11-24 17:08:12 +01:00
misagh a9ec5c6699 simplifying if conditions 2018-11-24 17:07:35 +01:00
misagh 1a8e9ebc0f stoploss_order_id added to migration script 2018-11-24 16:53:10 +01:00
misagh dedf1ff703 refactoring 2018-11-23 20:51:23 +01:00
misagh 89eb3d9f36 blank line removed 2018-11-23 20:49:00 +01:00
misagh 1c2c19b12c the complex in the life of flake8 resolved 2018-11-23 20:47:17 +01:00
misagh 9144a8f79d tests fixed 2018-11-23 20:28:01 +01:00
misagh 5ee2faa182 adding stop loss on exchange after the buy order is fulfilled not
before.
2018-11-23 19:17:36 +01:00
misagh fea77824d0 handle stop loss on exchange added 2018-11-23 15:17:36 +01:00
misagh 1dde56790c final broken test fixed 2018-11-22 21:12:49 +01:00
misagh 6f0025c6de documentation written 2018-11-22 21:07:33 +01:00
misagh 7faafea8a2 added test for cancelling stop loss before sell 2018-11-22 21:01:39 +01:00
misagh 07ac902451 test exchange added 2018-11-22 20:30:31 +01:00
misagh ecb2c4dca3 bloody flake8 2018-11-22 19:38:20 +01:00
misagh cc1422d448 flake8 2018-11-22 19:27:32 +01:00
misagh 3418592908 freqtradebot test added for orders on exchange 2018-11-22 19:25:26 +01:00
misagh 24df093a85 test: only implemented for binance 2018-11-22 17:41:01 +01:00
misagh 2461d86c8d dry run should consider stop loss is hit on limit price 2018-11-22 17:24:45 +01:00
misagh 3a1c378325 typing bugs 2018-11-22 17:14:22 +01:00
misagh bbe8e4e494 flake8 2018-11-22 17:07:37 +01:00
misagh da5617624c cancelling stop loss order before selling 2018-11-22 17:02:02 +01:00
misagh fad7593935 doesn’t have to create another Trade for SL. can be cumulated into the
same.
2018-11-22 16:53:50 +01:00
misagh bb37b56dea adding stop loss order id to Trade 2018-11-22 16:47:52 +01:00
misagh 3b7e05e07b stop loss order added right after a buy order is executued 2018-11-22 16:26:24 +01:00
misagh bfbdddff26 stoploss limit order added to exchange 2018-11-22 16:24:40 +01:00
misagh 238dd6413c Merge branch 'develop' into stoploss_on_exchange 2018-11-22 09:39:01 +01:00
misagh eb53281434 python beginner problem resolved 2018-11-22 00:04:20 +01:00
misagh 4b86b2b7e3 Happy flake8 ! 2018-11-21 23:36:48 +01:00
misagh 3a2134db24 removed Optional 2018-11-21 23:35:44 +01:00
misagh 4d75e9059c None ripped off for optional as wallet must have exchange and currency 2018-11-21 21:05:20 +01:00
misagh b129750f4d adding “optional” in str 2018-11-21 19:58:28 +01:00
misagh 88f61581d9 1) NamedTuple refactored 2) Missing data handled 2018-11-21 19:47:51 +01:00
misagh cb3cf960d7 tests added in case of missing data 2018-11-21 19:47:28 +01:00
misagh aeb372c2f0 test wallet when api return changes 2018-11-21 17:54:14 +01:00
misagh 5b68940213 update wallet in casse order remaining is zero 2018-11-21 17:48:53 +01:00
misagh 68f81aa2af test wallets moved to tests folder 2018-11-21 17:27:45 +01:00
misagh c1673aaba3 Merge branch 'develop' into fix_twice_refresh_ticker_call 2018-11-21 14:01:08 +01:00
misagh 64129897f9 refresh_ticker should be called just once per iteration. 2018-11-21 14:00:15 +01:00
misagh b50250139e Drafting stoploss on exchange 2018-11-19 20:02:26 +01:00
misagh 003480ad90 flake indentation 2018-11-19 13:01:17 +01:00
misagh b680681b34 updating wallet at handle timeout functions too 2018-11-19 11:16:07 +01:00
misagh c033378048 change dict type to Any 2018-11-18 14:57:03 +01:00
misagh 9c549f4513 removing unnecessary private function 2018-11-18 14:39:31 +01:00
misagh 608ce98e1a moving wallets to root 2018-11-18 14:38:31 +01:00
misagh a92619f18c Added empty lines related to last commit removed 2018-11-18 14:34:31 +01:00
misagh 7cb8b28f58 wallet sync added 2018-11-17 23:03:07 +01:00
misagh 606e41d574 wallet tests added 2018-11-17 22:58:27 +01:00
misagh f4bb203782 removing persistence update 2018-11-17 21:59:21 +01:00
misagh d5b47abe98 Wallet table removed 2018-11-17 21:31:06 +01:00
misagh a0658bb504 comments added 2018-11-17 21:27:42 +01:00
misagh 12f07ee126 space removed 2018-11-17 21:26:41 +01:00
misagh b815c8fe2d updating wallets whenever a trade happens 2018-11-17 21:22:54 +01:00
misagh afe52efc8a removing wallet from freq 2018-11-17 21:17:39 +01:00
misagh 82cb0e4d95 putting wallets into a class (doesn’t need to be in persistence) 2018-11-17 21:16:32 +01:00
misagh 69dd56b237 wallet sync drafted 2018-11-17 18:47:13 +01:00
misagh db8c8ea4a4 added a space in help 2018-11-15 20:02:07 +01:00
misagh d05c671a7e adding edge args to bot-usage 2018-11-15 19:54:17 +01:00
misagh 69619030f3 removing unnecessary args from config 2018-11-15 10:50:40 +01:00
misagh 03e6caa501 adding notice about Edge ignoring ROI and TSL in doc 2018-11-15 10:46:36 +01:00
misagh 1cfd19aee3 removing unnecessary args for edge 2018-11-15 10:44:33 +01:00
misagh f666d1596b renaming edge to edge_cli for command line version 2018-11-15 10:31:56 +01:00
misagh bb9a1e5f9f edge cli tests added 2018-11-14 19:14:34 +01:00
misagh 9698eee934 documentation added 2018-11-14 17:14:44 +01:00
misagh ca22a116ad timerange added to args 2018-11-14 17:14:37 +01:00
misagh 5d73b303fe unnecessary libraries removed + arg help enriched 2018-11-14 16:49:16 +01:00
misagh 0767718a17 clear help added to stop losses arg 2018-11-14 16:38:55 +01:00
misagh dd47d7adb4 cli blank line added to readability 2018-11-14 16:37:26 +01:00
misagh b0e4aa8eff stop loss range added to args 2018-11-14 16:31:23 +01:00
misagh 36030176bb nb_trades and avg_trade_duration added to cli 2018-11-14 13:38:23 +01:00
misagh ac0c931492 adding number of trades + average trade duration to edge info 2018-11-14 13:38:04 +01:00
misagh 5de3f1d9dd showing result in tabular 2018-11-14 13:25:44 +01:00
misagh 95cbbf1cb5 adding edge configuration to cli 2018-11-14 12:53:20 +01:00
misagh cf974168e9 Edge cli drafted 2018-11-14 12:37:15 +01:00
misagh 51dfd2bf47 If max_open_trade=-1 means it should be ignored. 2018-11-14 11:37:53 +01:00
misagh 94f56af77d Merge branch 'develop' into money_mgt 2018-11-10 18:45:27 +01:00
misagh 9bbaeb4e6f mypy expression 2018-11-10 18:39:49 +01:00
misagh aacc1d5004 removing total capital in favour of stake amount 2018-11-10 18:28:05 +01:00
misagh d613553306 base position on stake amount instead of total capital 2018-11-10 18:22:34 +01:00
misagh 7dd74c374a flake happiness provided 2018-11-10 18:09:32 +01:00
misagh 97fd33d752 adding test for process 2018-11-10 18:03:46 +01:00
misagh 523a9a603c fix tests 2018-11-10 17:20:11 +01:00
misagh 4dcd15da1d improving documentation for positioning 2018-11-09 20:59:28 +01:00
misagh 617a58402f putting edge adjust function in _process not in create_trade 2018-11-09 20:52:03 +01:00
misagh 12e735e831 1) extracting edge_conf to a fixture
2) test cased adjusted to Backtesting
3) Formatted backtesting_details a bit
2018-11-09 20:51:15 +01:00
misagh aefc20738a adding dot to the end of the phrase. 2018-11-08 14:18:07 +01:00
misagh a7dc8f5f4f adding edge configuration to configuration.md and removed whitespaces 2018-11-08 14:16:46 +01:00
misagh 5d850825f5 adding a notice about the incompatibility of Edge with Dynamic whitelist 2018-11-08 14:10:52 +01:00