added extend symbol change for ws

This commit is contained in:
2026-04-30 04:32:49 +00:00
parent dc3409ac40
commit 1ac0909c21
20 changed files with 28960 additions and 1221 deletions

View File

@@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 2,
"id": "6c70a8c3",
"metadata": {},
"outputs": [],
@@ -27,7 +27,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 3,
"id": "ff971ca9",
"metadata": {},
"outputs": [],
@@ -49,19 +49,10 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 4,
"id": "fc2c6d2b",
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"Unclosed client session\n",
"client_session: <aiohttp.client.ClientSession object at 0x7b2dc26ba850>\n"
]
}
],
"outputs": [],
"source": [
"client, trading_client = await extend_auth.create_auth_account_and_trading_client()"
]
@@ -146,7 +137,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 5,
"id": "8dd8aa73",
"metadata": {},
"outputs": [],
@@ -156,23 +147,44 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 7,
"id": "50bb753e",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"x10.utils.http.WrappedApiResponse[List[PositionModel]]"
]
},
"execution_count": 7,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"type(d)"
]
},
{
"cell_type": "code",
"execution_count": 10,
"id": "ade14392",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"{'status': 'OK', 'data': [], 'error': None, 'pagination': None}"
"list"
]
},
"execution_count": 8,
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"dict(d)"
"type(dict(d).get('data'))"
]
},
{