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
|
70f4305dfa
|
don't allow short trades in spot mode
|
2022-02-21 19:19:12 +01:00 |
|
Sam Germain
|
124532a4b7
|
maintenanceMarginRatio -> maintenanceMarginRate
|
2022-02-16 09:04:43 -06:00 |
|
Sam Germain
|
88a8ff2f4e
|
Merge branch 'feat/short' into leverage-tiers
|
2022-02-16 08:05:51 -06:00 |
|
Matthias
|
de26844578
|
Merge pull request #6397 from samgermain/todos
edited todo-lev comments
|
2022-02-16 13:36:17 +01:00 |
|
Matthias
|
1bae18c60a
|
Update decorator locations
|
2022-02-15 07:11:07 +01:00 |
|
Matthias
|
324fdcedb1
|
Attempt test fix
|
2022-02-15 06:59:10 +01:00 |
|
Sam Germain
|
f4a57b71e7
|
Filled in test_load_leverage_tiers_okx
|
2022-02-14 16:53:29 -06:00 |
|
Sam Germain
|
19783e0d39
|
edited todos
|
2022-02-14 09:02:55 -06:00 |
|
Matthias
|
2523c12c71
|
Small enhancements and notes
|
2022-02-13 14:33:37 +01:00 |
|
Matthias
|
eaf13f96f7
|
Use exchange_has to check for ccxt properties
|
2022-02-13 12:48:28 +01:00 |
|
Sam Germain
|
8fe3f0c933
|
fix breaking tests
|
2022-02-12 23:08:42 -06:00 |
|
Sam Germain
|
7a0f7da128
|
okex loads all leverage tiers at beginning, removed get tiers for pair
|
2022-02-12 23:02:16 -06:00 |
|
Sam Germain
|
8657e99c26
|
trimmed down get_maintenance_ratio_and_amt, now requires fetchLeverageTiers
|
2022-02-12 23:02:16 -06:00 |
|
Sam Germain
|
03b3756e4b
|
strengthened and fixed leverage_tier tests
|
2022-02-12 23:02:16 -06:00 |
|
Sam Germain
|
4a1ed01708
|
get_maintenance_ratio_and_amt tests
|
2022-02-12 23:02:16 -06:00 |
|
Sam Germain
|
60a45ff394
|
exchange.get_max_leverage de-complex
|
2022-02-12 23:02:16 -06:00 |
|
Sam Germain
|
41ab20d949
|
get_max_leverage checks if the number of tiers is < 1
|
2022-02-12 23:02:15 -06:00 |
|
Sam Germain
|
fa2c9fc51f
|
replaced mmr_key with unified maintenanceMarginRate
|
2022-02-12 23:02:15 -06:00 |
|
Sam Germain
|
e987e0e2a9
|
exchange minor fixes
|
2022-02-12 23:02:15 -06:00 |
|
Sam Germain
|
f3cb7e90e0
|
moved get_leverage_tiers_for_pair to be with other leverage_tier methods
|
2022-02-12 23:02:15 -06:00 |
|
Sam Germain
|
5f07546b86
|
moved leverage_tier caching to get_leverage_tiers_for_pair
|
2022-02-12 23:02:15 -06:00 |
|
Sam Germain
|
eb72e5cc42
|
Added some exchange leverage tier tests
|
2022-02-12 23:02:15 -06:00 |
|
Sam Germain
|
18b4d0be95
|
fixed error with exchange.fill_leverage_tiers
|
2022-02-12 23:02:14 -06:00 |
|
Sam Germain
|
41d8330fbc
|
freqtrade.exchange edited load_leverage_tiers
|
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
|
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 |
|
Sam Germain
|
fc2d3649a1
|
edited todos
|
2022-02-12 16:23:14 -06: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 |
|
Matthias
|
0c6d92a7a6
|
Merge branch 'develop' into feat/short
|
2022-02-11 17:02:04 +01:00 |
|
Matthias
|
1d10d2c87c
|
Okex -> okx
|
2022-02-08 19:45:39 +01:00 |
|
Sam Germain
|
33b04b1992
|
deleted outdated todos
|
2022-02-07 02:47:18 -06:00 |
|
Sam Germain
|
8b57827676
|
exchange.get_max_pair_stake_amount hard set leverage to 0
|
2022-02-04 14:26:15 -06:00 |
|
Sam Germain
|
dc6cb445fd
|
Merge branch 'feat/short' into max-amount
|
2022-02-04 04:42:38 -06:00 |
|
Sam Germain
|
a50f4d2c57
|
Exchange.createOrder added * as second param
|
2022-02-03 20:33:16 -06:00 |
|
Sam Germain
|
8c680d75b9
|
moved max_stake_amount check for None to exchange.get_max_pair_stake_amount
|
2022-02-03 20:33:16 -06:00 |
|
Sam Germain
|
55d91f018f
|
exchange._get_stake_amount_limit (merged min_pair_stake_amount and get_max_tradeable amount)
|
2022-02-03 20:33:04 -06:00 |
|
Sam Germain
|
ff5fffefb4
|
exchange.get_max_amount_tradable looks at cost also
|
2022-02-03 20:33:03 -06:00 |
|
Sam Germain
|
6e8420914e
|
removed unnecessary CCXT checks in exchange.get_min_pair_stake_amount
|
2022-02-03 20:33:03 -06:00 |
|
Sam Germain
|
64ad810445
|
Revert "moved get_max_leverage to get_min_pair_stake_amount"
This reverts commit 90e48d5b98bcfb1452aa818a3274745eac395712.
|
2022-02-03 20:33:03 -06:00 |
|
Sam Germain
|
73319a74d3
|
moved get_max_leverage to get_min_pair_stake_amount
|
2022-02-03 20:33:03 -06:00 |
|
Sam Germain
|
f3b42b0ef3
|
wrote exchange.get_max_amount_tradable
|
2022-02-03 20:33:03 -06:00 |
|