Sam Germain
|
6f410d3096
|
fixed test_load_leverage_tiers
|
2022-02-16 05:44:11 -06:00 |
|
Sam Germain
|
c70050e750
|
fixed test_load_leverage_tiers
|
2022-02-16 05:26:52 -06:00 |
|
Sam Germain
|
1f3d3d87f6
|
fixed tests
|
2022-02-16 04:52:26 -06:00 |
|
Sam Germain
|
3fe0e13bb1
|
expanded test_load_leverage_tiers
|
2022-02-16 04:37:11 -06:00 |
|
Sam Germain
|
3bfd9186f7
|
gateio.get_max_leverage small fix
|
2022-02-16 04:05:27 -06: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 |
|
Sam Germain
|
3753df26fc
|
fixed tests
|
2022-02-14 17:34:59 -06:00 |
|
Sam Germain
|
5cd2501397
|
Merge branch 'leverage-tiers' of https://github.com/samgermain/freqtrade into leverage-tiers
|
2022-02-14 09:40:53 -06:00 |
|
Sam Germain
|
cfd438b966
|
fixed test_get_markets
|
2022-02-14 09:40:01 -06:00 |
|
Sam Germain
|
16e38592a9
|
test_get_markets created debugging param test_comment
|
2022-02-14 09:33:56 -06:00 |
|
Matthias
|
bc855b2a32
|
Update some missing mocks
|
2022-02-13 13:00:38 +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
|
03b3756e4b
|
strengthened and fixed leverage_tier tests
|
2022-02-12 23:02:16 -06:00 |
|
Sam Germain
|
a6043e6a85
|
get_max_leverage test clean up
|
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
|
3b43d42eaa
|
Updated exchange tests
|
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
|
98f32e8964
|
fixed failing test_get_max_leverage
|
2022-02-12 23:02:15 -06:00 |
|
Sam Germain
|
3ebda1d29d
|
Added test templated
|
2022-02-12 23:02:15 -06:00 |
|
Sam Germain
|
a0264f0651
|
test_get_max_pair_stake_amount with leverage
|
2022-02-12 23:02:15 -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
|
19a282ddb4
|
fixed broken test_get_liquidation_price
|
2022-02-11 19:38:59 +01:00 |
|
Sam Germain
|
6ae85f9be1
|
fixed liq-buffer tests
|
2022-02-11 19:38:59 +01:00 |
|
Matthias
|
0c6d92a7a6
|
Merge branch 'develop' into feat/short
|
2022-02-11 17:02:04 +01: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
|
c0a593280e
|
test_exchange.test_cancel_order_dry_run pass leverage to create_order
|
2022-02-04 04:54:16 -06:00 |
|
Sam Germain
|
dc6cb445fd
|
Merge branch 'feat/short' into max-amount
|
2022-02-04 04:42:38 -06:00 |
|
Matthias
|
6afad6c99f
|
Small change to todo comment
|
2022-02-04 07:20:27 +01:00 |
|
Sam Germain
|
a50f4d2c57
|
Exchange.createOrder added * as second param
|
2022-02-03 20:33:16 -06:00 |
|
Sam Germain
|
16c2d54482
|
updated margin_modes
|
2022-02-03 20:33:16 -06:00 |
|
Sam Germain
|
c5cfd971f5
|
get_max_pair_stake_amount_tests
|
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
|
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 |
|
Sam Germain
|
f58b92bb86
|
exchange.create_order removed default for leverage
|
2022-02-03 17:48:08 -06:00 |
|
Sam Germain
|
09f0e7149f
|
test__fetch_and_calculate_funding_fees_datetime_called # TODO-lev: test for longs
|
2022-02-02 12:42:13 -06:00 |
|
Sam Germain
|
30519aa3be
|
Changed name Collateral -> MarginMode, collateral -> margin_mode, and _supported_trading_mode_margin_pairs -> _supported_trading_margin_pairs
|
2022-02-01 13:05:40 -06:00 |
|
Matthias
|
7dd50f78cf
|
Small finetuning improving a comment
|
2022-02-01 06:37:13 +01:00 |
|
Sam Germain
|
9de63412c1
|
exchange.get_liquidation_price arguments are not optional
|
2022-01-31 14:00:52 -06:00 |
|
Sam Germain
|
43db4c34d1
|
added okex back to unsupported exchanges
|
2022-01-31 12:18:30 -06:00 |
|
Sam Germain
|
b8f4cebce7
|
exchange.liquidation_price methods combined, dry_run check on exchange for liquidation price
|
2022-01-31 12:18:25 -06:00 |
|
Sam Germain
|
143c37d36f
|
cleaned up liquidation price methods
|
2022-01-31 12:17:07 -06:00 |
|
Sam Germain
|
ede9012fcc
|
removed TODO-levs about okex liquidation price
|
2022-01-31 12:17:07 -06:00 |
|
Sam Germain
|
0c13e387fe
|
moved liquidation_price method to exchange classes
|
2022-01-31 12:16:43 -06:00 |
|
Sam Germain
|
1f1ac8ce9d
|
test_get_liquidation_price/test_get_maintenance_ratio_and_amt_binance/fill_leverage_brackets/test_validate_trading_mode_and_collateral TODO comments
|
2022-01-31 12:16:43 -06:00 |
|