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 |
|
Sam Germain
|
c2f9201512
|
Added get_liquidation_price check
|
2022-01-31 12:16:43 -06:00 |
|
Sam Germain
|
0c8205ab3b
|
replace single quote docstrings with double quote docstrings
|
2022-01-31 12:16:43 -06:00 |
|
Sam Germain
|
ba5fc21d84
|
added isolated futures to supported modes for binance,gateio
|
2022-01-31 12:15:54 -06:00 |
|
Sam Germain
|
ba02605d77
|
Isolated liq branch passes all tests and has the general structure that it is supposed to, but is patchy, and doesnt get the correct maintenance amt and maintenance margin rate yet
|
2022-01-31 12:15:54 -06:00 |
|
Sam Germain
|
779b82b5b4
|
fixed test_get_min_pair_stake_amount by adding amount.min/max and cost.min/max to all markets
|
2022-01-31 03:02:17 -06:00 |
|
Matthias
|
fdea4fcb1b
|
Remove some todo's
|
2022-01-28 15:52:12 +01:00 |
|
Matthias
|
bf0b95b3d8
|
Improve backtest tests
|
2022-01-22 19:46:11 +01:00 |
|
Matthias
|
a0c0c4dcbe
|
Update funding_fee formula to correctly calculate fees for long trades
|
2022-01-22 19:46:10 +01:00 |
|
Matthias
|
82c90c0049
|
Extract funding and mark mergin to separate method
|
2022-01-22 19:45:46 +01:00 |
|
Matthias
|
84c6d92d4c
|
calculate_funding_fees is actually a public exchange interface (used in backtesting).
|
2022-01-22 19:45:46 +01:00 |
|
Matthias
|
a340d73edc
|
Update funding_fee calculation test
|
2022-01-22 19:44:20 +01:00 |
|
Matthias
|
ef3a1ea8f2
|
Split funding fee calculation from Download
|
2022-01-22 19:44:20 +01:00 |
|
Matthias
|
f090dcc597
|
Merge branch 'develop' into feat/short
|
2022-01-22 17:56:01 +01:00 |
|
Matthias
|
6684bff963
|
Dry-run orders should have filled set correctly
|
2022-01-15 15:25:16 +01:00 |
|
Matthias
|
173524ea5b
|
Merge pull request #6170 from freqtrade/contract_workaround
contractSize is a string coming from ccxt
|
2022-01-06 16:25:19 +01:00 |
|