Commit Graph

14 Commits

Author SHA1 Message Date
Sam Germain 69a6223ca0 implemented binance.get_maintenance_ratio_and_amt 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 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
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 2679744228 Explicit test for candletype get_default 2021-12-08 16:20:26 +01:00
Matthias 9b9d61c6d6 Remove SPOT_ candletype 2021-12-08 14:38:09 +01:00
Matthias 9421e6e61c Improve some tests 2021-12-03 14:57:09 +01:00
Matthias f33643cacf Add candletype from string 2021-12-03 12:46:18 +01:00
Arunavo Ray c54259b4c5 Added ftx interest formula tests 2021-09-19 11:35:29 +05:30
Matthias 599ae15460 Parametrize tests 2021-08-09 11:35:27 +02:00
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