algo status

This commit is contained in:
2026-05-07 00:25:49 +00:00
parent 99312b768f
commit f45c035ebb
6 changed files with 634 additions and 81 deletions

View File

@@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 17,
"id": "d1eed397",
"metadata": {},
"outputs": [],
@@ -22,7 +22,7 @@
},
{
"cell_type": "code",
"execution_count": 19,
"execution_count": 18,
"id": "c6151613",
"metadata": {},
"outputs": [],
@@ -32,7 +32,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 16,
"id": "d83c61e5",
"metadata": {},
"outputs": [
@@ -42,7 +42,7 @@
"1"
]
},
"execution_count": 42,
"execution_count": 16,
"metadata": {},
"output_type": "execute_result"
}
@@ -72,7 +72,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 19,
"id": "7e448690",
"metadata": {},
"outputs": [],
@@ -123,25 +123,85 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": null,
"id": "bd57998f",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 13,
"id": "b1f9e445",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"{'ASTER': {'lh_asset': 'HYPE',\n",
" 'rh_asset': 'USDT',\n",
" 'symbol': 'HYPEUSDT',\n",
" 'symbol_asset_separator': '',\n",
" 'mult': 300,\n",
" 'initial_funding_rate': 5e-05,\n",
" 'min_price': 0.001,\n",
" 'min_order_size': 0.01,\n",
" 'min_lot_size': 0.01,\n",
" 'min_notional': 5.0,\n",
" 'buy_ratio': -7.932280984035422e-05,\n",
" 'notional_obj': {},\n",
" 'notional_position': 0,\n",
" 'unrealized_pnl': 0,\n",
" 'buy_ratio_std': 0.00032830394884566453,\n",
" 'just_rejected_count': 0},\n",
" 'EXTEND': {'lh_asset': 'HYPE',\n",
" 'rh_asset': 'USD',\n",
" 'symbol': 'HYPE-USD',\n",
" 'symbol_asset_separator': '-',\n",
" 'mult': 50,\n",
" 'initial_funding_rate': 1.3e-05,\n",
" 'min_price': 0.001,\n",
" 'min_order_size': 0.1,\n",
" 'min_lot_size': 0.01,\n",
" 'min_notional': 0.0,\n",
" 'buy_ratio': 7.932280984035422e-05,\n",
" 'notional_obj': {},\n",
" 'notional_position': 0,\n",
" 'unrealized_pnl': 0,\n",
" 'buy_ratio_std': 0.00032830394884566453,\n",
" 'just_rejected_count': 0}}"
]
},
"execution_count": 13,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"best_symbol_by_exchange"
]
},
{
"cell_type": "code",
"execution_count": 14,
"id": "1d72da04",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"{'timestamp_arrival': 1777965341650,\n",
" 'timestamp_msg': 1777965341629,\n",
" 'timestamp_transaction': 1777965341600,\n",
" 'orderbook_update_id': 459659132993,\n",
" 'symbol': '4USDT',\n",
" 'best_bid_px': '0.0176320',\n",
" 'best_bid_qty': '8160',\n",
" 'best_ask_px': '0.0177000',\n",
" 'best_ask_qty': '388'}"
"{'timestamp_arrival': 1778094603500,\n",
" 'timestamp_msg': 1778094603488,\n",
" 'timestamp_transaction': 1778094603450,\n",
" 'orderbook_update_id': 460270647968,\n",
" 'symbol': 'DOGEUSDT',\n",
" 'best_bid_px': '0.112900',\n",
" 'best_bid_qty': '11768',\n",
" 'best_ask_px': '0.112910',\n",
" 'best_ask_qty': '8626'}"
]
},
"execution_count": 6,
"execution_count": 14,
"metadata": {},
"output_type": "execute_result"
}
@@ -2157,7 +2217,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": 35,
"id": "b417adad",
"metadata": {},
"outputs": [],
@@ -2169,17 +2229,17 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 36,
"id": "ba98754e",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"Perpetual_Exchange(lh_asset='WLFI', rh_asset='USDT', symbol='WLFIUSDT', symbol_asset_separator='', mult=25, initial_funding_rate=0.00087322, min_price=0.0001, min_order_size=1.0)"
"Perpetual_Exchange(lh_asset='HYPE', rh_asset='USDT', symbol='HYPEUSDT', symbol_asset_separator='', mult=300, initial_funding_rate=5e-05, min_price=0.001, min_order_size=0.01, min_lot_size=0.01, min_notional=5.0, buy_ratio=-6.770327912997143e-05, notional_obj={}, notional_position=0, unrealized_pnl=0, buy_ratio_std=0.0003294334756256642, just_rejected_count=0)"
]
},
"execution_count": 16,
"execution_count": 36,
"metadata": {},
"output_type": "execute_result"
}
@@ -2190,17 +2250,17 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": 37,
"id": "fa5a8e85",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"Perpetual_Exchange(lh_asset='WLFI', rh_asset='USD', symbol='WLFI-USD', symbol_asset_separator='-', mult=10, initial_funding_rate=4e-06, min_price=1e-05, min_order_size=100.0)"
"Perpetual_Exchange(lh_asset='HYPE', rh_asset='USD', symbol='HYPE-USD', symbol_asset_separator='-', mult=50, initial_funding_rate=1.3e-05, min_price=0.001, min_order_size=0.1, min_lot_size=0.01, min_notional=0.0, buy_ratio=6.770327912997143e-05, notional_obj={}, notional_position=0, unrealized_pnl=0, buy_ratio_std=0.0003294334756256642, just_rejected_count=0)"
]
},
"execution_count": 17,
"execution_count": 37,
"metadata": {},
"output_type": "execute_result"
}
@@ -2211,11 +2271,442 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 39,
"id": "d452385f",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"0.005000%\n"
]
}
],
"source": [
"print(f'{best_symbol_by_exchange_aster.initial_funding_rate:.6%}')"
]
},
{
"cell_type": "code",
"execution_count": 41,
"id": "ff024b08",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"0.001300%\n"
]
}
],
"source": [
"print(f'{best_symbol_by_exchange_extend.initial_funding_rate:.6%}')"
]
},
{
"cell_type": "code",
"execution_count": 33,
"id": "9431d9ff",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"0.003700%\n"
]
}
],
"source": [
"print(f'{r:.6%}')"
]
},
{
"cell_type": "code",
"execution_count": 29,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0.00114737"
]
},
"execution_count": 29,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"0.00114737"
]
},
{
"cell_type": "code",
"execution_count": 32,
"id": "77124f29",
"metadata": {},
"outputs": [],
"source": []
"source": [
"r = max([best_symbol_by_exchange_aster.initial_funding_rate, best_symbol_by_exchange_extend.initial_funding_rate]) - min([best_symbol_by_exchange_aster.initial_funding_rate, best_symbol_by_exchange_extend.initial_funding_rate])"
]
},
{
"cell_type": "code",
"execution_count": 34,
"id": "36ab3e79",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0.0019584100000000003"
]
},
"execution_count": 34,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"0.0000195841000000000026465*100"
]
},
{
"cell_type": "code",
"execution_count": 42,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"[{'symbol_ast': 'XMRUSDT',\n",
" 'max_leverage_ast': 50,\n",
" 'lh_asset_ast': 'XMR',\n",
" 'rh_asset_ast': 'USDT',\n",
" 'funding_rate_ast': 7.078e-05,\n",
" 'min_price_ast': '0.01',\n",
" 'min_order_size_ast': '0.001',\n",
" 'min_lot_size_ast': '0.001',\n",
" 'min_notional_ast': '5',\n",
" 'buy_ratio_ast': -0.0008651383,\n",
" 'symbol_ext': 'XMR-USD',\n",
" 'max_leverage_ext': 25,\n",
" 'lh_asset_ext': 'XMR',\n",
" 'rh_asset_ext': 'USD',\n",
" 'funding_rate_ext': 1.3e-05,\n",
" 'min_price_ext': '0.01',\n",
" 'min_order_size_ext': '0.1',\n",
" 'min_lot_size_ext': '0.01',\n",
" 'min_notional_ext': 0.0,\n",
" 'buy_ratio_ext': 0.0008651383,\n",
" 'buy_ratio_std': 0.0015525267},\n",
" {'symbol_ast': 'ETHUSDT',\n",
" 'max_leverage_ast': 150,\n",
" 'lh_asset_ast': 'ETH',\n",
" 'rh_asset_ast': 'USDT',\n",
" 'funding_rate_ast': 7.304e-05,\n",
" 'min_price_ast': '0.01',\n",
" 'min_order_size_ast': '0.001',\n",
" 'min_lot_size_ast': '0.001',\n",
" 'min_notional_ast': '5',\n",
" 'buy_ratio_ast': -0.0002131019,\n",
" 'symbol_ext': 'ETH-USD',\n",
" 'max_leverage_ext': 50,\n",
" 'lh_asset_ext': 'ETH',\n",
" 'rh_asset_ext': 'USD',\n",
" 'funding_rate_ext': -2.1e-05,\n",
" 'min_price_ext': '0.1',\n",
" 'min_order_size_ext': '0.01',\n",
" 'min_lot_size_ext': '0.001',\n",
" 'min_notional_ext': 0.0,\n",
" 'buy_ratio_ext': 0.0002131019,\n",
" 'buy_ratio_std': 0.0001224161},\n",
" {'symbol_ast': 'CHIPUSDT',\n",
" 'max_leverage_ast': 50,\n",
" 'lh_asset_ast': 'CHIP',\n",
" 'rh_asset_ast': 'USDT',\n",
" 'funding_rate_ast': 1.25e-05,\n",
" 'min_price_ast': '0.0000100',\n",
" 'min_order_size_ast': '1',\n",
" 'min_lot_size_ast': '1',\n",
" 'min_notional_ast': '5',\n",
" 'buy_ratio_ast': -0.0007137488,\n",
" 'symbol_ext': 'CHIP-USD',\n",
" 'max_leverage_ext': 5,\n",
" 'lh_asset_ext': 'CHIP',\n",
" 'rh_asset_ext': 'USD',\n",
" 'funding_rate_ext': -0.000114,\n",
" 'min_price_ext': '0.000001',\n",
" 'min_order_size_ext': '100',\n",
" 'min_lot_size_ext': '10',\n",
" 'min_notional_ext': 0.0,\n",
" 'buy_ratio_ext': 0.0007137488,\n",
" 'buy_ratio_std': 0.0019427015},\n",
" {'symbol_ast': 'HYPEUSDT',\n",
" 'max_leverage_ast': 300,\n",
" 'lh_asset_ast': 'HYPE',\n",
" 'rh_asset_ast': 'USDT',\n",
" 'funding_rate_ast': 5e-05,\n",
" 'min_price_ast': '0.00100',\n",
" 'min_order_size_ast': '0.01',\n",
" 'min_lot_size_ast': '0.01',\n",
" 'min_notional_ast': '5',\n",
" 'buy_ratio_ast': -3.96037e-05,\n",
" 'symbol_ext': 'HYPE-USD',\n",
" 'max_leverage_ext': 50,\n",
" 'lh_asset_ext': 'HYPE',\n",
" 'rh_asset_ext': 'USD',\n",
" 'funding_rate_ext': 1.3e-05,\n",
" 'min_price_ext': '0.001',\n",
" 'min_order_size_ext': '0.1',\n",
" 'min_lot_size_ext': '0.01',\n",
" 'min_notional_ext': 0.0,\n",
" 'buy_ratio_ext': 3.96037e-05,\n",
" 'buy_ratio_std': 0.0003210041},\n",
" {'symbol_ast': 'BTCUSDT',\n",
" 'max_leverage_ast': 150,\n",
" 'lh_asset_ast': 'BTC',\n",
" 'rh_asset_ast': 'USDT',\n",
" 'funding_rate_ast': -4.842e-05,\n",
" 'min_price_ast': '1',\n",
" 'min_order_size_ast': '0.001',\n",
" 'min_lot_size_ast': '0.001',\n",
" 'min_notional_ast': '5',\n",
" 'buy_ratio_ast': -0.0001399255,\n",
" 'symbol_ext': 'BTC-USD',\n",
" 'max_leverage_ext': 50,\n",
" 'lh_asset_ext': 'BTC',\n",
" 'rh_asset_ext': 'USD',\n",
" 'funding_rate_ext': -1.3e-05,\n",
" 'min_price_ext': '1',\n",
" 'min_order_size_ext': '0.0001',\n",
" 'min_lot_size_ext': '0.00001',\n",
" 'min_notional_ext': 0.0,\n",
" 'buy_ratio_ext': 0.0001399255,\n",
" 'buy_ratio_std': 0.0001040703},\n",
" {'symbol_ast': 'BNBUSDT',\n",
" 'max_leverage_ast': 100,\n",
" 'lh_asset_ast': 'BNB',\n",
" 'rh_asset_ast': 'USDT',\n",
" 'funding_rate_ast': 0.00024508,\n",
" 'min_price_ast': '0.010',\n",
" 'min_order_size_ast': '0.01',\n",
" 'min_lot_size_ast': '0.01',\n",
" 'min_notional_ast': '5',\n",
" 'buy_ratio_ast': -0.0009917987,\n",
" 'symbol_ext': 'BNB-USD',\n",
" 'max_leverage_ext': 50,\n",
" 'lh_asset_ext': 'BNB',\n",
" 'rh_asset_ext': 'USD',\n",
" 'funding_rate_ext': 1.3e-05,\n",
" 'min_price_ext': '0.01',\n",
" 'min_order_size_ext': '0.01',\n",
" 'min_lot_size_ext': '0.001',\n",
" 'min_notional_ext': 0.0,\n",
" 'buy_ratio_ext': 0.0009917987,\n",
" 'buy_ratio_std': 0.0002374105},\n",
" {'symbol_ast': 'DOGEUSDT',\n",
" 'max_leverage_ast': 75,\n",
" 'lh_asset_ast': 'DOGE',\n",
" 'rh_asset_ast': 'USDT',\n",
" 'funding_rate_ast': 0.0001,\n",
" 'min_price_ast': '0.002440',\n",
" 'min_order_size_ast': '1',\n",
" 'min_lot_size_ast': '1',\n",
" 'min_notional_ast': '5',\n",
" 'buy_ratio_ast': 0.0014628375,\n",
" 'symbol_ext': 'DOGE-USD',\n",
" 'max_leverage_ext': 50,\n",
" 'lh_asset_ext': 'DOGE',\n",
" 'rh_asset_ext': 'USD',\n",
" 'funding_rate_ext': 1.3e-05,\n",
" 'min_price_ext': '0.00001',\n",
" 'min_order_size_ext': '100',\n",
" 'min_lot_size_ext': '10',\n",
" 'min_notional_ext': 0.0,\n",
" 'buy_ratio_ext': -0.0014628375,\n",
" 'buy_ratio_std': 0.000329719},\n",
" {'symbol_ast': 'SUIUSDT',\n",
" 'max_leverage_ast': 75,\n",
" 'lh_asset_ast': 'SUI',\n",
" 'rh_asset_ast': 'USDT',\n",
" 'funding_rate_ast': 0.0001,\n",
" 'min_price_ast': '0.000100',\n",
" 'min_order_size_ast': '0.1',\n",
" 'min_lot_size_ast': '0.1',\n",
" 'min_notional_ast': '5',\n",
" 'buy_ratio_ast': -0.0002565291,\n",
" 'symbol_ext': 'SUI-USD',\n",
" 'max_leverage_ext': 50,\n",
" 'lh_asset_ext': 'SUI',\n",
" 'rh_asset_ext': 'USD',\n",
" 'funding_rate_ext': 1.3e-05,\n",
" 'min_price_ext': '0.0001',\n",
" 'min_order_size_ext': '10',\n",
" 'min_lot_size_ext': '1',\n",
" 'min_notional_ext': 0.0,\n",
" 'buy_ratio_ext': 0.0002565291,\n",
" 'buy_ratio_std': 0.0007973698},\n",
" {'symbol_ast': 'ASTERUSDT',\n",
" 'max_leverage_ast': 75,\n",
" 'lh_asset_ast': 'ASTER',\n",
" 'rh_asset_ast': 'USDT',\n",
" 'funding_rate_ast': 3.357e-05,\n",
" 'min_price_ast': '0.00010',\n",
" 'min_order_size_ast': '0.01',\n",
" 'min_lot_size_ast': '0.01',\n",
" 'min_notional_ast': '5',\n",
" 'buy_ratio_ast': 0.0008699898,\n",
" 'symbol_ext': 'ASTER-USD',\n",
" 'max_leverage_ext': 25,\n",
" 'lh_asset_ext': 'ASTER',\n",
" 'rh_asset_ext': 'USD',\n",
" 'funding_rate_ext': 1.3e-05,\n",
" 'min_price_ext': '0.00001',\n",
" 'min_order_size_ext': '10',\n",
" 'min_lot_size_ext': '1',\n",
" 'min_notional_ext': 0.0,\n",
" 'buy_ratio_ext': -0.0008699898,\n",
" 'buy_ratio_std': 0.0003556531},\n",
" {'symbol_ast': 'LITUSDT',\n",
" 'max_leverage_ast': 50,\n",
" 'lh_asset_ast': 'LIT',\n",
" 'rh_asset_ast': 'USDT',\n",
" 'funding_rate_ast': 2.658e-05,\n",
" 'min_price_ast': '0.0001000',\n",
" 'min_order_size_ast': '1',\n",
" 'min_lot_size_ast': '1',\n",
" 'min_notional_ast': '5',\n",
" 'buy_ratio_ast': -0.0004211414,\n",
" 'symbol_ext': 'LIT-USD',\n",
" 'max_leverage_ext': 25,\n",
" 'lh_asset_ext': 'LIT',\n",
" 'rh_asset_ext': 'USD',\n",
" 'funding_rate_ext': 1.3e-05,\n",
" 'min_price_ext': '0.0001',\n",
" 'min_order_size_ext': '10',\n",
" 'min_lot_size_ext': '1',\n",
" 'min_notional_ext': 0.0,\n",
" 'buy_ratio_ext': 0.0004211414,\n",
" 'buy_ratio_std': 0.0008731903},\n",
" {'symbol_ast': 'AAVEUSDT',\n",
" 'max_leverage_ast': 10,\n",
" 'lh_asset_ast': 'AAVE',\n",
" 'rh_asset_ast': 'USDT',\n",
" 'funding_rate_ast': 0.0001,\n",
" 'min_price_ast': '4.400',\n",
" 'min_order_size_ast': '0.1',\n",
" 'min_lot_size_ast': '0.1',\n",
" 'min_notional_ast': '5',\n",
" 'buy_ratio_ast': -0.0006699361,\n",
" 'symbol_ext': 'AAVE-USD',\n",
" 'max_leverage_ext': 50,\n",
" 'lh_asset_ext': 'AAVE',\n",
" 'rh_asset_ext': 'USD',\n",
" 'funding_rate_ext': 1.3e-05,\n",
" 'min_price_ext': '0.01',\n",
" 'min_order_size_ext': '0.1',\n",
" 'min_lot_size_ext': '0.01',\n",
" 'min_notional_ext': 0.0,\n",
" 'buy_ratio_ext': 0.0006699361,\n",
" 'buy_ratio_std': 0.0009790403},\n",
" {'symbol_ast': 'SOLUSDT',\n",
" 'max_leverage_ast': 100,\n",
" 'lh_asset_ast': 'SOL',\n",
" 'rh_asset_ast': 'USDT',\n",
" 'funding_rate_ast': 0.0001,\n",
" 'min_price_ast': '0.4200',\n",
" 'min_order_size_ast': '0.01',\n",
" 'min_lot_size_ast': '0.01',\n",
" 'min_notional_ast': '5',\n",
" 'buy_ratio_ast': -5.76552e-05,\n",
" 'symbol_ext': 'SOL-USD',\n",
" 'max_leverage_ext': 50,\n",
" 'lh_asset_ext': 'SOL',\n",
" 'rh_asset_ext': 'USD',\n",
" 'funding_rate_ext': 3e-06,\n",
" 'min_price_ext': '0.01',\n",
" 'min_order_size_ext': '0.1',\n",
" 'min_lot_size_ext': '0.01',\n",
" 'min_notional_ext': 0.0,\n",
" 'buy_ratio_ext': 5.76552e-05,\n",
" 'buy_ratio_std': 0.0002188433},\n",
" {'symbol_ast': 'XRPUSDT',\n",
" 'max_leverage_ast': 100,\n",
" 'lh_asset_ast': 'XRP',\n",
" 'rh_asset_ast': 'USDT',\n",
" 'funding_rate_ast': 1.236e-05,\n",
" 'min_price_ast': '0.0143',\n",
" 'min_order_size_ast': '0.1',\n",
" 'min_lot_size_ast': '0.1',\n",
" 'min_notional_ast': '5',\n",
" 'buy_ratio_ast': -0.0001058929,\n",
" 'symbol_ext': 'XRP-USD',\n",
" 'max_leverage_ext': 50,\n",
" 'lh_asset_ext': 'XRP',\n",
" 'rh_asset_ext': 'USD',\n",
" 'funding_rate_ext': -1e-06,\n",
" 'min_price_ext': '0.0001',\n",
" 'min_order_size_ext': '10',\n",
" 'min_lot_size_ext': '1',\n",
" 'min_notional_ext': 0.0,\n",
" 'buy_ratio_ext': 0.0001058929,\n",
" 'buy_ratio_std': 0.0001141525},\n",
" {'symbol_ast': 'ZECUSDT',\n",
" 'max_leverage_ast': 75,\n",
" 'lh_asset_ast': 'ZEC',\n",
" 'rh_asset_ast': 'USDT',\n",
" 'funding_rate_ast': 1.25e-05,\n",
" 'min_price_ast': '0.0100',\n",
" 'min_order_size_ast': '0.001',\n",
" 'min_lot_size_ast': '0.001',\n",
" 'min_notional_ast': '5',\n",
" 'buy_ratio_ast': 0.0002039566,\n",
" 'symbol_ext': 'ZEC-USD',\n",
" 'max_leverage_ext': 10,\n",
" 'lh_asset_ext': 'ZEC',\n",
" 'rh_asset_ext': 'USD',\n",
" 'funding_rate_ext': 1.3e-05,\n",
" 'min_price_ext': '0.001',\n",
" 'min_order_size_ext': '0.1',\n",
" 'min_lot_size_ext': '0.1',\n",
" 'min_notional_ext': 0.0,\n",
" 'buy_ratio_ext': -0.0002039566,\n",
" 'buy_ratio_std': 0.0013384919},\n",
" {'symbol_ast': '4USDT',\n",
" 'max_leverage_ast': 50,\n",
" 'lh_asset_ast': '4',\n",
" 'rh_asset_ast': 'USDT',\n",
" 'funding_rate_ast': 1.25e-05,\n",
" 'min_price_ast': '0.0000010',\n",
" 'min_order_size_ast': '1',\n",
" 'min_lot_size_ast': '1',\n",
" 'min_notional_ast': '5',\n",
" 'buy_ratio_ast': -0.0061657033,\n",
" 'symbol_ext': '4-USD',\n",
" 'max_leverage_ext': 5,\n",
" 'lh_asset_ext': '4',\n",
" 'rh_asset_ext': 'USD',\n",
" 'funding_rate_ext': 1.3e-05,\n",
" 'min_price_ext': '0.00001',\n",
" 'min_order_size_ext': '100',\n",
" 'min_lot_size_ext': '10',\n",
" 'min_notional_ext': 0.0,\n",
" 'buy_ratio_ext': 0.0061657033,\n",
" 'buy_ratio_std': 0.0042234248}]"
]
},
"execution_count": 42,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"json.loads(s=VAL_KEY.get(name='fr_engine_best_fund_rate_master'))"
]
},
{
"cell_type": "code",