Advertisement
den4ik2003

Untitled

Nov 6th, 2024
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.95 KB | None | 0 0
  1. New Thread 0x7ffff5a00640 (LWP 609153)]
  2. [New Thread 0x7fffede00640 (LWP 609154)]
  3. [New Thread 0x7fffed400640 (LWP 609155)]
  4. [New Thread 0x7fffeca00640 (LWP 609156)]
  5. [New Thread 0x7fff9fe00640 (LWP 609157)]
  6. [New Thread 0x7fff9f400640 (LWP 609158)]
  7. [New Thread 0x7fff9ea00640 (LWP 609159)]
  8. 2024/11/06 10:18:32 init Nonce: 13
  9. 2024/11/06 10:18:32 bind contract 0x6b965968fbc6ff0d2ed7cb1cb38c1c1bbe0327b4
  10. 2024/11/06 10:18:32 bind contract 0x1a9f5fd1b36f8d1e03f0ff6eabbbb268f053033e
  11. 2024/11/06 10:18:32 bind contract 0x6fcb55c09671bd0d28b5a0e9d303793ac005f19c
  12. 2024/11/06 10:18:32 bind contract 0x762d3d096b9a74f4d3adf2b0824456ef8fce5daa
  13. 2024/11/06 10:18:32 bind contract 0x8f3cf7ad23cd3cadbd9735aff958023239c6a063
  14. [New Thread 0x7ffff4800640 (LWP 609167)]
  15. {"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"}
  16. {"userId": "1245312", "error": "ok"}
  17. user_id: 1245312
  18. authentification was completed
  19. API 0x555555971fe0
  20. run forever balance 0x555555971fe0
  21. {"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}]}
  22. [New Thread 0x7fff9e000640 (LWP 609169)]
  23. get balance indicator 0x555555972180
  24. 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"]}}
  25. >:)
  26. auth token: eyJhbG
  27. get_open_orders_wrapper::request_filler
  28. auth token: eyJhbG
  29. [New Thread 0x7fff9d600640 (LWP 609190)]
  30. Execution was constructed
  31. Trader was created
  32. [New Thread 0x7fff9cc00640 (LWP 609191)]
  33. [New Thread 0x7fff93e00640 (LWP 609192)]
  34. [New Thread 0x7fff93400640 (LWP 609193)]
  35. subscription stream: ACCOUNT_BALANCE
  36. no account balance subscription
  37. subscription stream: PART_DEPTH
  38. subscription stream: TICK
  39. mfs api run ws: tick
  40. subscription stream: ACCOUNT_ORDER
  41. subscription stream: ACCOUNT_TRADE
  42. [New Thread 0x7fff92a00640 (LWP 609194)]
  43. [New Thread 0x7fff92000640 (LWP 609195)]
  44. [New Thread 0x7fff91600640 (LWP 609196)]
  45. {"asset": "HC", "free": 289.42, "locked": 0, "wallet": 0, "update_time": 1730888315010}
  46. {"asset": "DAI", "free": 3760.69, "locked": 0, "wallet": 0, "update_time": 1730888315010}
  47.  
  48. {"payload": {"extensions": {}, "variables": {}}, "type": "subscribe", "id": "1730888314920002"}
  49. {"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"}
  50. feed.at("type").s() != ping{"type": "connection_ack"}
  51. 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"}
  52. feed.at("type").s() != ping{"type": "connection_ack"}
  53. {"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"}
  54. feed.at("type").s() != ping{"type": "connection_ack"}
  55. {"symbol": "HCDAI", "tick": "2000"}
  56. [Thread 0x7ffff4800640 (LWP 609167) exited]
  57. {"asset": "HC", "free": 289.42, "locked": 0, "wallet": 0, "update_time": 1730888325737}
  58. {"asset": "DAI", "free": 3760.69, "locked": 0, "wallet": 0, "update_time": 1730888325737}
  59.  
  60. {"asset": "HC", "free": 289.42, "locked": 0, "wallet": 0, "update_time": 1730888336465}
  61. {"asset": "DAI", "free": 3760.69, "locked": 0, "wallet": 0, "update_time": 1730888336465}
  62.  
  63. {"asset": "HC", "free": 289.42, "locked": 0, "wallet": 0, "update_time": 1730888347182}
  64. {"asset": "DAI", "free": 3760.69, "locked": 0, "wallet": 0, "update_time": 1730888347182}
  65.  
  66. {"asset": "HC", "free": 289.42, "locked": 0, "wallet": 0, "update_time": 1730888357891}
  67. {"asset": "DAI", "free": 3760.69, "locked": 0, "wallet": 0, "update_time": 1730888357891}
  68.  
  69. [ 2024-11-06-10-19-21 ] MESSAGE: Tiiick
  70. [ 2024-11-06-10-19-21 ] DEBUG : {"ask_price": 7.72, "ask_quantity": 42.9792, "bid_price": 7.7, "bid_quantity": 867.462}
  71. [ 2024-11-06-10-19-21 ] DEBUG : OrderEvent: delta=1.73079e+11, symbol="HCDAI", type="LIMIT_GRID", priority=default, asks: [], bids: [(7.71, 200); ]
  72. Vector size: 1
  73. single res OrderEvent: delta=1.73079e+11, symbol="HCDAI", type="LIMIT_GRID", priority=default, asks: [], bids: [(7.71, 200); ]
  74. [ 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); ]
  75. [ 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); ]
  76. [ 2024-11-06-10-19-21 ] MESSAGE: LIMIT GRID
  77. [ 2024-11-06-10-19-21 ] DEBUG in _process_limit_grid: 7.71
  78. [ 2024-11-06-10-19-21 ] DEBUG in _process_limit_grid: 200
  79. [ 2024-11-06-10-19-21 ] DEBUG @#*&* : {"symbol": "HCDAI", "price": 7.710000, "quantity": 200.000000, "type": "LIMIT", "side": "BUY"}
  80. [ 2024-11-06-10-19-21 ] MESSAGE: csize: 0
  81. index_order_id 7710000000000000000/200000000000000000000/BUY 5012631700317068633
  82. [New Thread 0x7fff90c00640 (LWP 609341)]
  83. [ 2024-11-06-10-19-21 ] DEBUG ! new: {"symbol": "HCDAI", "price": 7.710000, "quantity": 200.000000, "client_order_id": 5012631700317068633, "type": "LIMIT", "side": "BUY"}
  84. ! new api API 0x555555971fe0
  85. order_request_t {"symbol": "HCDAI", "price": 7.710000, "quantity": 200.000000, "client_order_id": 5012631700317068633, "type": "LIMIT", "side": "BUY"}
  86. quantity 2000000
  87. new_order_wrapper::execute
  88. {"ext_params": {"timeout": "30000", "priority": "0"}, "params": {"quantity": "200000000000000000000", "price": "7710000000000000000", "orderType": "0", "isBid": "true"}, "function_name": "createOrder", "address": "0x6B965968FBc6ff0D2eD7CB1Cb38C1C1bbE0327B4"}
  89. 2024/11/06 10:19:21 extends args: {"timeout": "30000", "priority": "0"}
  90. 2024/11/06 10:19:21 args: {"quantity": "200000000000000000000", "price": "7710000000000000000", "orderType": "0", "isBid": "true"}
  91. 2024/11/06 10:19:21 start cancelation
  92. 2024/11/06 10:19:21 finish cancelation
  93.  
  94. stream = onForceDexOrdersBookUpdated
  95.  
  96. api PART_DEPTH event
  97. [ 2024-11-06-10-19-21 ] MESSAGE: data ask: 1
  98. [ 2024-11-06-10-19-21 ] MESSAGE: data bids: 1
  99. [ 2024-11-06-10-19-21 ] MESSAGE: data ask + 1: 1
  100. [ 2024-11-06-10-19-21 ] MESSAGE: data bids + 1: 1
  101. 2024/11/06 10:19:22 gas price = 60707542001
  102. 2024/11/06 10:19:22 TX Hash: 0xb833464a88ba638d57fc023f5450783acecce8e7ff6627c99c1c8c095e3f96ba ; Nonce: 13
  103. {"symbol": "HCDAI", "tick": "2000"}
  104. 2024/11/06 10:19:26 golang tx log: {
  105. tx = 0xb833464a88ba638d57fc023f5450783acecce8e7ff6627c99c1c8c095e3f96ba ok;
  106. status = 1
  107. block = 63950889
  108. usedGas = 478049
  109. exec_time = 4.727647s
  110. }
  111. C++ new_order_wrapper response: {"tx_hash": "0xb833464a88ba638d57fc023f5450783acecce8e7ff6627c99c1c8c095e3f96ba", "used_gas": "478049", "block": "63950889", "error": "ok"}
  112. [ 2024-11-06-10-19-26 ] MESSAGE: new order delta: 4729
  113. [ 2024-11-06-10-19-26 ] DEBUG ? new: empty order
  114. [Thread 0x7fff90c00640 (LWP 609341) exited]
  115. {"asset": "HC", "free": 289.42, "locked": 0, "wallet": 0, "update_time": 1730888368602}
  116. {"asset": "DAI", "free": 2218.69, "locked": 0, "wallet": 0, "update_time": 1730888368602}
  117.  
  118. {"asset": "HC", "free": 289.42, "locked": 0, "wallet": 0, "update_time": 1730888379328}
  119. {"asset": "DAI", "free": 2218.69, "locked": 0, "wallet": 0, "update_time": 1730888379328}
  120.  
  121. {"asset": "HC", "free": 289.42, "locked": 0, "wallet": 0, "update_time": 1730888390055}
  122. {"asset": "DAI", "free": 2218.69, "locked": 0, "wallet": 0, "update_time": 1730888390055}
  123.  
  124. ^C
  125. Thread 1 "test" received signal SIGINT, Interrupt.
  126. __futex_abstimed_wait_common64 (private=128, cancel=true, abstime=0x0, op=265, expected=609191, futex_word=0x7fff9cc00910) at ./nptl/futex-internal.c:57
  127. 57 ./nptl/futex-internal.c: No such file or directory.
  128. (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement