Matthias
|
cba6bd6ef5
|
fix: use t.leverage, not trade.leverage for cross liq calculations
|
2024-10-02 07:05:00 +02:00 |
|
Matthias
|
8bf314202f
|
chore: simplify call to liquidation price for cross futures
|
2024-10-02 07:05:00 +02:00 |
|
Matthias
|
1473abf19a
|
refactor: rename dry-liquidation parameter
passing all open trades will be more flexible for the future.
|
2024-10-02 07:05:00 +02:00 |
|
Matthias
|
45e75f3d09
|
chore: improve arguments to get_liquidation_price
|
2024-10-02 07:05:00 +02:00 |
|
Matthias
|
5358f2fb9e
|
feat: allow liquidation-price update without trades for cross mode
|
2024-10-02 07:05:00 +02:00 |
|
Matthias
|
c316d27444
|
refactor: move exception handler into helper function
|
2024-10-02 07:05:00 +02:00 |
|
Matthias
|
0c0bb29f83
|
chore: add other_trades param to liquidation_price calls
|
2024-10-02 07:05:00 +02:00 |
|
Matthias
|
0560567058
|
test: add test for liquidation_price update function
|
2024-10-02 07:05:00 +02:00 |
|
Matthias
|
3de740b35f
|
feat: create shared method for liquidation price update
|
2024-10-02 07:05:00 +02:00 |
|
Matthias
|
c9d301e4f9
|
Ruff format: more random files
|
2024-05-13 07:10:25 +02:00 |
|
Matthias
|
0f878daa98
|
Remove some too generic noqa statements
|
2023-02-22 19:56:32 +01:00 |
|
Matthias
|
30b467906c
|
Delist FTX, following ccxt's delisting.
|
2022-11-14 19:40:57 +01:00 |
|
Matthias
|
902afc2f02
|
Use FtPrecise in interest calculation
|
2022-08-13 08:43:56 +02:00 |
|
Matthias
|
baefda80d1
|
Enable flake8 E226 rule
|
2022-04-11 18:02:06 +02: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 |
|