Commit Graph

24 Commits

Author SHA1 Message Date
Matthias 97c420b2df Add explicit test for okx lev_prep 2023-03-20 19:27:48 +01:00
Matthias 54d8aa7782 Test stoploss_adjust okx 2023-03-20 06:46:00 +01:00
Matthias 2de5a59d89 Add test for dry-run fetching 2023-03-20 06:38:42 +01:00
Matthias a7c7f720c0 Add test for okx fetch_stop 2023-03-19 20:03:34 +01:00
Matthias feabed30a3 Update remaining exchange mock occurances 2023-03-01 20:27:15 +01:00
Matthias 1fc97a8008 use Unified futures naming for futures throughout tests 2023-01-13 21:16:19 +01:00
Matthias 4182a7891a Allow leverage tier cache to be 4 weeks old.
we've seen from binance that it's not changing this often.
2022-09-17 10:41:48 +02:00
Matthias 939fb7acb3 Fix enum imports 2022-09-09 20:31:30 +02:00
Matthias 753d1b2aad Update leverage tier terminology to be clear and aligned with ccxt 2022-08-26 19:34:51 +02:00
Matthias 738e95b875 Add tests for leverage tiers caching 2022-08-20 13:54:54 +02:00
Matthias ea537b32c7 Update tests for leverage_tier_loading 2022-05-31 11:40:14 +00:00
Matthias d60d0f64d2 Revert ohlcv_candle_limit logic for okx 2022-05-14 19:35:06 +02:00
Matthias 5767d652bf Add explicit test and document behavior 2022-05-14 14:18:51 +02:00
Matthias dc0c1bf87d Only fetch accounts when authenticated. 2022-05-07 13:17:27 +02:00
Matthias 6fdcf3a10a Support both position modes on OKX 2022-05-07 10:58:41 +02:00
Sam Germain 591a2fb7fc switch notionalFloor -> minNotional and notionalCap -> maxNotional 2022-04-16 21:47:44 -06:00
Sam Germain af77358d6a updated test_load_leverage_tiers_okx 2022-02-26 09:05:51 -06:00
Sam Germain b61cfada6d moved okex.load_leverage_tiers to new method 2022-02-26 09:05:51 -06:00
Matthias de8d789962 Fix test missing assert statement 2022-02-17 19:37:24 +01:00
Sam Germain 124532a4b7 maintenanceMarginRatio -> maintenanceMarginRate 2022-02-16 09:04:43 -06:00
Matthias c37f03a638 Update static-markets to include futures pair 2022-02-15 08:04:16 +01:00
Sam Germain 3753df26fc fixed tests 2022-02-14 17:34:59 -06:00
Sam Germain f4a57b71e7 Filled in test_load_leverage_tiers_okx 2022-02-14 16:53:29 -06:00
Matthias 96df311244 Rename test_okex to test_okx 2022-02-13 13:01:23 +01:00