Sam Germain
|
0c13e387fe
|
moved liquidation_price method to exchange classes
|
2022-01-31 12:16:43 -06:00 |
|
Sam Germain
|
bb2b2211d0
|
exchange.fill_leverage_brackets/get_maintenance_ratio_and_amt docstring and type specification
|
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
|
7abffee755
|
liquidation_price formula organize and comment clean up
|
2022-01-31 12:16:43 -06:00 |
|
Sam Germain
|
387a9fbf36
|
test_execute_entry liquidation_price test test_get_maintenance_ratio_and_amt_gateio
|
2022-01-31 12:16:38 -06:00 |
|
Sam Germain
|
69a6223ca0
|
implemented binance.get_maintenance_ratio_and_amt
|
2022-01-31 12:15:54 -06:00 |
|
Sam Germain
|
42360592ba
|
trimmed down liquidation_price variable and edited comments
|
2022-01-31 12:15:54 -06:00 |
|
Sam Germain
|
5796d95a95
|
Added gateio and okex isolated liquidation formulas
|
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 |
|
Arunavo Ray
|
778e3bcba6
|
Suppress incompatible type "Optional[float]"; expected "float" as the check exists.
|
2022-01-31 12:15:54 -06:00 |
|
Arunavo Ray
|
447312d4c8
|
Fixed parameter check which failed when 0.0 was passed
|
2022-01-31 12:15:54 -06:00 |
|
Arunavo Ray
|
3709130eb7
|
Added Tests for Binance Liquidation price, shortened liquidation param names
|
2022-01-31 12:15:54 -06:00 |
|
Arunavo Ray
|
f9a2d1a71d
|
Binance Liquidation Price Hedge-Mode Removed
|
2022-01-31 12:15:54 -06:00 |
|
Arunavo Ray
|
7119dc6e41
|
Converted kwargs to params
|
2022-01-31 12:15:54 -06:00 |
|
Sam Germain
|
80f4bae3fe
|
Revert "Added Formulas to Calculate Liquidation Price of Binance USDⓈ-M Futures Contracts"
This reverts commit d343e84507 .
|
2022-01-31 12:15:54 -06:00 |
|
Sam Germain
|
b30458f871
|
Revert "Added Margin Mode Check for Binance."
This reverts commit abcb9729e5 .
|
2022-01-31 12:15:54 -06:00 |
|
Arunavo Ray
|
1299cff894
|
Added Margin Mode Check for Binance.
|
2022-01-31 12:15:54 -06:00 |
|
Arunavo Ray
|
60454334d9
|
Added Formulas to Calculate Liquidation Price of Binance USDⓈ-M Futures Contracts
|
2022-01-31 12:15:54 -06:00 |
|
Sam Germain
|
fe5e00361e
|
separated test_leverage into test_interest and test_liquidation_price, and paramaterized tests
|
2022-01-31 12:15:54 -06:00 |
|
Sam Germain
|
a087d03db9
|
Added liquidation_price function
|
2022-01-31 12:15:54 -06:00 |
|
Matthias
|
d5438ed0a8
|
Fix docstring indents
|
2021-11-09 19:22:29 +01:00 |
|
Arunavo Ray
|
27bd30d266
|
fixed formatting issues
|
2021-09-19 11:42:29 +05:30 |
|
Arunavo Ray
|
d07c7f7f27
|
Added Ftx interest rate calculation
|
2021-09-07 12:28:23 +05:30 |
|
Sam Germain
|
06206335d9
|
Added tests for interest_function
|
2021-08-09 00:00:50 -06:00 |
|
Sam Germain
|
8e941e6836
|
Changed interest implementation
|
2021-08-08 17:09:17 -06:00 |
|
Sam Germain
|
aec82b4647
|
Added empty everage/__init__.py
|
2021-08-06 01:37:34 -06:00 |
|