feat: single-row funds strip on header and system settings page
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -497,6 +497,14 @@ def fetch_options_funding_usdc(ex: ccxt.okx) -> float | None:
|
||||
return round(float(v), 2)
|
||||
|
||||
|
||||
def fetch_options_funding_usdt(ex: ccxt.okx) -> float | None:
|
||||
bal = fetch_options_balances(ex)
|
||||
v = bal.get("funding_usdt")
|
||||
if v is None:
|
||||
return None
|
||||
return round(float(v), 2)
|
||||
|
||||
|
||||
def spot_market_swap_usdt_usdc(
|
||||
ex: ccxt.okx,
|
||||
*,
|
||||
|
||||
Reference in New Issue
Block a user