working aster triggers extend

This commit is contained in:
2026-04-28 22:40:35 +00:00
parent 7d55712278
commit 8f3f7c6667
7 changed files with 12021 additions and 998 deletions

View File

@@ -27,7 +27,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 2,
"id": "ff971ca9",
"metadata": {},
"outputs": [],
@@ -59,7 +59,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": null,
"id": "c366706f",
"metadata": {},
"outputs": [
@@ -93,6 +93,7 @@
" price=ORDER_PRICE,\n",
" side=ORDER_SIDE,\n",
" taker_fee=Decimal(\"0.00025\"),\n",
" post_only=True,\n",
" # previous_order_id='1295034892466447624365619416628580523728221205816494340545831832663414858661'\n",
")"
]
@@ -133,9 +134,37 @@
"metadata": {},
"outputs": [],
"source": [
"d = await trading_client.account.get_positions_history()"
"d = await trading_client.account.get_positions()"
]
},
{
"cell_type": "code",
"execution_count": 8,
"id": "ade14392",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"{'status': 'OK', 'data': [], 'error': None, 'pagination': None}"
]
},
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"dict(d)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 12,