Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- New Thread 0x7ffff5a00640 (LWP 609153)]
- [New Thread 0x7fffede00640 (LWP 609154)]
- [New Thread 0x7fffed400640 (LWP 609155)]
- [New Thread 0x7fffeca00640 (LWP 609156)]
- [New Thread 0x7fff9fe00640 (LWP 609157)]
- [New Thread 0x7fff9f400640 (LWP 609158)]
- [New Thread 0x7fff9ea00640 (LWP 609159)]
- 2024/11/06 10:18:32 init Nonce: 13
- 2024/11/06 10:18:32 bind contract 0x6b965968fbc6ff0d2ed7cb1cb38c1c1bbe0327b4
- 2024/11/06 10:18:32 bind contract 0x1a9f5fd1b36f8d1e03f0ff6eabbbb268f053033e
- 2024/11/06 10:18:32 bind contract 0x6fcb55c09671bd0d28b5a0e9d303793ac005f19c
- 2024/11/06 10:18:32 bind contract 0x762d3d096b9a74f4d3adf2b0824456ef8fce5daa
- 2024/11/06 10:18:32 bind contract 0x8f3cf7ad23cd3cadbd9735aff958023239c6a063
- [New Thread 0x7ffff4800640 (LWP 609167)]
- {"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-06T10:18:30.659Z", "txHash": "0x306571d8352b418b85a88243349ea726074e68360603982196c46eeff8dbc9e0", "address": "0x6b965968fbc6ff0d2ed7cb1cb38c1c1bbe0327b4", "lastSyncedBlock": "63950850", "id": "1100ce7d-7e16-4a40-9aba-1ecc883b1f7e", "quoteAsset": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063", "symbol": "HCDAI"}
- {"userId": "1245312", "error": "ok"}
- user_id: 1245312
- authentification was completed
- API 0x555555971fe0
- run forever balance 0x555555971fe0
- {"type": "DEX", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "HC", "free": 289.42, "locked": 0, "wallet": 0, "update_time": 1730888314304}, {"asset": "DAI", "free": 3760.69, "locked": 0, "wallet": 0, "update_time": 1730888314304}]}
- [New Thread 0x7fff9e000640 (LWP 609169)]
- get balance indicator 0x555555972180
- trader {"symbol": "HCDAI", "account": "MFS_1", "market": "MFS_DEX", "logger": {"severity_level": "DEBUG"}, "execution": {"print_ws_events": "1", "cancel_on_start": "0", "timeout": "30000"}, "data": {"print_ws_events": "0", "use_part_depth": "true", "events": ["ORDER_BOOK", "TICK"]}}
- >:)
- auth token: eyJhbG
- get_open_orders_wrapper::request_filler
- auth token: eyJhbG
- [New Thread 0x7fff9d600640 (LWP 609190)]
- Execution was constructed
- Trader was created
- [New Thread 0x7fff9cc00640 (LWP 609191)]
- [New Thread 0x7fff93e00640 (LWP 609192)]
- [New Thread 0x7fff93400640 (LWP 609193)]
- subscription stream: ACCOUNT_BALANCE
- no account balance subscription
- subscription stream: PART_DEPTH
- subscription stream: TICK
- mfs api run ws: tick
- subscription stream: ACCOUNT_ORDER
- subscription stream: ACCOUNT_TRADE
- [New Thread 0x7fff92a00640 (LWP 609194)]
- [New Thread 0x7fff92000640 (LWP 609195)]
- [New Thread 0x7fff91600640 (LWP 609196)]
- {"asset": "HC", "free": 289.42, "locked": 0, "wallet": 0, "update_time": 1730888315010}
- {"asset": "DAI", "free": 3760.69, "locked": 0, "wallet": 0, "update_time": 1730888315010}
- {"payload": {"extensions": {}, "variables": {}}, "type": "subscribe", "id": "1730888314920002"}
- {"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": "1730888314920001"}
- feed.at("type").s() != ping{"type": "connection_ack"}
- feed.at("type").s() != ping{"payload": [{"locations": [{"column": "35", "line": "1"}], "message": "The request is missing the \u0060query\u0060 property and the \u0060id\u0060 property."}], "type": "error", "id": "1730888314920002"}
- feed.at("type").s() != ping{"type": "connection_ack"}
- {"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": "1730888314920003"}
- feed.at("type").s() != ping{"type": "connection_ack"}
- {"symbol": "HCDAI", "tick": "2000"}
- [Thread 0x7ffff4800640 (LWP 609167) exited]
- {"asset": "HC", "free": 289.42, "locked": 0, "wallet": 0, "update_time": 1730888325737}
- {"asset": "DAI", "free": 3760.69, "locked": 0, "wallet": 0, "update_time": 1730888325737}
- {"asset": "HC", "free": 289.42, "locked": 0, "wallet": 0, "update_time": 1730888336465}
- {"asset": "DAI", "free": 3760.69, "locked": 0, "wallet": 0, "update_time": 1730888336465}
- {"asset": "HC", "free": 289.42, "locked": 0, "wallet": 0, "update_time": 1730888347182}
- {"asset": "DAI", "free": 3760.69, "locked": 0, "wallet": 0, "update_time": 1730888347182}
- {"asset": "HC", "free": 289.42, "locked": 0, "wallet": 0, "update_time": 1730888357891}
- {"asset": "DAI", "free": 3760.69, "locked": 0, "wallet": 0, "update_time": 1730888357891}
- [ 2024-11-06-10-19-21 ] MESSAGE: Tiiick
- [ 2024-11-06-10-19-21 ] DEBUG : {"ask_price": 7.72, "ask_quantity": 42.9792, "bid_price": 7.7, "bid_quantity": 867.462}
- [ 2024-11-06-10-19-21 ] DEBUG : OrderEvent: delta=1.73079e+11, symbol="HCDAI", type="LIMIT_GRID", priority=default, asks: [], bids: [(7.71, 200); ]
- Vector size: 1
- single res OrderEvent: delta=1.73079e+11, symbol="HCDAI", type="LIMIT_GRID", priority=default, asks: [], bids: [(7.71, 200); ]
- [ 2024-11-06-10-19-21 ] INFO portfolio: OrderEvent: delta=1.73079e+11, symbol="HCDAI", type="LIMIT_GRID", priority=default, asks: [], bids: [(7.71, 200); ]
- [ 2024-11-06-10-19-21 ] INFO execution order event process: OrderEvent: delta=1.73079e+11, symbol="HCDAI", type="LIMIT_GRID", priority=default, asks: [], bids: [(7.71, 200); ]
- [ 2024-11-06-10-19-21 ] MESSAGE: LIMIT GRID
- [ 2024-11-06-10-19-21 ] DEBUG in _process_limit_grid: 7.71
- [ 2024-11-06-10-19-21 ] DEBUG in _process_limit_grid: 200
- [ 2024-11-06-10-19-21 ] DEBUG @#*&* : {"symbol": "HCDAI", "price": 7.710000, "quantity": 200.000000, "type": "LIMIT", "side": "BUY"}
- [ 2024-11-06-10-19-21 ] MESSAGE: csize: 0
- index_order_id 7710000000000000000/200000000000000000000/BUY 5012631700317068633
- [New Thread 0x7fff90c00640 (LWP 609341)]
- [ 2024-11-06-10-19-21 ] DEBUG ! new: {"symbol": "HCDAI", "price": 7.710000, "quantity": 200.000000, "client_order_id": 5012631700317068633, "type": "LIMIT", "side": "BUY"}
- ! new api API 0x555555971fe0
- order_request_t {"symbol": "HCDAI", "price": 7.710000, "quantity": 200.000000, "client_order_id": 5012631700317068633, "type": "LIMIT", "side": "BUY"}
- quantity 2000000
- new_order_wrapper::execute
- {"ext_params": {"timeout": "30000", "priority": "0"}, "params": {"quantity": "200000000000000000000", "price": "7710000000000000000", "orderType": "0", "isBid": "true"}, "function_name": "createOrder", "address": "0x6B965968FBc6ff0D2eD7CB1Cb38C1C1bbE0327B4"}
- 2024/11/06 10:19:21 extends args: {"timeout": "30000", "priority": "0"}
- 2024/11/06 10:19:21 args: {"quantity": "200000000000000000000", "price": "7710000000000000000", "orderType": "0", "isBid": "true"}
- 2024/11/06 10:19:21 start cancelation
- 2024/11/06 10:19:21 finish cancelation
- stream = onForceDexOrdersBookUpdated
- api PART_DEPTH event
- [ 2024-11-06-10-19-21 ] MESSAGE: data ask: 1
- [ 2024-11-06-10-19-21 ] MESSAGE: data bids: 1
- [ 2024-11-06-10-19-21 ] MESSAGE: data ask + 1: 1
- [ 2024-11-06-10-19-21 ] MESSAGE: data bids + 1: 1
- 2024/11/06 10:19:22 gas price = 60707542001
- 2024/11/06 10:19:22 TX Hash: 0xb833464a88ba638d57fc023f5450783acecce8e7ff6627c99c1c8c095e3f96ba ; Nonce: 13
- {"symbol": "HCDAI", "tick": "2000"}
- 2024/11/06 10:19:26 golang tx log: {
- tx = 0xb833464a88ba638d57fc023f5450783acecce8e7ff6627c99c1c8c095e3f96ba ok;
- status = 1
- block = 63950889
- usedGas = 478049
- exec_time = 4.727647s
- }
- C++ new_order_wrapper response: {"tx_hash": "0xb833464a88ba638d57fc023f5450783acecce8e7ff6627c99c1c8c095e3f96ba", "used_gas": "478049", "block": "63950889", "error": "ok"}
- [ 2024-11-06-10-19-26 ] MESSAGE: new order delta: 4729
- [ 2024-11-06-10-19-26 ] DEBUG ? new: empty order
- [Thread 0x7fff90c00640 (LWP 609341) exited]
- {"asset": "HC", "free": 289.42, "locked": 0, "wallet": 0, "update_time": 1730888368602}
- {"asset": "DAI", "free": 2218.69, "locked": 0, "wallet": 0, "update_time": 1730888368602}
- {"asset": "HC", "free": 289.42, "locked": 0, "wallet": 0, "update_time": 1730888379328}
- {"asset": "DAI", "free": 2218.69, "locked": 0, "wallet": 0, "update_time": 1730888379328}
- {"asset": "HC", "free": 289.42, "locked": 0, "wallet": 0, "update_time": 1730888390055}
- {"asset": "DAI", "free": 2218.69, "locked": 0, "wallet": 0, "update_time": 1730888390055}
- ^C
- Thread 1 "test" received signal SIGINT, Interrupt.
- __futex_abstimed_wait_common64 (private=128, cancel=true, abstime=0x0, op=265, expected=609191, futex_word=0x7fff9cc00910) 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