Commit Graph

15328 Commits

Author SHA1 Message Date
Sam Germain 6dbd249570 backtesting._enter_trade get liquidation_price and backtesting._leverage_prep 2022-02-26 13:55:01 -06:00
Matthias 92ad353169 Fix OKX exception 2022-02-26 20:13:24 +01:00
Matthias 12a1e27708
Merge pull request #6456 from samgermain/lev-tier-update
Lev tier update
2022-02-26 19:55:30 +01:00
Matthias e9f3f3d859 Fix random test failure (2nd try) 2022-02-26 17:08:35 +01:00
Sam Germain 7dab70f1a5 test_ccxt_compat - ftx["futures"] = false 2022-02-26 09:45:15 -06:00
Sam Germain 64172bc98d removed TODOs in test_CCXT_compat 2022-02-26 09:27:38 -06:00
Sam Germain fbcd260bf6 flake8 import issues 2022-02-26 09:05:51 -06:00
Sam Germain af77358d6a updated test_load_leverage_tiers_okx 2022-02-26 09:05:51 -06:00
Sam Germain b71fb1fdec upgrade CCXT to 1.74.22 2022-02-26 09:05:51 -06:00
Sam Germain f5ea7827e0 removed gateio.get_max_leverage and gateio.get_maint_ratio_and_amt 2022-02-26 09:05:51 -06:00
Sam Germain 6cd01c45d5 exchange.get_leverage_tiers and exchange.get_market_leverage_tiers 2022-02-26 09:05:51 -06:00
Sam Germain c7e87e86e2 added exception handlers to fetch_market_leverage_tiers 2022-02-26 09:05:51 -06:00
Sam Germain 421aa31c92 upgrade CCXT to 1.74.9 2022-02-26 09:05:51 -06:00
Sam Germain b61cfada6d moved okex.load_leverage_tiers to new method 2022-02-26 09:05:51 -06:00
Matthias 79ddc9abaa
Merge pull request #6423 from samgermain/wallet-amt
Futures wallet amount
2022-02-26 15:55:28 +01:00
Matthias e25929f50a Update test to not fail randomly 2022-02-26 15:53:01 +01:00
Matthias 75868a851b Attempt Fix random test failure 2022-02-26 15:20:56 +01:00
Matthias 551fe7d820
Merge pull request #6440 from clover-es/feat/short
Add leverage strategy to new-strategy command
2022-02-25 15:18:46 +01:00
Matthias 1c26ff4c4c Add dry run test 2022-02-24 20:05:56 +01:00
Matthias 9d55621f42 Test fetch_position exchange method 2022-02-24 20:05:56 +01:00
Matthias 9901decf0d Rename get_positions to fetch_positions to align with ccxt naming 2022-02-24 20:05:56 +01:00
Matthias 62c42a73e2 Add initial rpc test 2022-02-24 20:05:56 +01:00
Matthias d07a24a54f Update tests for new wallet RPC structure 2022-02-24 20:05:56 +01:00
Matthias 13e74c5693 Add dry-run position wallet calculation 2022-02-24 20:05:56 +01:00
Matthias 6562511137 add trade_direction to trade object 2022-02-24 20:05:56 +01:00
Matthias a2b17882e6 Don't use separate position field in /currency endpoint 2022-02-24 20:05:56 +01:00
Matthias 4b27bd9838 don't fetch free balance if we don't use it 2022-02-24 20:05:56 +01:00
Matthias e54e6a7295 Update wallets to also keep Positions 2022-02-24 20:05:56 +01:00
Matthias ed65692257 add get_position exchange wrapper 2022-02-24 20:05:56 +01:00
Sam Germain 9f4f65e457 exchange.get_balances minor fix 2022-02-24 20:05:56 +01:00
Sam Germain f336e7fc5b exchange.get_balances futures shorts taken out 2022-02-24 20:05:56 +01:00
Sam Germain f67e0bd6dd wallet amount for futures 2022-02-24 20:05:56 +01:00
Matthias fd936e26ae Merge branch 'develop' into feat/short 2022-02-24 19:56:42 +01:00
Matthias 42df65d4ec Make sure backtesting is cleaned up in tests 2022-02-24 14:22:49 +00:00
Matthias d973ba1f5d Add leverage callback to advanced template 2022-02-23 20:19:52 +01:00
Matthias c51603b110 Slightly improve formatting, Point to documentation 2022-02-23 20:16:52 +01:00
Matthias 53452c8d64
Merge pull request #6437 from freqtrade/update_trade
Migrate trade updating to use order model
2022-02-23 19:56:02 +01:00
Matthias 731eb99713 Update mock-trade creation to rollback first 2022-02-23 19:18:04 +01:00
Matthias 14b69405a2 Init persistence should be the innermost fixture 2022-02-23 10:43:04 +01:00
Matthias ec34189f1b Attempt to fix random ci error 2022-02-23 08:47:20 +01:00
Matthias afd2be06d8
Merge pull request #6447 from freqtrade/dependabot/pip/develop/uvicorn-0.17.5
Bump uvicorn from 0.17.4 to 0.17.5
2022-02-23 07:51:33 +01:00
Matthias 8952829adc Merge branch 'develop' into feat/short 2022-02-23 06:28:15 +01:00
Matthias 5a4f30d1bd Don't specially handle empty results. 2022-02-22 20:07:41 +01:00
Matthias 1f9ed0beff Add test for wal mode 2022-02-22 19:39:55 +01:00
Guillermo Rodríguez 8e3839c74c
Merge branch 'freqtrade:feat/short' into feat/short 2022-02-22 19:34:59 +01:00
Guillermo Rodríguez 95b63ea496 Add short signal to base strategy template 2022-02-22 19:33:52 +01:00
Matthias 02ce0dc02e Set journal mode to wal for sqlite databases
closes #6353
2022-02-22 19:31:58 +01:00
Matthias 70f4305dfa don't allow short trades in spot mode 2022-02-21 19:19:12 +01:00
Matthias a2960d8505
Merge pull request #6448 from freqtrade/dependabot/pip/develop/mkdocs-material-8.2.1
Bump mkdocs-material from 8.1.11 to 8.2.1
2022-02-21 08:10:25 +01:00
Matthias 2b16606dbc
Merge pull request #6443 from freqtrade/dependabot/pip/develop/python-rapidjson-1.6
Bump python-rapidjson from 1.5 to 1.6
2022-02-21 07:26:28 +01:00