Skip to content

rabbitx-io/rabbitx-python-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(Unofficial) RabbitX API Python Client

Installation

git clone git@gitlab.com:stripsdev/rabbit-dex-python-client.git
cd rabbit-dex-python-client
pip install .

How to use

  • An example using REST api client is here
  • An example using WebSocket is here

REST interaction example

order creation:
 {'id': 470, 'profileID': 19, 'marketID': 'BTC-USD', 'type': 'limit', 'status': 'processing', 'price': 19000, 'remainingSize': 1, 'initialSize': 1, 'totalFilledSize': 0, 'side': 'long', 'createdAt': 1663869180, 'reason': '', 'lastAction': 'limit'}

get order list:
 [{'id': 470, 'profileID': 19, 'marketID': 'BTC-USD', 'type': 'limit', 'status': 'rejected', 'price': 19000, 'remainingSize': 0, 'initialSize': 1, 'totalFilledSize': 1, 'side': 'long', 'createdAt': 1663869180, 'reason': 'executeOrder error: handle orderId=470 orderType=cancel error=ORDER_NOT_FOUND', 'lastAction': 'cancel'}, {'id': 471, 'profileID': 19, 'marketID': 'BTC-USD', 'type': 'limit', 'status': 'closed', 'price': 19000, 'remainingSize': 0, 'initialSize': 1, 'totalFilledSize': 0, 'side': 'short', 'createdAt': 1663869180, 'reason': '', 'lastAction': 'limit'}]

account:
 [{'id': 470, 'profileID': 19, 'marketID': 'BTC-USD', 'type': 'limit', 'status': 'rejected', 'price': 19000, 'remainingSize': 0, 'initialSize': 1, 'totalFilledSize': 1, 'side': 'long', 'createdAt': 1663869180, 'reason': 'executeOrder error: handle orderId=470 orderType=cancel error=ORDER_NOT_FOUND', 'lastAction': 'cancel'}, {'id': 471, 'profileID': 19, 'marketID': 'BTC-USD', 'type': 'limit', 'status': 'closed', 'price': 19000, 'remainingSize': 0, 'initialSize': 1, 'totalFilledSize': 0, 'side': 'short', 'createdAt': 1663869180, 'reason': '', 'lastAction': 'limit'}]

new leverage:
 {'marketID': 'BTC-USD', 'leverage': 10}

candles:
 [{'Timestamp': 1663869180, 'Low': 19000, 'High': 19000, 'Open': 19000, 'Close': 19000, 'Volume': 19000}]

new jwt:
 [{'Timestamp': 1663869180, 'Low': 19000, 'High': 19000, 'Open': 19000, 'Close': 19000, 'Volume': 19000}]

fills:
 [{'Timestamp': 1663869180, 'Low': 19000, 'High': 19000, 'Open': 19000, 'Close': 19000, 'Volume': 19000}]

WebSocket interaction example

account_init 19 {'id': 19, 'profileType': '', 'status': 'active', 'walletBalance': 9993604.669432182, 'wallet': '0x8481cb01Ec35d43C116C3c272Fb026e6dD465e08', 'tier': 4, 'rollTradingVolume30': 1558872, 'marketLeverage': {'BTC-USD': 10}, 'accountEquity': 9965885.552481094, 'totalPositionMargin': 48364.295967741935, 'totalOrderMargin': 3500, 'totalNotional': 483642.9596774194, 'accountMargin': 20.60587330606063, 'withdrawableBalance': 9914021.256513352, 'cumUnrealizedPnl': -27719.11695108738, 'health': 1, 'accountLeverage': 0.048529852879658275, 'accountEquity24hChangePremium': -2741.683362448588, 'accountEquity24hChangeBasis': -0.00027503118509542577, 'positions': [{'id': '22fab7a2-957c-4f8a-ad08-c80d47b72b1a', 'marketID': 'BTC-USD', 'profileID': 19, 'size': 25, 'side': 'short', 'avgEntryPrice': 18236.95370905328, 'unrealizedPnl': -27719.11695108738, 'notional': 483642.9596774194, 'margin': 48364.295967741935, 'liquidationPrice': 19476.3583300569, 'fairPrice': 19345.718387096775}], 'fills': [{'id': 939, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 468, 'timestamp': 1663868945, 'tradeID': 937, 'price': 19000, 'size': 1, 'side': 'short', 'isMaker': False, 'fee': -7.03, 'liquidation': False}, {'id': 938, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 467, 'timestamp': 1663868945, 'tradeID': 937, 'price': 19000, 'size': 1, 'side': 'long', 'isMaker': True, 'fee': 1.9000000000000001, 'liquidation': False}, {'id': 936, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 466, 'timestamp': 1663868869, 'tradeID': 934, 'price': 19000, 'size': 1, 'side': 'short', 'isMaker': False, 'fee': -7.03, 'liquidation': False}, {'id': 935, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 465, 'timestamp': 1663868869, 'tradeID': 934, 'price': 19000, 'size': 1, 'side': 'long', 'isMaker': True, 'fee': 1.9000000000000001, 'liquidation': False}, {'id': 933, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 459, 'timestamp': 1663867991, 'tradeID': 931, 'price': 19000, 'size': 1, 'side': 'short', 'isMaker': False, 'fee': -7.03, 'liquidation': False}, {'id': 932, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 458, 'timestamp': 1663867991, 'tradeID': 931, 'price': 19000, 'size': 1, 'side': 'long', 'isMaker': True, 'fee': 1.9000000000000001, 'liquidation': False}, {'id': 930, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 457, 'timestamp': 1663867925, 'tradeID': 928, 'price': 19000, 'size': 1, 'side': 'short', 'isMaker': False, 'fee': -7.03, 'liquidation': False}, {'id': 929, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 456, 'timestamp': 1663867925, 'tradeID': 928, 'price': 19000, 'size': 1, 'side': 'long', 'isMaker': True, 'fee': 1.9000000000000001, 'liquidation': False}, {'id': 894, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 432, 'timestamp': 1663860228, 'tradeID': 892, 'price': 19000, 'size': 1, 'side': 'short', 'isMaker': False, 'fee': -7.03, 'liquidation': False}, {'id': 893, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 431, 'timestamp': 1663860228, 'tradeID': 892, 'price': 19000, 'size': 1, 'side': 'long', 'isMaker': True, 'fee': 1.9000000000000001, 'liquidation': False}], 'orders': [{'id': 425, 'profileID': 19, 'marketID': 'BTC-USD', 'type': 'limit', 'status': 'open', 'price': 18000, 'remainingSize': 1, 'initialSize': 1, 'totalFilledSize': 0, 'side': 'long', 'createdAt': 1663859512, 'reason': '', 'lastAction': 'limit'}, {'id': 313, 'profileID': 19, 'marketID': 'BTC-USD', 'type': 'limit', 'status': 'open', 'price': 17000, 'remainingSize': 1, 'initialSize': 1, 'totalFilledSize': 0, 'side': 'long', 'createdAt': 1663848607, 'reason': '', 'lastAction': 'limit'}], 'balanceOperations': [{'id': 2229, 'profileID': 19, 'opsType': 'fee', 'amount': -7.03, 'timestamp': 3831078023662}, {'id': 2228, 'profileID': 19, 'opsType': 'fee', 'amount': 1.9000000000000001, 'timestamp': 3831078023662}, {'id': 2227, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -794.839886402835, 'timestamp': 3831078023662}, {'id': 2226, 'profileID': 19, 'opsType': 'fee', 'amount': -7.03, 'timestamp': 3831002804116}, {'id': 2225, 'profileID': 19, 'opsType': 'fee', 'amount': 1.9000000000000001, 'timestamp': 3831002804116}, {'id': 2224, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -827.9582150029528, 'timestamp': 3831002804116}, {'id': 2223, 'profileID': 19, 'opsType': 'fee', 'amount': -7.03, 'timestamp': 3830124680743}, {'id': 2222, 'profileID': 19, 'opsType': 'fee', 'amount': 1.9000000000000001, 'timestamp': 3830124680743}, {'id': 2221, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -862.4564739614107, 'timestamp': 3830124680743}, {'id': 2220, 'profileID': 19, 'opsType': 'fee', 'amount': -7.03, 'timestamp': 3830058747870}, {'id': 2219, 'profileID': 19, 'opsType': 'fee', 'amount': 1.9000000000000001, 'timestamp': 3830058747870}, {'id': 2218, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -898.3921603764684, 'timestamp': 3830058747870}, {'id': 2194, 'profileID': 19, 'opsType': 'funding_pnl', 'amount': 2146.796314967793, 'timestamp': 3828239189875}, {'id': 2149, 'profileID': 19, 'opsType': 'funding_pnl', 'amount': 4869.081779661017, 'timestamp': 3824639189396}, {'id': 2145, 'profileID': 19, 'opsType': 'fee', 'amount': -7.03, 'timestamp': 3822361035725}, {'id': 2144, 'profileID': 19, 'opsType': 'fee', 'amount': 1.9000000000000001, 'timestamp': 3822361035725}, {'id': 2143, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -935.8251670588215, 'timestamp': 3822361035725}, {'id': 2142, 'profileID': 19, 'opsType': 'fee', 'amount': -7.03, 'timestamp': 3822317928184}, {'id': 2141, 'profileID': 19, 'opsType': 'fee', 'amount': 1.9000000000000001, 'timestamp': 3822317928184}, {'id': 2140, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -974.8178823529379, 'timestamp': 3822317928184}, {'id': 2139, 'profileID': 19, 'opsType': 'fee', 'amount': -7.03, 'timestamp': 3821667230293}, {'id': 2138, 'profileID': 19, 'opsType': 'fee', 'amount': 1.9000000000000001, 'timestamp': 3821667230293}, {'id': 2137, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -1015.4352941176439, 'timestamp': 3821667230293}, {'id': 2117, 'profileID': 19, 'opsType': 'funding_pnl', 'amount': -4773.46806451613, 'timestamp': 3821039203930}, {'id': 2115, 'profileID': 19, 'opsType': 'fee', 'amount': -6.79024, 'timestamp': 3819975015184}, {'id': 2113, 'profileID': 19, 'opsType': 'fee', 'amount': -6.79024, 'timestamp': 3819952927799}, {'id': 2111, 'profileID': 19, 'opsType': 'fee', 'amount': -6.79024, 'timestamp': 3819926765644}, {'id': 2109, 'profileID': 19, 'opsType': 'fee', 'amount': -6.79024, 'timestamp': 3819783385712}, {'id': 2107, 'profileID': 19, 'opsType': 'fee', 'amount': -6.79024, 'timestamp': 3819760606070}, {'id': 2105, 'profileID': 19, 'opsType': 'fee', 'amount': -6.79024, 'timestamp': 3819734514712}, {'id': 2103, 'profileID': 19, 'opsType': 'fee', 'amount': -6.79024, 'timestamp': 3819711533772}, {'id': 2101, 'profileID': 19, 'opsType': 'fee', 'amount': -6.79024, 'timestamp': 3819684769493}, {'id': 2095, 'profileID': 19, 'opsType': 'fee', 'amount': 1.8, 'timestamp': 3818520672603}, {'id': 2093, 'profileID': 19, 'opsType': 'fee', 'amount': 1.8, 'timestamp': 3818520672603}, {'id': 2091, 'profileID': 19, 'opsType': 'fee', 'amount': 1.8, 'timestamp': 3818520672603}, {'id': 2089, 'profileID': 19, 'opsType': 'fee', 'amount': 1.8, 'timestamp': 3818520672603}, {'id': 2087, 'profileID': 19, 'opsType': 'fee', 'amount': 1.8, 'timestamp': 3818520672603}, {'id': 2056, 'profileID': 19, 'opsType': 'funding_pnl', 'amount': -2097.36, 'timestamp': 3817439203082}, {'id': 2054, 'profileID': 19, 'opsType': 'fee', 'amount': -6.58304, 'timestamp': 3816536051702}, {'id': 2052, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -58.823529411769414, 'timestamp': 3816536051702}, {'id': 2050, 'profileID': 19, 'opsType': 'fee', 'amount': -6.58304, 'timestamp': 3816442926961}, {'id': 2048, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -58.823529411769414, 'timestamp': 3816442926961}, {'id': 2046, 'profileID': 19, 'opsType': 'fee', 'amount': -6.58304, 'timestamp': 3816414375934}, {'id': 2044, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -58.823529411769414, 'timestamp': 3816414375934}, {'id': 2042, 'profileID': 19, 'opsType': 'fee', 'amount': -6.58304, 'timestamp': 3816370676962}, {'id': 2040, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -58.823529411769414, 'timestamp': 3816370676962}, {'id': 2038, 'profileID': 19, 'opsType': 'fee', 'amount': -6.58304, 'timestamp': 3816345692943}, {'id': 2036, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -58.823529411769414, 'timestamp': 3816345692943}, {'id': 2023, 'profileID': 19, 'opsType': 'fee', 'amount': -7.03, 'timestamp': 3815077290981}, {'id': 2022, 'profileID': 19, 'opsType': 'fee', 'amount': 1.9000000000000001, 'timestamp': 3815077290981}, {'id': 2021, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -1346.0000000000036, 'timestamp': 3815077290981}, {'id': 2016, 'profileID': 19, 'opsType': 'fee', 'amount': -6.64298, 'timestamp': 3814385447890}, {'id': 2014, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -300.00000000000364, 'timestamp': 3814385447890}, {'id': 1968, 'profileID': 19, 'opsType': 'funding_pnl', 'amount': -3396.8088000000002, 'timestamp': 3813839188850}, {'id': 1902, 'profileID': 19, 'opsType': 'fee', 'amount': -6.81688, 'timestamp': 3811162953280}, {'id': 1900, 'profileID': 19, 'opsType': 'fee', 'amount': -6.81688, 'timestamp': 3811134971718}, {'id': 1898, 'profileID': 19, 'opsType': 'fee', 'amount': -6.81688, 'timestamp': 3811119824989}, {'id': 1887, 'profileID': 19, 'opsType': 'fee', 'amount': -6.81688, 'timestamp': 3810829698286}, {'id': 1885, 'profileID': 19, 'opsType': 'fee', 'amount': -6.81688, 'timestamp': 3810813516812}, {'id': 1883, 'profileID': 19, 'opsType': 'fee', 'amount': -6.81688, 'timestamp': 3810797527975}]}
trade_init SOL-USD [{'id': 895, 'marketID': 'SOL-USD', 'timestamp': 1663860231, 'price': 33, 'size': 4, 'liquidation': False, 'takerSide': 'short'}, {'id': 562, 'marketID': 'SOL-USD', 'timestamp': 1663844055, 'price': 32.2693, 'size': 1.25, 'liquidation': False, 'takerSide': 'long'}, {'id': 559, 'marketID': 'SOL-USD', 'timestamp': 1663844034, 'price': 35.7422, 'size': 3.75, 'liquidation': False, 'takerSide': 'short'}, {'id': 556, 'marketID': 'SOL-USD', 'timestamp': 1663843962, 'price': 32.3311, 'size': 1.25, 'liquidation': False, 'takerSide': 'long'}, {'id': 553, 'marketID': 'SOL-USD', 'timestamp': 1663843838, 'price': 34, 'size': 5, 'liquidation': False, 'takerSide': 'short'}, {'id': 550, 'marketID': 'SOL-USD', 'timestamp': 1663843696, 'price': 35, 'size': 5, 'liquidation': False, 'takerSide': 'short'}, {'id': 547, 'marketID': 'SOL-USD', 'timestamp': 1663843403, 'price': 32.8, 'size': 4, 'liquidation': False, 'takerSide': 'long'}, {'id': 544, 'marketID': 'SOL-USD', 'timestamp': 1663843341, 'price': 33.7541, 'size': 4, 'liquidation': False, 'takerSide': 'short'}, {'id': 523, 'marketID': 'SOL-USD', 'timestamp': 1663840828, 'price': 35, 'size': 1, 'liquidation': False, 'takerSide': 'long'}, {'id': 520, 'marketID': 'SOL-USD', 'timestamp': 1663840810, 'price': 35, 'size': 1, 'liquidation': False, 'takerSide': 'long'}, {'id': 517, 'marketID': 'SOL-USD', 'timestamp': 1663840764, 'price': 35, 'size': 1, 'liquidation': False, 'takerSide': 'long'}, {'id': 514, 'marketID': 'SOL-USD', 'timestamp': 1663840723, 'price': 35, 'size': 1, 'liquidation': False, 'takerSide': 'long'}, {'id': 511, 'marketID': 'SOL-USD', 'timestamp': 1663840093, 'price': 35, 'size': 6, 'liquidation': False, 'takerSide': 'long'}, {'id': 508, 'marketID': 'SOL-USD', 'timestamp': 1663840080, 'price': 33.7541, 'size': 1, 'liquidation': False, 'takerSide': 'short'}, {'id': 478, 'marketID': 'SOL-USD', 'timestamp': 1663838542, 'price': 33.7568, 'size': 5, 'liquidation': False, 'takerSide': 'short'}, {'id': 475, 'marketID': 'SOL-USD', 'timestamp': 1663838101, 'price': 33.7607, 'size': 5, 'liquidation': False, 'takerSide': 'short'}, {'id': 472, 'marketID': 'SOL-USD', 'timestamp': 1663838083, 'price': 33.7328, 'size': 5, 'liquidation': False, 'takerSide': 'short'}]
trade_init BTC-USD [{'id': 937, 'marketID': 'BTC-USD', 'timestamp': 1663868945, 'price': 19000, 'size': 1, 'liquidation': False, 'takerSide': 'short'}, {'id': 934, 'marketID': 'BTC-USD', 'timestamp': 1663868869, 'price': 19000, 'size': 1, 'liquidation': False, 'takerSide': 'short'}, {'id': 931, 'marketID': 'BTC-USD', 'timestamp': 1663867991, 'price': 19000, 'size': 1, 'liquidation': False, 'takerSide': 'short'}, {'id': 928, 'marketID': 'BTC-USD', 'timestamp': 1663867925, 'price': 19000, 'size': 1, 'liquidation': False, 'takerSide': 'short'}, {'id': 925, 'marketID': 'BTC-USD', 'timestamp': 1663867083, 'price': 18352, 'size': 0.01, 'liquidation': False, 'takerSide': 'short'}, {'id': 922, 'marketID': 'BTC-USD', 'timestamp': 1663864812, 'price': 18352, 'size': 0.01, 'liquidation': False, 'takerSide': 'short'}, {'id': 919, 'marketID': 'BTC-USD', 'timestamp': 1663864710, 'price': 18352, 'size': 0.1, 'liquidation': False, 'takerSide': 'short'}, {'id': 916, 'marketID': 'BTC-USD', 'timestamp': 1663864571, 'price': 18352, 'size': 0.1, 'liquidation': False, 'takerSide': 'short'}, {'id': 913, 'marketID': 'BTC-USD', 'timestamp': 1663864177, 'price': 18352, 'size': 0.1, 'liquidation': False, 'takerSide': 'short'}, {'id': 910, 'marketID': 'BTC-USD', 'timestamp': 1663863803, 'price': 19950, 'size': 0.01, 'liquidation': False, 'takerSide': 'long'}, {'id': 907, 'marketID': 'BTC-USD', 'timestamp': 1663863775, 'price': 18352, 'size': 0.01, 'liquidation': False, 'takerSide': 'short'}, {'id': 904, 'marketID': 'BTC-USD', 'timestamp': 1663863729, 'price': 19950, 'size': 0.01, 'liquidation': False, 'takerSide': 'long'}, {'id': 901, 'marketID': 'BTC-USD', 'timestamp': 1663863065, 'price': 18492, 'size': 0.01, 'liquidation': False, 'takerSide': 'long'}, {'id': 898, 'marketID': 'BTC-USD', 'timestamp': 1663863010, 'price': 19950, 'size': 0.01, 'liquidation': False, 'takerSide': 'long'}, {'id': 892, 'marketID': 'BTC-USD', 'timestamp': 1663860228, 'price': 19000, 'size': 1, 'liquidation': False, 'takerSide': 'short'}, {'id': 889, 'marketID': 'BTC-USD', 'timestamp': 1663860185, 'price': 19000, 'size': 1, 'liquidation': False, 'takerSide': 'short'}, {'id': 886, 'marketID': 'BTC-USD', 'timestamp': 1663859534, 'price': 19000, 'size': 1, 'liquidation': False, 'takerSide': 'short'}]
market_init SOL-USD {'id': 'SOL-USD', 'status': 'active', 'minInitialMargin': 0.05, 'maintenanceMargin': 0.03, 'liquidationMargin': 0.02, 'minTick': 0.0001, 'minOrder': 0.01, 'bestBid': 33, 'bestAsk': 0, 'marketPrice': 33, 'indexPrice': 31.94875, 'lastTradePrice': 33, 'fairPrice': 33.02451612903226, 'instantFundingRate': 0.03493785185907059, 'instantDailyVolume': 132, 'lastFundingRate': 0.03700788300017663, 'marketPrice24hChangePremium': 0.9412499999999966, 'marketPrice24hChangeBasis': 0.029360159082933567, 'marketPrice24hHigh': 33, 'marketPrice24hLow': 33, 'marketVolume24h': 128.8, 'marketVolume24hChangePremium': 125.60000000000001, 'marketVolume24hChangeBasis': 39.25000000000001}
market_init BTC-USD {'id': 'BTC-USD', 'status': 'active', 'minInitialMargin': 0.05, 'maintenanceMargin': 0.03, 'liquidationMargin': 0.02, 'minTick': 1, 'minOrder': 0.0001, 'bestBid': 19000, 'bestAsk': 19950, 'marketPrice': 19475, 'indexPrice': 19056.525, 'lastTradePrice': 19000, 'fairPrice': 19345.718387096775, 'instantFundingRate': 0.012467630555878564, 'instantDailyVolume': 5085874.244599999, 'lastFundingRate': 0.0044839357004183445, 'marketPrice24hChangePremium': -719.5, 'marketPrice24hChangeBasis': -0.03562851271385773, 'marketPrice24hHigh': 19899, 'marketPrice24hLow': 17426, 'marketVolume24h': 1598212.544499999, 'marketVolume24hChangePremium': -1870449.155600001, 'marketVolume24hChangeBasis': -0.539242312257225}
orderbook_init SOL-USD {'marketID': 'SOL-USD', 'bids': [[34.7, 8]], 'asks': [], 'checksum': 'not_implemented', 'timestamp': 1663868951}
market_data BTC-USD {'id': 'BTC-USD', 'status': 'active', 'minInitialMargin': 0.05, 'maintenanceMargin': 0.03, 'liquidationMargin': 0.02, 'minTick': 1, 'minOrder': 0.0001, 'bestBid': 19000, 'bestAsk': 19950, 'marketPrice': 19475, 'indexPrice': 19056.525, 'lastTradePrice': 19000, 'fairPrice': 19345.718387096775, 'instantFundingRate': 0.012467630555878564, 'instantDailyVolume': 5085874.244599999, 'lastFundingRate': 0.0044839357004183445, 'marketPrice24hChangePremium': -719.5, 'marketPrice24hChangeBasis': -0.03562851271385773, 'marketPrice24hHigh': 19899, 'marketPrice24hLow': 17426, 'marketVolume24h': 1598212.544499999, 'marketVolume24hChangePremium': -1870449.155600001, 'marketVolume24hChangeBasis': -0.539242312257225}
market_data SOL-USD {'id': 'SOL-USD', 'status': 'active', 'minInitialMargin': 0.05, 'maintenanceMargin': 0.03, 'liquidationMargin': 0.02, 'minTick': 0.0001, 'minOrder': 0.01, 'bestBid': 33, 'bestAsk': 0, 'marketPrice': 33, 'indexPrice': 31.94875, 'lastTradePrice': 33, 'fairPrice': 33.01951612903226, 'instantFundingRate': 0.03493785185907059, 'instantDailyVolume': 132, 'lastFundingRate': 0.03700788300017663, 'marketPrice24hChangePremium': 0.9412499999999966, 'marketPrice24hChangeBasis': 0.029360159082933567, 'marketPrice24hHigh': 33, 'marketPrice24hLow': 33, 'marketVolume24h': 128.8, 'marketVolume24hChangePremium': 125.60000000000001, 'marketVolume24hChangeBasis': 39.25000000000001}
account_data 19 {'id': 19, 'profileType': '', 'status': 'active', 'walletBalance': 9993604.669432182, 'wallet': '0x8481cb01Ec35d43C116C3c272Fb026e6dD465e08', 'tier': 4, 'rollTradingVolume30': 1558872, 'marketLeverage': {'BTC-USD': 10}, 'accountEquity': 9965885.552481094, 'totalPositionMargin': 48364.295967741935, 'totalOrderMargin': 3500, 'totalNotional': 483642.9596774194, 'accountMargin': 20.60587330606063, 'withdrawableBalance': 9914021.256513352, 'cumUnrealizedPnl': -27719.11695108738, 'health': 1, 'accountLeverage': 0.048529852879658275, 'accountEquity24hChangePremium': -2741.683362448588, 'accountEquity24hChangeBasis': -0.00027503118509542577, 'positions': [{'id': '22fab7a2-957c-4f8a-ad08-c80d47b72b1a', 'marketID': 'BTC-USD', 'profileID': 19, 'size': 25, 'side': 'short', 'avgEntryPrice': 18236.95370905328, 'unrealizedPnl': -27719.11695108738, 'notional': 483642.9596774194, 'margin': 48364.295967741935, 'liquidationPrice': 19476.3583300569, 'fairPrice': 19345.718387096775}], 'fills': [{'id': 939, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 468, 'timestamp': 1663868945, 'tradeID': 937, 'price': 19000, 'size': 1, 'side': 'short', 'isMaker': False, 'fee': -7.03, 'liquidation': False}, {'id': 938, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 467, 'timestamp': 1663868945, 'tradeID': 937, 'price': 19000, 'size': 1, 'side': 'long', 'isMaker': True, 'fee': 1.9000000000000001, 'liquidation': False}, {'id': 936, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 466, 'timestamp': 1663868869, 'tradeID': 934, 'price': 19000, 'size': 1, 'side': 'short', 'isMaker': False, 'fee': -7.03, 'liquidation': False}, {'id': 935, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 465, 'timestamp': 1663868869, 'tradeID': 934, 'price': 19000, 'size': 1, 'side': 'long', 'isMaker': True, 'fee': 1.9000000000000001, 'liquidation': False}, {'id': 933, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 459, 'timestamp': 1663867991, 'tradeID': 931, 'price': 19000, 'size': 1, 'side': 'short', 'isMaker': False, 'fee': -7.03, 'liquidation': False}, {'id': 932, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 458, 'timestamp': 1663867991, 'tradeID': 931, 'price': 19000, 'size': 1, 'side': 'long', 'isMaker': True, 'fee': 1.9000000000000001, 'liquidation': False}, {'id': 930, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 457, 'timestamp': 1663867925, 'tradeID': 928, 'price': 19000, 'size': 1, 'side': 'short', 'isMaker': False, 'fee': -7.03, 'liquidation': False}, {'id': 929, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 456, 'timestamp': 1663867925, 'tradeID': 928, 'price': 19000, 'size': 1, 'side': 'long', 'isMaker': True, 'fee': 1.9000000000000001, 'liquidation': False}, {'id': 894, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 432, 'timestamp': 1663860228, 'tradeID': 892, 'price': 19000, 'size': 1, 'side': 'short', 'isMaker': False, 'fee': -7.03, 'liquidation': False}, {'id': 893, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 431, 'timestamp': 1663860228, 'tradeID': 892, 'price': 19000, 'size': 1, 'side': 'long', 'isMaker': True, 'fee': 1.9000000000000001, 'liquidation': False}], 'orders': [{'id': 425, 'profileID': 19, 'marketID': 'BTC-USD', 'type': 'limit', 'status': 'open', 'price': 18000, 'remainingSize': 1, 'initialSize': 1, 'totalFilledSize': 0, 'side': 'long', 'createdAt': 1663859512, 'reason': '', 'lastAction': 'limit'}, {'id': 313, 'profileID': 19, 'marketID': 'BTC-USD', 'type': 'limit', 'status': 'open', 'price': 17000, 'remainingSize': 1, 'initialSize': 1, 'totalFilledSize': 0, 'side': 'long', 'createdAt': 1663848607, 'reason': '', 'lastAction': 'limit'}], 'balanceOperations': [{'id': 2229, 'profileID': 19, 'opsType': 'fee', 'amount': -7.03, 'timestamp': 3831078023662}, {'id': 2228, 'profileID': 19, 'opsType': 'fee', 'amount': 1.9000000000000001, 'timestamp': 3831078023662}, {'id': 2227, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -794.839886402835, 'timestamp': 3831078023662}, {'id': 2226, 'profileID': 19, 'opsType': 'fee', 'amount': -7.03, 'timestamp': 3831002804116}, {'id': 2225, 'profileID': 19, 'opsType': 'fee', 'amount': 1.9000000000000001, 'timestamp': 3831002804116}, {'id': 2224, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -827.9582150029528, 'timestamp': 3831002804116}, {'id': 2223, 'profileID': 19, 'opsType': 'fee', 'amount': -7.03, 'timestamp': 3830124680743}, {'id': 2222, 'profileID': 19, 'opsType': 'fee', 'amount': 1.9000000000000001, 'timestamp': 3830124680743}, {'id': 2221, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -862.4564739614107, 'timestamp': 3830124680743}, {'id': 2220, 'profileID': 19, 'opsType': 'fee', 'amount': -7.03, 'timestamp': 3830058747870}, {'id': 2219, 'profileID': 19, 'opsType': 'fee', 'amount': 1.9000000000000001, 'timestamp': 3830058747870}, {'id': 2218, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -898.3921603764684, 'timestamp': 3830058747870}, {'id': 2194, 'profileID': 19, 'opsType': 'funding_pnl', 'amount': 2146.796314967793, 'timestamp': 3828239189875}, {'id': 2149, 'profileID': 19, 'opsType': 'funding_pnl', 'amount': 4869.081779661017, 'timestamp': 3824639189396}, {'id': 2145, 'profileID': 19, 'opsType': 'fee', 'amount': -7.03, 'timestamp': 3822361035725}, {'id': 2144, 'profileID': 19, 'opsType': 'fee', 'amount': 1.9000000000000001, 'timestamp': 3822361035725}, {'id': 2143, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -935.8251670588215, 'timestamp': 3822361035725}, {'id': 2142, 'profileID': 19, 'opsType': 'fee', 'amount': -7.03, 'timestamp': 3822317928184}, {'id': 2141, 'profileID': 19, 'opsType': 'fee', 'amount': 1.9000000000000001, 'timestamp': 3822317928184}, {'id': 2140, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -974.8178823529379, 'timestamp': 3822317928184}, {'id': 2139, 'profileID': 19, 'opsType': 'fee', 'amount': -7.03, 'timestamp': 3821667230293}, {'id': 2138, 'profileID': 19, 'opsType': 'fee', 'amount': 1.9000000000000001, 'timestamp': 3821667230293}, {'id': 2137, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -1015.4352941176439, 'timestamp': 3821667230293}, {'id': 2117, 'profileID': 19, 'opsType': 'funding_pnl', 'amount': -4773.46806451613, 'timestamp': 3821039203930}, {'id': 2115, 'profileID': 19, 'opsType': 'fee', 'amount': -6.79024, 'timestamp': 3819975015184}, {'id': 2113, 'profileID': 19, 'opsType': 'fee', 'amount': -6.79024, 'timestamp': 3819952927799}, {'id': 2111, 'profileID': 19, 'opsType': 'fee', 'amount': -6.79024, 'timestamp': 3819926765644}, {'id': 2109, 'profileID': 19, 'opsType': 'fee', 'amount': -6.79024, 'timestamp': 3819783385712}, {'id': 2107, 'profileID': 19, 'opsType': 'fee', 'amount': -6.79024, 'timestamp': 3819760606070}, {'id': 2105, 'profileID': 19, 'opsType': 'fee', 'amount': -6.79024, 'timestamp': 3819734514712}, {'id': 2103, 'profileID': 19, 'opsType': 'fee', 'amount': -6.79024, 'timestamp': 3819711533772}, {'id': 2101, 'profileID': 19, 'opsType': 'fee', 'amount': -6.79024, 'timestamp': 3819684769493}, {'id': 2095, 'profileID': 19, 'opsType': 'fee', 'amount': 1.8, 'timestamp': 3818520672603}, {'id': 2093, 'profileID': 19, 'opsType': 'fee', 'amount': 1.8, 'timestamp': 3818520672603}, {'id': 2091, 'profileID': 19, 'opsType': 'fee', 'amount': 1.8, 'timestamp': 3818520672603}, {'id': 2089, 'profileID': 19, 'opsType': 'fee', 'amount': 1.8, 'timestamp': 3818520672603}, {'id': 2087, 'profileID': 19, 'opsType': 'fee', 'amount': 1.8, 'timestamp': 3818520672603}, {'id': 2056, 'profileID': 19, 'opsType': 'funding_pnl', 'amount': -2097.36, 'timestamp': 3817439203082}, {'id': 2054, 'profileID': 19, 'opsType': 'fee', 'amount': -6.58304, 'timestamp': 3816536051702}, {'id': 2052, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -58.823529411769414, 'timestamp': 3816536051702}, {'id': 2050, 'profileID': 19, 'opsType': 'fee', 'amount': -6.58304, 'timestamp': 3816442926961}, {'id': 2048, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -58.823529411769414, 'timestamp': 3816442926961}, {'id': 2046, 'profileID': 19, 'opsType': 'fee', 'amount': -6.58304, 'timestamp': 3816414375934}, {'id': 2044, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -58.823529411769414, 'timestamp': 3816414375934}, {'id': 2042, 'profileID': 19, 'opsType': 'fee', 'amount': -6.58304, 'timestamp': 3816370676962}, {'id': 2040, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -58.823529411769414, 'timestamp': 3816370676962}, {'id': 2038, 'profileID': 19, 'opsType': 'fee', 'amount': -6.58304, 'timestamp': 3816345692943}, {'id': 2036, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -58.823529411769414, 'timestamp': 3816345692943}, {'id': 2023, 'profileID': 19, 'opsType': 'fee', 'amount': -7.03, 'timestamp': 3815077290981}, {'id': 2022, 'profileID': 19, 'opsType': 'fee', 'amount': 1.9000000000000001, 'timestamp': 3815077290981}, {'id': 2021, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -1346.0000000000036, 'timestamp': 3815077290981}, {'id': 2016, 'profileID': 19, 'opsType': 'fee', 'amount': -6.64298, 'timestamp': 3814385447890}, {'id': 2014, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -300.00000000000364, 'timestamp': 3814385447890}, {'id': 1968, 'profileID': 19, 'opsType': 'funding_pnl', 'amount': -3396.8088000000002, 'timestamp': 3813839188850}, {'id': 1902, 'profileID': 19, 'opsType': 'fee', 'amount': -6.81688, 'timestamp': 3811162953280}, {'id': 1900, 'profileID': 19, 'opsType': 'fee', 'amount': -6.81688, 'timestamp': 3811134971718}, {'id': 1898, 'profileID': 19, 'opsType': 'fee', 'amount': -6.81688, 'timestamp': 3811119824989}, {'id': 1887, 'profileID': 19, 'opsType': 'fee', 'amount': -6.81688, 'timestamp': 3810829698286}, {'id': 1885, 'profileID': 19, 'opsType': 'fee', 'amount': -6.81688, 'timestamp': 3810813516812}, {'id': 1883, 'profileID': 19, 'opsType': 'fee', 'amount': -6.81688, 'timestamp': 3810797527975}]}
market_data BTC-USD {'id': 'BTC-USD', 'status': 'active', 'minInitialMargin': 0.05, 'maintenanceMargin': 0.03, 'liquidationMargin': 0.02, 'minTick': 1, 'minOrder': 0.0001, 'bestBid': 19000, 'bestAsk': 19950, 'marketPrice': 19475, 'indexPrice': 19056.525, 'lastTradePrice': 19000, 'fairPrice': 19345.718387096775, 'instantFundingRate': 0.012467630555878564, 'instantDailyVolume': 5085874.244599999, 'lastFundingRate': 0.0044839357004183445, 'marketPrice24hChangePremium': -719.5, 'marketPrice24hChangeBasis': -0.03562851271385773, 'marketPrice24hHigh': 19899, 'marketPrice24hLow': 17426, 'marketVolume24h': 1598212.544499999, 'marketVolume24hChangePremium': -1870449.155600001, 'marketVolume24hChangeBasis': -0.539242312257225}
market_data SOL-USD {'id': 'SOL-USD', 'status': 'active', 'minInitialMargin': 0.05, 'maintenanceMargin': 0.03, 'liquidationMargin': 0.02, 'minTick': 0.0001, 'minOrder': 0.01, 'bestBid': 33, 'bestAsk': 0, 'marketPrice': 33, 'indexPrice': 31.956249999999997, 'lastTradePrice': 33, 'fairPrice': 33.027016129032255, 'instantFundingRate': 0.03493785185907059, 'instantDailyVolume': 132, 'lastFundingRate': 0.03700788300017663, 'marketPrice24hChangePremium': 0.9412499999999966, 'marketPrice24hChangeBasis': 0.029360159082933567, 'marketPrice24hHigh': 33, 'marketPrice24hLow': 33, 'marketVolume24h': 128.8, 'marketVolume24hChangePremium': 125.60000000000001, 'marketVolume24hChangeBasis': 39.25000000000001}
account_data 19 {'id': 19, 'profileType': '', 'status': 'active', 'walletBalance': 9993604.669432182, 'wallet': '0x8481cb01Ec35d43C116C3c272Fb026e6dD465e08', 'tier': 4, 'rollTradingVolume30': 1558872, 'marketLeverage': {'BTC-USD': 10}, 'accountEquity': 9965885.552481094, 'totalPositionMargin': 48364.295967741935, 'totalOrderMargin': 3500, 'totalNotional': 483642.9596774194, 'accountMargin': 20.60587330606063, 'withdrawableBalance': 9914021.256513352, 'cumUnrealizedPnl': -27719.11695108738, 'health': 1, 'accountLeverage': 0.048529852879658275, 'accountEquity24hChangePremium': -2741.683362448588, 'accountEquity24hChangeBasis': -0.00027503118509542577, 'positions': [{'id': '22fab7a2-957c-4f8a-ad08-c80d47b72b1a', 'marketID': 'BTC-USD', 'profileID': 19, 'size': 25, 'side': 'short', 'avgEntryPrice': 18236.95370905328, 'unrealizedPnl': -27719.11695108738, 'notional': 483642.9596774194, 'margin': 48364.295967741935, 'liquidationPrice': 19476.3583300569, 'fairPrice': 19345.718387096775}], 'fills': [{'id': 939, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 468, 'timestamp': 1663868945, 'tradeID': 937, 'price': 19000, 'size': 1, 'side': 'short', 'isMaker': False, 'fee': -7.03, 'liquidation': False}, {'id': 938, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 467, 'timestamp': 1663868945, 'tradeID': 937, 'price': 19000, 'size': 1, 'side': 'long', 'isMaker': True, 'fee': 1.9000000000000001, 'liquidation': False}, {'id': 936, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 466, 'timestamp': 1663868869, 'tradeID': 934, 'price': 19000, 'size': 1, 'side': 'short', 'isMaker': False, 'fee': -7.03, 'liquidation': False}, {'id': 935, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 465, 'timestamp': 1663868869, 'tradeID': 934, 'price': 19000, 'size': 1, 'side': 'long', 'isMaker': True, 'fee': 1.9000000000000001, 'liquidation': False}, {'id': 933, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 459, 'timestamp': 1663867991, 'tradeID': 931, 'price': 19000, 'size': 1, 'side': 'short', 'isMaker': False, 'fee': -7.03, 'liquidation': False}, {'id': 932, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 458, 'timestamp': 1663867991, 'tradeID': 931, 'price': 19000, 'size': 1, 'side': 'long', 'isMaker': True, 'fee': 1.9000000000000001, 'liquidation': False}, {'id': 930, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 457, 'timestamp': 1663867925, 'tradeID': 928, 'price': 19000, 'size': 1, 'side': 'short', 'isMaker': False, 'fee': -7.03, 'liquidation': False}, {'id': 929, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 456, 'timestamp': 1663867925, 'tradeID': 928, 'price': 19000, 'size': 1, 'side': 'long', 'isMaker': True, 'fee': 1.9000000000000001, 'liquidation': False}, {'id': 894, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 432, 'timestamp': 1663860228, 'tradeID': 892, 'price': 19000, 'size': 1, 'side': 'short', 'isMaker': False, 'fee': -7.03, 'liquidation': False}, {'id': 893, 'profileID': 19, 'marketID': 'BTC-USD', 'orderID': 431, 'timestamp': 1663860228, 'tradeID': 892, 'price': 19000, 'size': 1, 'side': 'long', 'isMaker': True, 'fee': 1.9000000000000001, 'liquidation': False}], 'orders': [{'id': 425, 'profileID': 19, 'marketID': 'BTC-USD', 'type': 'limit', 'status': 'open', 'price': 18000, 'remainingSize': 1, 'initialSize': 1, 'totalFilledSize': 0, 'side': 'long', 'createdAt': 1663859512, 'reason': '', 'lastAction': 'limit'}, {'id': 313, 'profileID': 19, 'marketID': 'BTC-USD', 'type': 'limit', 'status': 'open', 'price': 17000, 'remainingSize': 1, 'initialSize': 1, 'totalFilledSize': 0, 'side': 'long', 'createdAt': 1663848607, 'reason': '', 'lastAction': 'limit'}], 'balanceOperations': [{'id': 2229, 'profileID': 19, 'opsType': 'fee', 'amount': -7.03, 'timestamp': 3831078023662}, {'id': 2228, 'profileID': 19, 'opsType': 'fee', 'amount': 1.9000000000000001, 'timestamp': 3831078023662}, {'id': 2227, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -794.839886402835, 'timestamp': 3831078023662}, {'id': 2226, 'profileID': 19, 'opsType': 'fee', 'amount': -7.03, 'timestamp': 3831002804116}, {'id': 2225, 'profileID': 19, 'opsType': 'fee', 'amount': 1.9000000000000001, 'timestamp': 3831002804116}, {'id': 2224, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -827.9582150029528, 'timestamp': 3831002804116}, {'id': 2223, 'profileID': 19, 'opsType': 'fee', 'amount': -7.03, 'timestamp': 3830124680743}, {'id': 2222, 'profileID': 19, 'opsType': 'fee', 'amount': 1.9000000000000001, 'timestamp': 3830124680743}, {'id': 2221, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -862.4564739614107, 'timestamp': 3830124680743}, {'id': 2220, 'profileID': 19, 'opsType': 'fee', 'amount': -7.03, 'timestamp': 3830058747870}, {'id': 2219, 'profileID': 19, 'opsType': 'fee', 'amount': 1.9000000000000001, 'timestamp': 3830058747870}, {'id': 2218, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -898.3921603764684, 'timestamp': 3830058747870}, {'id': 2194, 'profileID': 19, 'opsType': 'funding_pnl', 'amount': 2146.796314967793, 'timestamp': 3828239189875}, {'id': 2149, 'profileID': 19, 'opsType': 'funding_pnl', 'amount': 4869.081779661017, 'timestamp': 3824639189396}, {'id': 2145, 'profileID': 19, 'opsType': 'fee', 'amount': -7.03, 'timestamp': 3822361035725}, {'id': 2144, 'profileID': 19, 'opsType': 'fee', 'amount': 1.9000000000000001, 'timestamp': 3822361035725}, {'id': 2143, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -935.8251670588215, 'timestamp': 3822361035725}, {'id': 2142, 'profileID': 19, 'opsType': 'fee', 'amount': -7.03, 'timestamp': 3822317928184}, {'id': 2141, 'profileID': 19, 'opsType': 'fee', 'amount': 1.9000000000000001, 'timestamp': 3822317928184}, {'id': 2140, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -974.8178823529379, 'timestamp': 3822317928184}, {'id': 2139, 'profileID': 19, 'opsType': 'fee', 'amount': -7.03, 'timestamp': 3821667230293}, {'id': 2138, 'profileID': 19, 'opsType': 'fee', 'amount': 1.9000000000000001, 'timestamp': 3821667230293}, {'id': 2137, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -1015.4352941176439, 'timestamp': 3821667230293}, {'id': 2117, 'profileID': 19, 'opsType': 'funding_pnl', 'amount': -4773.46806451613, 'timestamp': 3821039203930}, {'id': 2115, 'profileID': 19, 'opsType': 'fee', 'amount': -6.79024, 'timestamp': 3819975015184}, {'id': 2113, 'profileID': 19, 'opsType': 'fee', 'amount': -6.79024, 'timestamp': 3819952927799}, {'id': 2111, 'profileID': 19, 'opsType': 'fee', 'amount': -6.79024, 'timestamp': 3819926765644}, {'id': 2109, 'profileID': 19, 'opsType': 'fee', 'amount': -6.79024, 'timestamp': 3819783385712}, {'id': 2107, 'profileID': 19, 'opsType': 'fee', 'amount': -6.79024, 'timestamp': 3819760606070}, {'id': 2105, 'profileID': 19, 'opsType': 'fee', 'amount': -6.79024, 'timestamp': 3819734514712}, {'id': 2103, 'profileID': 19, 'opsType': 'fee', 'amount': -6.79024, 'timestamp': 3819711533772}, {'id': 2101, 'profileID': 19, 'opsType': 'fee', 'amount': -6.79024, 'timestamp': 3819684769493}, {'id': 2095, 'profileID': 19, 'opsType': 'fee', 'amount': 1.8, 'timestamp': 3818520672603}, {'id': 2093, 'profileID': 19, 'opsType': 'fee', 'amount': 1.8, 'timestamp': 3818520672603}, {'id': 2091, 'profileID': 19, 'opsType': 'fee', 'amount': 1.8, 'timestamp': 3818520672603}, {'id': 2089, 'profileID': 19, 'opsType': 'fee', 'amount': 1.8, 'timestamp': 3818520672603}, {'id': 2087, 'profileID': 19, 'opsType': 'fee', 'amount': 1.8, 'timestamp': 3818520672603}, {'id': 2056, 'profileID': 19, 'opsType': 'funding_pnl', 'amount': -2097.36, 'timestamp': 3817439203082}, {'id': 2054, 'profileID': 19, 'opsType': 'fee', 'amount': -6.58304, 'timestamp': 3816536051702}, {'id': 2052, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -58.823529411769414, 'timestamp': 3816536051702}, {'id': 2050, 'profileID': 19, 'opsType': 'fee', 'amount': -6.58304, 'timestamp': 3816442926961}, {'id': 2048, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -58.823529411769414, 'timestamp': 3816442926961}, {'id': 2046, 'profileID': 19, 'opsType': 'fee', 'amount': -6.58304, 'timestamp': 3816414375934}, {'id': 2044, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -58.823529411769414, 'timestamp': 3816414375934}, {'id': 2042, 'profileID': 19, 'opsType': 'fee', 'amount': -6.58304, 'timestamp': 3816370676962}, {'id': 2040, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -58.823529411769414, 'timestamp': 3816370676962}, {'id': 2038, 'profileID': 19, 'opsType': 'fee', 'amount': -6.58304, 'timestamp': 3816345692943}, {'id': 2036, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -58.823529411769414, 'timestamp': 3816345692943}, {'id': 2023, 'profileID': 19, 'opsType': 'fee', 'amount': -7.03, 'timestamp': 3815077290981}, {'id': 2022, 'profileID': 19, 'opsType': 'fee', 'amount': 1.9000000000000001, 'timestamp': 3815077290981}, {'id': 2021, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -1346.0000000000036, 'timestamp': 3815077290981}, {'id': 2016, 'profileID': 19, 'opsType': 'fee', 'amount': -6.64298, 'timestamp': 3814385447890}, {'id': 2014, 'profileID': 19, 'opsType': 'realized_pnl', 'amount': -300.00000000000364, 'timestamp': 3814385447890}, {'id': 1968, 'profileID': 19, 'opsType': 'funding_pnl', 'amount': -3396.8088000000002, 'timestamp': 3813839188850}, {'id': 1902, 'profileID': 19, 'opsType': 'fee', 'amount': -6.81688, 'timestamp': 3811162953280}, {'id': 1900, 'profileID': 19, 'opsType': 'fee', 'amount': -6.81688, 'timestamp': 3811134971718}, {'id': 1898, 'profileID': 19, 'opsType': 'fee', 'amount': -6.81688, 'timestamp': 3811119824989}, {'id': 1887, 'profileID': 19, 'opsType': 'fee', 'amount': -6.81688, 'timestamp': 3810829698286}, {'id': 1885, 'profileID': 19, 'opsType': 'fee', 'amount': -6.81688, 'timestamp': 3810813516812}, {'id': 1883, 'profileID': 19, 'opsType': 'fee', 'amount': -6.81688, 'timestamp': 3810797527975}]}

About

RabbitX Python Client (Unofficial)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages