Matthias
|
c745f5828c
|
Update comments to clarify it's supposed to be a "offline" call
|
2022-02-28 20:05:14 +01:00 |
|
Matthias
|
79538368db
|
Simplify liquidation price calculation
|
2022-02-28 19:47:21 +01:00 |
|
Matthias
|
ab46476e63
|
Rename get_liquidation method
|
2022-02-28 19:42:26 +01:00 |
|
Matthias
|
8e2d3445a7
|
Move leverage_prep calculations to exchange class
|
2022-02-28 19:29:42 +01:00 |
|
Matthias
|
92ad353169
|
Fix OKX exception
|
2022-02-26 20:13:24 +01:00 |
|
Sam Germain
|
fbcd260bf6
|
flake8 import issues
|
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
|
b61cfada6d
|
moved okex.load_leverage_tiers to new method
|
2022-02-26 09:05:51 -06:00 |
|
Matthias
|
9901decf0d
|
Rename get_positions to fetch_positions to align with ccxt naming
|
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
|
8952829adc
|
Merge branch 'develop' into feat/short
|
2022-02-23 06:28:15 +01:00 |
|
Matthias
|
70f4305dfa
|
don't allow short trades in spot mode
|
2022-02-21 19:19:12 +01:00 |
|
Matthias
|
a32aed2225
|
Update FTX stoploss code to avoid exception for stoploss-market orders
closes #6430, closes #6392
|
2022-02-19 10:07:32 +01:00 |
|
Sam Germain
|
a37287d9ba
|
test__get_params
|
2022-02-16 10:06:27 -06: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 |
|
Sam Germain
|
c70050e750
|
fixed test_load_leverage_tiers
|
2022-02-16 05:26:52 -06:00 |
|
Sam Germain
|
3bfd9186f7
|
gateio.get_max_leverage small fix
|
2022-02-16 04:05:27 -06:00 |
|
Sam Germain
|
dbd2df6406
|
Merge branch 'leverage-tiers' of https://github.com/samgermain/freqtrade into leverage-tiers
|
2022-02-16 03:50:24 -06:00 |
|
Sam Germain
|
c9da6f480f
|
gateio get_max_leverage and get_maintenance_ratio_and_amt temporary solution
|
2022-02-16 03:36:08 -06:00 |
|
Matthias
|
ff5b3c323a
|
Fix okx trading mode
|
2022-02-16 09:13:49 +01:00 |
|
Matthias
|
7f7c395b10
|
Add exception handling for lev_prep in okx
|
2022-02-15 19:30:02 +01:00 |
|
Matthias
|
33cc5e0ac7
|
Use kwargs for set_leverage
|
2022-02-15 18:56:58 +01:00 |
|
Matthias
|
c37f03a638
|
Update static-markets to include futures pair
|
2022-02-15 08:04:16 +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
|
ae249a0f97
|
Merge branch 'leverage-tiers' of https://github.com/samgermain/freqtrade into leverage-tiers
|
2022-02-14 17:36:47 -06:00 |
|
Sam Germain
|
3753df26fc
|
fixed tests
|
2022-02-14 17:34:59 -06:00 |
|
Sam Germain
|
f4a57b71e7
|
Filled in test_load_leverage_tiers_okx
|
2022-02-14 16:53:29 -06:00 |
|
Matthias
|
513669f834
|
Be verbose on okex startup to point out delay.
|
2022-02-14 19:44:05 +01: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
|
ad801e05f7
|
Filter loadable leverage tiers to stake-currency pairs
|
2022-02-13 13:05:57 +01:00 |
|
Matthias
|
7f0cedc769
|
Use "is_future" to check for futures markets
|
2022-02-13 12:54:49 +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 |
|