Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- warning: File "/usr/local/go/src/runtime/runtime-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
- [New Thread 0x7ffff5a00640 (LWP 719355)]
- [New Thread 0x7fffede00640 (LWP 719356)]
- [New Thread 0x7fffed400640 (LWP 719357)]
- [New Thread 0x7fff9fe00640 (LWP 719359)]
- [New Thread 0x7fffeca00640 (LWP 719358)]
- [New Thread 0x7fff9f400640 (LWP 719360)]
- [New Thread 0x7fff9ea00640 (LWP 719361)]
- [New Thread 0x7fff9e000640 (LWP 719362)]
- 2024/11/08 13:58:58 init Nonce: 32
- 2024/11/08 13:58:58 bind contract 0x6b965968fbc6ff0d2ed7cb1cb38c1c1bbe0327b4
- 2024/11/08 13:58:58 bind contract 0x1a9f5fd1b36f8d1e03f0ff6eabbbb268f053033e
- 2024/11/08 13:58:58 bind contract 0x6fcb55c09671bd0d28b5a0e9d303793ac005f19c
- 2024/11/08 13:58:58 bind contract 0x762d3d096b9a74f4d3adf2b0824456ef8fce5daa
- 2024/11/08 13:58:58 bind contract 0x8f3cf7ad23cd3cadbd9735aff958023239c6a063
- 2024/11/08 13:58:58 bind contract 0x0000000000000000000000000000000000001010
- [New Thread 0x7ffff4800640 (LWP 719374)]
- {"type": "FORCE_DEX", "txIndex": "0", "name": "HC/DAI", "baseAsset": "0x762d3d096b9a74f4d3adf2b0824456ef8fce5daa", "baseAssetDecimals": "18", "quoteAssetDecimals": "18", "chainId": "matic", "createdAt": "0001-01-01T00:00:00.000Z", "deployedBlock": "59522571", "updatedAt": "2024-11-08T13:58:53.675Z", "txHash": "0x306571d8352b418b85a88243349ea726074e68360603982196c46eeff8dbc9e0", "address": "0x6b965968fbc6ff0d2ed7cb1cb38c1c1bbe0327b4", "lastSyncedBlock": "64036937", "id": "1100ce7d-7e16-4a40-9aba-1ecc883b1f7e", "quoteAsset": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063", "symbol": "HCDAI"}
- {"userId": "1245312", "error": "ok"}
- user_id: 1245312
- authentification was completed
- API 0x55555596efd0
- run forever balance 0x55555596efd0
- {"type": "DEX", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "MATIC", "free": 2.24087, "locked": 0, "wallet": 0, "update_time": 1731074340704}, {"asset": "HC", "free": 376.416, "locked": 0, "wallet": 0, "update_time": 1731074340704}, {"asset": "DAI", "free": 2919.62, "locked": 0, "wallet": 0, "update_time": 1731074340704}]}
- [New Thread 0x7fff9d600640 (LWP 719382)]
- get balance indicator 0x55555596f170
- trader {"symbol": "HCDAI", "account": "MFS_1", "market": "MFS_DEX", "logger": {"severity_level": "DEBUG"}, "execution": {"print_ws_events": "1", "cancel_on_start": "0", "timeout": "16000"}, "data": {"print_ws_events": "0", "use_part_depth": "true", "events": ["ORDER_BOOK"]}}
- >:)
- auth token: eyJhbG
- get_open_orders_wrapper::request_filler
- auth token: eyJhbG
- _fill_order 6300000000000000000/23171400000000000000/BUY 5439221958491864869
- already opened {"symbol": "HCDAI", "coid": 5439221958491864869, {"dex_order_id": "927367", "order_id": "f0b26900-fb08-4a8d-825b-08696efa45f8", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 6.300000, "quantity": 23.171400, "filled_quantity": 0.000000, "update_time": 1731074078000}
- [New Thread 0x7fff9cc00640 (LWP 719383)]
- Execution was constructed
- Trader was created
- [New Thread 0x7fff8fe00640 (LWP 719384)]
- [New Thread 0x7fff8f400640 (LWP 719385)]
- subscription stream: ACCOUNT_BALANCE
- no account balance subscription
- subscription stream: PART_DEPTH
- subscription stream: ACCOUNT_ORDER
- subscription stream: ACCOUNT_TRADE
- [New Thread 0x7fff8ea00640 (LWP 719386)]
- [New Thread 0x7fff8e000640 (LWP 719387)]
- {"asset": "MATIC", "free": 2.24087, "locked": 0, "wallet": 0, "update_time": 1731074341466}
- {"asset": "HC", "free": 376.416, "locked": 0, "wallet": 0, "update_time": 1731074341466}
- {"asset": "DAI", "free": 2919.62, "locked": 0, "wallet": 0, "update_time": 1731074341466}
- {"payload": {"query": "subscription onMyForceDexOrdersUpdated($userId: BigInt!, $pairId: UUID!) { onMyForceDexOrdersUpdated(userId: $userId, pairId: $pairId) { createdAt direction orderNumber id initialQuantity pairId price quantity status type userId }}", "operationName": "onMyForceDexOrdersUpdated", "extensions": {}, "variables": {"userId": "1245312", "pairId": "1100ce7d-7e16-4a40-9aba-1ecc883b1f7e"}}, "type": "subscribe", "id": "1731074341393002"}
- {"payload": {"query": "subscription onForceDexOrdersBookUpdated($pairId: UUID!) { onForceDexOrdersBookUpdated(pairId: $pairId) { lines { direction quantity price __typename } __typename }}", "operationName": "onForceDexOrdersBookUpdated", "extensions": {}, "variables": {"pairId": "1100ce7d-7e16-4a40-9aba-1ecc883b1f7e"}}, "type": "subscribe", "id": "1731074341393001"}
- feed.at("type").s() != ping{"type": "connection_ack"}
- feed.at("type").s() != ping{"type": "connection_ack"}
- stream = onForceDexOrdersBookUpdated
- [ 2024-11-08-13-59-07 ] MESSAGE: calculate orders mid price = 7.020000
- [ 2024-11-08-13-59-07 ] INFO base balance: {"asset": "HC", "free": 376.416, "locked": 0, "wallet": 0, "update_time": 1731074341466}
- [ 2024-11-08-13-59-07 ] INFO quote balance: {"asset": "DAI", "free": 2919.62, "locked": 0, "wallet": 0, "update_time": 1731074341466}
- [ 2024-11-08-13-59-07 ] MESSAGE: calculate and ticks 140
- [ 2024-11-08-13-59-07 ] MESSAGE: sell 7.720000 18.820785
- [ 2024-11-08-13-59-07 ] MESSAGE: buy 6.310000 23.134826
- [ 2024-11-08-13-59-07 ] INFO portfolio: OrderEvent: delta=1.73098e+11, symbol="HCDAI", type="LIMIT_GRID", priority=default, asks: [(7.72, 18.8208); ], bids: [(6.31, 23.1348); ]
- [ 2024-11-08-13-59-07 ] MESSAGE: position quote: 0.000000max pos: 20.000000
- [ 2024-11-08-13-59-07 ] MESSAGE: max pos is not exceeded
- [ 2024-11-08-13-59-07 ] DEBUG overall risk checker res: OrderEvent: delta=1.73098e+11, symbol="HCDAI", type="LIMIT_GRID", priority=default, asks: [(7.72, 18.8208); ], bids: [(6.31, 23.1348); ]
- [ 2024-11-08-13-59-07 ] INFO execution order event process: OrderEvent: delta=1.73098e+11, symbol="HCDAI", type="LIMIT_GRID", priority=default, asks: [(7.72, 18.8208); ], bids: [(6.31, 23.1348); ]
- [ 2024-11-08-13-59-07 ] MESSAGE: LIMIT GRID
- [ 2024-11-08-13-59-07 ] DEBUG in _process_limit_grid: 7.72
- [ 2024-11-08-13-59-07 ] DEBUG in _process_limit_grid: 18.8208
- [ 2024-11-08-13-59-07 ] DEBUG in _process_limit_grid: 6.31
- [ 2024-11-08-13-59-07 ] DEBUG in _process_limit_grid: 23.1348
- [ 2024-11-08-13-59-07 ] DEBUG @#*&* : {"symbol": "HCDAI", "price": 6.310000, "quantity": 23.134800, "type": "LIMIT", "side": "BUY"}
- [ 2024-11-08-13-59-07 ] DEBUG @#*&* : {"symbol": "HCDAI", "price": 7.720000, "quantity": 18.820800, "type": "LIMIT", "side": "SELL"}
- [ 2024-11-08-13-59-07 ] MESSAGE: csize: 1
- [New Thread 0x7fff8d600640 (LWP 719406)]
- index_order_id 6310000000000000000/23134800000000000000/BUY 5647907520329827670
- [ 2024-11-08-13-59-07 ] DEBUG ! cancel: {"symbol": "HCDAI", "coid": 5439221958491864869, {"dex_order_id": "927367", "order_id": "f0b26900-fb08-4a8d-825b-08696efa45f8", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 6.300000, "quantity": 23.171400, "filled_quantity": 0.000000[New Thread 0x7fff8cc00640 (LWP 719407)]
- , "update_time": 1731074078000}
- cancel_order_wrapper::execute
- index_order_id 7720000000000000000/18820800000000000000/SELL 15431391249033006881
- [ 2024-11-08-13-59-07 ] DEBUG ! new: {"symbol": "HCDAI", "price": 6.310000, "quantity": 23.134800, "client_order_id": 5647907520329827670, "type": "LIMIT", "side": "BUY"}
- ! new api API 0x55555596efd0
- order_request_t {"symbol": "HCDAI", "price": 6.310000, "quantity": 23.134800, "client_order_id": 5647907520329827670, "type": "LIMIT", "side": "BUY"}
- 2024/11/08 13:59:07 extends args: {}
- 2024/11/08 13:59:07 args: {"orderId": "927367"}
- 2024/11/08 13:59:07 waiting time: 0 ; net timeout after waiting = 120000 ms
- quantity 231348
- [New Thread 0x7fff83e00640 (LWP 719408)]
- new_order_wrapper::execute
- {"ext_params": {"timeout": "16000", "priority": "0"}, "params": {"quantity": "23134800000000000000", "price": "6310000000000000000", "orderType": "0", "isBid": "true"}, "function_name": "createOrder", "address": "0x6B965968FBc6ff0D2eD7CB1Cb38C1C1bbE0327B4"}
- [ 2024-11-08-13-59-07 ] DEBUG ! new: {"symbol": "HCDAI", "price": 7.720000, "quantity": 18.820800, "client_order_id": 15431391249033006881, "type": "LIMIT", "side": "SELL"}2024/11/08 13:59:07 extends args: {"timeout": "16000", "priority": "0"}
- 2024/11/08 13:59:07 args: {"quantity": "23134800000000000000", "price": "6310000000000000000", "orderType": "0", "isBid": "true"}
- ! new api API 0x55555596efd0
- order_request_t {"symbol": "HCDAI", "price": 7.720000, "quantity": 18.820800, "client_order_id": 15431391249033006881, "type": "LIMIT", "side": "SELL"}
- quantity 188208
- new_order_wrapper::execute
- {"ext_params": {"timeout": "16000", "priority": "0"}, "params": {"quantity": "18820800000000000000", "price": "7720000000000000000", "orderType": "0", "isBid": "false"}, "function_name": "createOrder", "address": "0x6B965968FBc6ff0D2eD7CB1Cb38C1C1bbE0327B4"}
- 2024/11/08 13:59:07 extends args: {"timeout": "16000", "priority": "0"}
- 2024/11/08 13:59:07 args: {"quantity": "18820800000000000000", "price": "7720000000000000000", "orderType": "0", "isBid": "false"}
- 2024/11/08 13:59:08 nonce: 32
- 2024/11/08 13:59:08 gas price = 63129089586
- 2024/11/08 13:59:08 TX Hash: 0x4ede5b10d0c30ca562e11cbecabc15abe550967712567fde4c9d542fc46e75f0 ; Nonce: 32
- [Thread 0x7ffff4800640 (LWP 719374) exited]
- {"asset": "MATIC", "free": 2.24087, "locked": 0, "wallet": 0, "update_time": 1731074352229}
- {"asset": "HC", "free": 376.416, "locked": 0, "wallet": 0, "update_time": 1731074352229}
- {"asset": "DAI", "free": 2919.62, "locked": 0, "wallet": 0, "update_time": 1731074352229}
- stream = onForceDexOrdersBookUpdated
- {"asset": "MATIC", "free": 2.24087, "locked": 0, "wallet": 0, "update_time": 1731074362990}
- {"asset": "HC", "free": 376.416, "locked": 0, "wallet": 0, "update_time": 1731074362990}
- {"asset": "DAI", "free": 2919.62, "locked": 0, "wallet": 0, "update_time": 1731074362990}
- stream = onForceDexOrdersBookUpdated
- {"asset": "MATIC", "free": 2.24087, "locked": 0, "wallet": 0, "update_time": 1731074373810}
- {"asset": "HC", "free": 376.416, "locked": 0, "wallet": 0, "update_time": 1731074373810}
- {"asset": "DAI", "free": 2919.62, "locked": 0, "wallet": 0, "update_time": 1731074373810}
- stream = onForceDexOrdersBookUpdated
- {"asset": "MATIC", "free": 2.24087, "locked": 0, "wallet": 0, "update_time": 1731074384587}
- {"asset": "HC", "free": 376.416, "locked": 0, "wallet": 0, "update_time": 1731074384587}
- {"asset": "DAI", "free": 2919.62, "locked": 0, "wallet": 0, "update_time": 1731074384587}
- {"asset": "MATIC", "free": 2.24087, "locked": 0, "wallet": 0, "update_time": 1731074395348}
- {"asset": "HC", "free": 376.416, "locked": 0, "wallet": 0, "update_time": 1731074395348}
- {"asset": "DAI", "free": 2919.62, "locked": 0, "wallet": 0, "update_time": 1731074395348}
- stream = onForceDexOrdersBookUpdated
- {"asset": "MATIC", "free": 2.24087, "locked": 0, "wallet": 0, "update_time": 1731074406129}
- {"asset": "HC", "free": 376.416, "locked": 0, "wallet": 0, "update_time": 1731074406129}
- {"asset": "DAI", "free": 2919.62, "locked": 0, "wallet": 0, "update_time": 1731074406129}
- {"asset": "MATIC", "free": 2.24087, "locked": 0, "wallet": 0, "update_time": 1731074416895}
- {"asset": "HC", "free": 376.416, "locked": 0, "wallet": 0, "update_time": 1731074416895}
- {"asset": "DAI", "free": 2919.62, "locked": 0, "wallet": 0, "update_time": 1731074416895}
- stream = onForceDexOrdersBookUpdated
- ^C
- Thread 1 "test" received signal SIGINT, Interrupt.
- __futex_abstimed_wait_common64 (private=128, cancel=true, abstime=0x0, op=265, expected=719384, futex_word=0x7fff8fe00910) at ./nptl/futex-internal.c:57
- 57 ./nptl/futex-internal.c: No such file or directory.
- (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement