Commit Graph

15122 Commits

Author SHA1 Message Date
Sam Germain 68a778a983 moved leverage_tiers to a fixture 2022-02-12 23:02:14 -06:00
Sam Germain 42e36f44f8 replaced "leverage" with "tiers" 2022-02-12 23:02:14 -06:00
Sam Germain 6b9915bc73 moved fill_leverage_brackets and get_max_leverage to base exchange class, wrote parse_leverage_tier and load_leverage_brackets 2022-02-12 23:02:14 -06:00
Sam Germain a99cf2eeed redid get_max_leverage 2022-02-12 23:02:07 -06:00
Sam Germain 720a86778e okex.get_max_pair_stake_amount 2022-02-12 23:01:39 -06:00
Sam Germain ff915b241c test_okex test_get_maintenance_ratio_and_amt_okex 2022-02-12 23:01:39 -06:00
Sam Germain a5aba4813d moved get_maintenance_ratio_and_amt to base.exchange. Wrote get_leverage_tiers. Added mmr_key to exchange._ft_has 2022-02-12 23:01:30 -06:00
Matthias ee5f05208e
Merge pull request #6394 from samgermain/todos
todo removal
2022-02-12 15:44:42 +01:00
Matthias fad243e28d
Keep short edge support as regular TODO 2022-02-12 15:43:52 +01:00
Sam Germain ca993c83ea todo removal 2022-02-11 23:37:31 -06:00
Matthias 50e474ded2
Merge pull request #6386 from samgermain/liq-buffer
Added liquidation_buffer to freqtradebot
2022-02-11 20:26:05 +01:00
Sam Germain 19a282ddb4 fixed broken test_get_liquidation_price 2022-02-11 19:38:59 +01:00
Sam Germain 7a79403d2c Update docs/leverage.md
Co-authored-by: Matthias <xmatthias@outlook.com>
2022-02-11 19:38:59 +01:00
Sam Germain 6ae85f9be1 fixed liq-buffer tests 2022-02-11 19:38:59 +01:00
Sam Germain fb3a6e2ce8 added liquidation_buffer to constants.py 2022-02-11 19:38:59 +01:00
Sam Germain 3c3675ea1a moved liquidation_buffer to exchange class, add check for valid liquidation_buffer values 2022-02-11 19:38:59 +01:00
Sam Germain 305d3738d9 Documentation for liquidation_buffer 2022-02-11 19:38:59 +01:00
Sam Germain e5d68f12d2 Added liquidation_buffer to freqtradebot 2022-02-11 19:38:58 +01:00
Matthias f79873307d Run CI on feat/short branch 2022-02-11 19:16:57 +01:00
Matthias 0c6d92a7a6 Merge branch 'develop' into feat/short 2022-02-11 17:02:04 +01:00
Matthias 7237aa7edb
Merge pull request #6385 from samgermain/bin-stop 2022-02-10 19:51:59 +01:00
Matthias 6a59103869 update wallets in backtesting to ensure a fresh wallet is used
closes #6388
2022-02-10 19:40:36 +01:00
Matthias 7c66f2776d
Merge pull request #6384 from samgermain/compat-contract
test_ccxt__get_contract_size
2022-02-10 19:07:04 +01:00
Sam Germain 553da850ce binance futures stoploss 2022-02-10 09:43:32 -06:00
Sam Germain 52fed6e779 test_ccxt__get_contract_size 2022-02-10 06:59:43 -06:00
Matthias be84a028c1 Avoid mixed types in the api for /stats 2022-02-10 07:03:19 +01:00
Matthias af984bdc0d Update comment regarting NaT replacement 2022-02-09 09:32:53 +01:00
Matthias 2e41d80a2c
Merge pull request #6340 from TheJoeSchr/frequi-datetime
freqUI: fix can't import backtest with missing datetime data
2022-02-09 07:21:30 +01:00
Matthias 7252cf47fb Update url to include campaign tracking 2022-02-09 07:20:27 +01:00
Matthias 9f47853661
Merge pull request #6235 from freqtrade/backtest_order_timeout
Backtest order timeout
2022-02-09 07:12:35 +01:00
Matthias 45c03f1440 Docstrings are evaluated, while comments are not 2022-02-09 07:02:44 +01:00
Matthias a6a041526a Update intro message 2022-02-09 06:57:46 +01:00
Matthias 1ba9b70afc Improve index/readme wording 2022-02-09 06:57:46 +01:00
Matthias 6d3803fa22 Add TokenBot promo 2022-02-09 06:57:46 +01:00
Matthias 4e2f06fe9c Simplify band-aid code 2022-02-09 06:48:26 +01:00
Matthias 6191288ff9 Add test for NaT problematic 2022-02-09 06:36:17 +01:00
Matthias 1d10d2c87c Okex -> okx 2022-02-08 19:45:39 +01:00
Matthias 172e018d2d Add probit to list of non-working exchanges
closes #6379
2022-02-08 19:21:27 +01:00
Matthias dcf8ad36f9 Backtesting should not allow unrealistic (automatic-filling) orders. 2022-02-08 19:12:01 +01:00
Joe Schr 926b017981 Fix freqUI charts not displaying when dtype(datetime) column has NaT values
fix dataframe_to_dict() issues by replacing NaT empty string and
prepare for proper `.replace({NaT})` fix
2022-02-08 17:09:37 +01:00
Joe Schr 118ae8a3d0 Fix api_schemas/json_encoders by manually converting NaT values to empty Strings
makes import of datetime columns more robust by first checking
if value is null because strftime can't handle NaT values

use `isnull()` because it handles all NaN/None/NaT cases
2022-02-08 17:09:29 +01:00
Matthias b192c82731 Only call "custom_exit_price" for limit orders 2022-02-08 07:10:54 +01:00
Matthias d2dbe8f8d0 Improve doc wording 2022-02-08 06:47:55 +01:00
Matthias 535bbd681f
Merge pull request #6362 from ediziks/add-profit-drawdown-hypeloss
Add ProfitDrawdownHyperoptLoss method
2022-02-07 19:37:35 +01:00
Matthias 85767d0d70 Add timedout_*_orders to tests 2022-02-07 19:33:22 +01:00
Matthias 036c2888b4 Track timedout entry/exit orders 2022-02-07 18:49:30 +01:00
Matthias 380e383eee Add log_Responses to full config example
#6374
2022-02-07 18:38:28 +01:00
Matthias 3a60709f16
Merge pull request #6368 from freqtrade/dependabot/pip/develop/uvicorn-0.17.4
Bump uvicorn from 0.17.1 to 0.17.4
2022-02-07 18:28:33 +01:00
Matthias ce9de243b7
Merge pull request #6375 from samgermain/todos
deleted outdated todos
2022-02-07 15:24:20 +01:00
zx 4bce64b427 commented method deletition 2022-02-07 14:12:07 +01:00