Advertisement
den4ik2003

Untitled

Jan 10th, 2025
9
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 48.12 KB | None | 0 0
  1. ubuntu@dashboard:~/tgbot/tg_volume$ gdb ./test
  2. GNU gdb (Ubuntu 15.0.50.20240403-0ubuntu1) 15.0.50.20240403-git
  3. Copyright (C) 2024 Free Software Foundation, Inc.
  4. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  5. This is free software: you are free to change and redistribute it.
  6. There is NO WARRANTY, to the extent permitted by law.
  7. Type "show copying" and "show warranty" for details.
  8. This GDB was configured as "x86_64-linux-gnu".
  9. Type "show configuration" for configuration details.
  10. For bug reporting instructions, please see:
  11. <https://www.gnu.org/software/gdb/bugs/>.
  12. Find the GDB manual and other documentation resources online at:
  13. <http://www.gnu.org/software/gdb/documentation/>.
  14.  
  15. For help, type "help".
  16. Type "apropos word" to search for commands related to "word"...
  17. Reading symbols from ./test...
  18. (gdb) run ghub_volume/launch.config
  19. Starting program: /home/ubuntu/tgbot/tg_volume/test ghub_volume/launch.config
  20.  
  21. This GDB supports auto-downloading debuginfo from the following URLs:
  22. <https://debuginfod.ubuntu.com>
  23. Enable debuginfod for this session? (y or [n]) n
  24. Debuginfod has been disabled.
  25. To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
  26. [Thread debugging using libthread_db enabled]
  27. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  28. [New Thread 0x7ffff6a006c0 (LWP 3762816)]
  29. [New Thread 0x7ffff66006c0 (LWP 3762817)]
  30. [New Thread 0x7ffff62006c0 (LWP 3762818)]
  31. [New Thread 0x7ffff5e006c0 (LWP 3762819)]
  32. [New Thread 0x7ffff5a006c0 (LWP 3762820)]
  33. [New Thread 0x7ffff56006c0 (LWP 3762822)]
  34. [New Thread 0x7ffff52006c0 (LWP 3762825)]
  35. [New Thread 0x7ffff4e006c0 (LWP 3762826)]
  36. [New Thread 0x7ffff4a006c0 (LWP 3762828)]
  37. [New Thread 0x7ffff46006c0 (LWP 3762829)]
  38. [New Thread 0x7fffefe006c0 (LWP 3762831)]
  39. [New Thread 0x7fffefa006c0 (LWP 3762832)]
  40. [New Thread 0x7fffef6006c0 (LWP 3762833)]
  41. [New Thread 0x7fffef2006c0 (LWP 3762839)]
  42. [New Thread 0x7fffeee006c0 (LWP 3762840)]
  43. [New Thread 0x7fffeea006c0 (LWP 3762841)]
  44. [New Thread 0x7fffee6006c0 (LWP 3762842)]
  45. [New Thread 0x7fffee2006c0 (LWP 3762843)]
  46. [New Thread 0x7fffede006c0 (LWP 3762844)]
  47. [New Thread 0x7fffeda006c0 (LWP 3762845)]
  48. [New Thread 0x7fffed6006c0 (LWP 3762846)]
  49. [New Thread 0x7fffed2006c0 (LWP 3762847)]
  50. [New Thread 0x7fffece006c0 (LWP 3762848)]
  51. [New Thread 0x7fffeca006c0 (LWP 3762849)]
  52. [New Thread 0x7fffec6006c0 (LWP 3762850)]
  53. [New Thread 0x7fffe3e006c0 (LWP 3762851)]
  54. [New Thread 0x7fffe3a006c0 (LWP 3762852)]
  55. [New Thread 0x7fffe36006c0 (LWP 3762853)]
  56. [New Thread 0x7fffe32006c0 (LWP 3762854)]
  57. [New Thread 0x7fffe2e006c0 (LWP 3762855)]
  58. [New Thread 0x7fffe2a006c0 (LWP 3762856)]
  59. [New Thread 0x7fffe26006c0 (LWP 3762857)]
  60. add_parser: BINANCE_FUTURES
  61. add_parser: BITMART_SPOT
  62. add_parser: MEXC_SPOT
  63. /home/ubuntu//mexc_spot/ghub_volume.account
  64. shared_parser: MEXC_SPOT
  65. has: BINANCE_FUTURES
  66. has: BITMART_SPOT
  67. has: MEXC_SPOT
  68. [New Thread 0x7fffe22006c0 (LWP 3762862)]
  69. run forever balance 0x5555556789c0
  70. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "GHUB", "free": 58053.9, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 957.373, "locked": 0, "update_time": 0}]}
  71. [New Thread 0x7fffe1e006c0 (LWP 3762894)]
  72. Initializing orderbook
  73. [New Thread 0x7fffe14006c0 (LWP 3762895)]
  74. [New Thread 0x7fffe10006c0 (LWP 3762899)]
  75. {"symbol": "GHUBUSDT", "market": "MEXC_SPOT", "account": "GHUB_VOLUME"}
  76. cooldown: 15000
  77. sleep time: 15000
  78. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "GHUB", "free": 58053.9, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 957.373, "locked": 0, "update_time": 0}]}
  79. {"asset": "GHUB", "free": 58053.9, "locked": 0, "update_time": 0}
  80. {"asset": "USDT", "free": 957.373, "locked": 0, "update_time": 0}
  81. binance subscribe: wss://fstream.binance.com/stream?streams=btcusdt@kline_5m/btcusdt@kline_1d
  82. /mnt/volume_telemetry/GHUB_USDT_mexc
  83. {"name": "VANILLA", "separate": "0", "labels": ["50"], "symbols": [{"account": "GHUB_VOLUME", "market": "MEXC_SPOT", "symbol": "GHUBUSDT"}]}
  84. [New Thread 0x7fffd7e006c0 (LWP 3762919)]
  85. get balance indicator 0x555555678ae8
  86. {"ok": "1"}
  87. {"ok": "1"}
  88. [ 2025-01-10-16-08-53 ] DEBUG base balance: {"asset": "GHUB", "free": 58053.9, "locked": 0, "update_time": 0}
  89. [ 2025-01-10-16-08-53 ] DEBUG quote balance: {"asset": "USDT", "free": 957.373, "locked": 0, "update_time": 0}
  90. [ 2025-01-10-16-08-53 ] MESSAGE: dealing with narrow spread
  91. [ 2025-01-10-16-08-53 ] INFO dealing with narrow spread result: OrderEvent: symbol="GHUBUSDT", type="LIMIT_GRID", asks: [(0.02136, 61.9); ], bids: [(0.02137, 422.19); ]
  92. [ 2025-01-10-16-08-53 ] INFO execution order event process: OrderEvent: symbol="GHUBUSDT", type="LIMIT_GRID", asks: [(0.02136, 61.9); ], bids: [(0.02137, 422.19); ]
  93. [ 2025-01-10-16-08-53 ] DEBUG ask in _process_limit_grid: 0.02136
  94. [ 2025-01-10-16-08-53 ] DEBUG ask in _process_limit_grid: 61.9
  95. [ 2025-01-10-16-08-53 ] DEBUG bid in _process_limit_grid: 0.02137
  96. [ 2025-01-10-16-08-53 ] DEBUG bid in _process_limit_grid: 422.19
  97. [New Thread 0x7fffd74006c0 (LWP 3763004)]
  98. [New Thread 0x7fffd6a006c0 (LWP 3763005)]
  99. [ 2025-01-10-16-08-53 ] DEBUG csize: 0
  100. ask: 0.02137
  101. bid: 0.02136
  102. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736525333364,"cd":"128f589271cb4951b03e71e6323eb7be","f":"948.34909009066","fd":"-9.02400474006","l":"9.02400474006","ld":"9.02400474006","o":"ENTRUST_PLACE"},"t":1736525333397}
  103. $ tlm_USDT
  104. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"GHUB","c":1736525333375,"cd":"f6e8b1d0025247b7a70ff686a58f0e14","f":"57991.98","fd":"-61.9","l":"61.9","ld":"61.9","o":"ENTRUST_PLACE"},"t":1736525333399}
  105. $ tlm_GHUB
  106. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506433256841834496089","c":"142474013686394","o":1,"p":"0.02136","v":"61.9","S":2,"a":"1.322184","m":0,"A":"0","V":"0","lv":"61.9","s":2,"O":1736525333372,"ap":"0.02136","cv":"61.9","ca":"1.322184"},"s":"GHUBUSDT","t":1736525333406}
  107. [ 2025-01-10-16-08-53 ] INFO : WebSocketEvent: , event_time=1736525333406", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140734200021136, "order": {"symbol": "GHUBUSDT", "coid": 142474013686394, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.02136, "quantity": 61.90, "filled_quantity": 61.90, "update_time": 0}}
  108. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506433256795729920089","c":"142474013686393","o":1,"p":"0.02137","v":"422.19","S":1,"a":"9.0222003","m":0,"A":"0","V":"0","lv":"422.19","s":2,"O":1736525333361,"ap":"0.02137","cv":"422.19","ca":"9.0222003"},"s":"GHUBUSDT","t":1736525333406}
  109. [ 2025-01-10-16-08-53 ] INFO : WebSocketEvent: , event_time=1736525333406", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140736987130624, "order": {"symbol": "GHUBUSDT", "coid": 142474013686393, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "FILLED", "price": 0.02137, "quantity": 422.19, "filled_quantity": 422.19, "update_time": 0}}
  110. [Thread 0x7fffd74006c0 (LWP 3763004) exited]
  111. [Thread 0x7fffd6a006c0 (LWP 3763005) exited]
  112. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.02136","v":"61.9","a":"1.322184","S":2,"m":0,"st":0,"t":"506433256841834496X1","c":"142474013686394","i":"C02__506433256841834496089","n":"0.0002644368","N":"USDT","T":1736525333404},"s":"GHUBUSDT","t":1736525333430}
  113. [ 2025-01-10-16-08-53 ] INFO : WebSocketEvent: , event_time=1736525333430", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 6623088226816617076, "is_maker": false, "is_self_trade": false, "client_order_id": 142474013686394, "commission": {"asset": "USDT", "fee": 0.000264437}, "trade": {"symbol": "GHUBUSDT", "price": 0.02136, "quantity": 61.90, "trade_side": SELL, "trade_time": 1736525333404}}
  114. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.02137","v":"422.19","a":"9.0222003","S":1,"m":0,"st":0,"t":"506433256795729920X1","c":"142474013686393","i":"C02__506433256795729920089","n":"0.00180444006","N":"USDT","T":1736525333404},"s":"GHUBUSDT","t":1736525333430}
  115. [ 2025-01-10-16-08-53 ] INFO : WebSocketEvent: , event_time=1736525333430", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 6623088226816617076, "is_maker": false, "is_self_trade": false, "client_order_id": 142474013686393, "commission": {"asset": "USDT", "fee": 0.00180444}, "trade": {"symbol": "GHUBUSDT", "price": 0.02137, "quantity": 422.19, "trade_side": BUY, "trade_time": 1736525333404}}
  116. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736525333427,"cd":"128f589271cb4951b03e71e6323eb7be","f":"949.67100965386","fd":"1.3219195632","l":"0","ld":"0","o":"ENTRUST"},"t":1736525333432}
  117. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"GHUB","c":1736525333427,"cd":"f6e8b1d0025247b7a70ff686a58f0e14","f":"58414.17","fd":"0","l":"0","ld":"-61.9","o":"ENTRUST"},"t":1736525333432}
  118. [Thread 0x7fffe26006c0 (LWP 3762857) exited]
  119. [Thread 0x7fffe22006c0 (LWP 3762862) exited]
  120. [New Thread 0x7fffe26006c0 (LWP 3763671)]
  121. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "GHUB", "free": 58414.2, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 949.671, "locked": 0, "update_time": 0}]}
  122. {"asset": "GHUB", "free": 58414.2, "locked": 0, "update_time": 0}
  123. {"asset": "USDT", "free": 949.671, "locked": 0, "update_time": 0}
  124. [ 2025-01-10-16-09-08 ] DEBUG base balance: {"asset": "GHUB", "free": 58414.2, "locked": 0, "update_time": 0}
  125. [ 2025-01-10-16-09-08 ] DEBUG quote balance: {"asset": "USDT", "free": 949.671, "locked": 0, "update_time": 0}
  126. [ 2025-01-10-16-09-08 ] MESSAGE: dealing with narrow spread
  127. [ 2025-01-10-16-09-08 ] INFO dealing with narrow spread result: OrderEvent: symbol="GHUBUSDT", type="LIMIT_GRID", asks: [(0.02136, 61.9); ], bids: [(0.02137, 422.19); ]
  128. [ 2025-01-10-16-09-08 ] INFO execution order event process: OrderEvent: symbol="GHUBUSDT", type="LIMIT_GRID", asks: [(0.02136, 61.9); ], bids: [(0.02137, 422.19); ]
  129. [ 2025-01-10-16-09-08 ] DEBUG ask in _process_limit_grid: 0.02136
  130. [ 2025-01-10-16-09-08 ] DEBUG ask in _process_limit_grid: 61.9
  131. [ 2025-01-10-16-09-08 ] DEBUG bid in _process_limit_grid: 0.02137
  132. [ 2025-01-10-16-09-08 ] DEBUG bid in _process_limit_grid: 422.19
  133. [New Thread 0x7fffd6a006c0 (LWP 3763856)]
  134. [New Thread 0x7fffd74006c0 (LWP 3763857)]
  135. [ 2025-01-10-16-09-08 ] DEBUG csize: 0
  136. ask: 0.02137
  137. bid: 0.02136
  138. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736525348359,"cd":"128f589271cb4951b03e71e6323eb7be","f":"940.6470049138","fd":"-9.02400474006","l":"9.02400474006","ld":"9.02400474006","o":"ENTRUST_PLACE"},"t":1736525348368}
  139. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506433319689310209089","c":"142474013686395","o":1,"p":"0.02137","v":"422.19","S":1,"a":"9.0222003","m":0,"A":"0.4889456","V":"22.88","lv":"399.31","s":3,"O":1736525348356,"ap":"0.02128","cv":"399.31","ca":"8.4973168"},"s":"GHUBUSDT","t":1736525348370}
  140. [ 2025-01-10-16-09-08 ] INFO : WebSocketEvent: , event_time=1736525348370", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 6623088226816557164, "order": {"symbol": "GHUBUSDT", "coid": 142474013686395, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PARTIALLY_FILLED", "price": 0.02137, "quantity": 422.19, "filled_quantity": 399.31, "update_time": 0}}
  141. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"GHUB","c":1736525348359,"cd":"f6e8b1d0025247b7a70ff686a58f0e14","f":"58352.27","fd":"-61.9","l":"61.9","ld":"61.9","o":"ENTRUST_PLACE"},"t":1736525348369}
  142. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506433319689310209089","c":"142474013686395","o":1,"p":"0.02137","v":"422.19","S":1,"a":"9.0222003","m":1,"A":"0","V":"0","lv":"22.88","s":2,"O":1736525348356,"ap":"0.021284877424856107","cv":"422.19","ca":"8.9862624"},"s":"GHUBUSDT","t":1736525348376}
  143. [ 2025-01-10-16-09-08 ] INFO : WebSocketEvent: , event_time=1736525348376", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140736972390508, "order": {"symbol": "GHUBUSDT", "coid": 142474013686395, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "FILLED", "price": 0.02137, "quantity": 422.19, "filled_quantity": 422.19, "update_time": 0}}
  144. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506433319685099521089","c":"142474013686396","o":1,"p":"0.02136","v":"61.9","S":2,"a":"1.322184","m":0,"A":"0.8334672","V":"39.02","lv":"22.88","s":3,"O":1736525348355,"ap":"0.02137","cv":"22.88","ca":"0.4889456"},"s":"GHUBUSDT","t":1736525348376}
  145. [ 2025-01-10-16-09-08 ] INFO : WebSocketEvent: , event_time=1736525348376", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140733193388037, "order": {"symbol": "GHUBUSDT", "coid": 142474013686396, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "PARTIALLY_FILLED", "price": 0.02136, "quantity": 61.90, "filled_quantity": 22.88, "update_time": 0}}
  146. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.02128","v":"399.31","a":"8.4973168","S":1,"m":0,"st":0,"t":"506433319689310209X1","c":"142474013686395","i":"C02__506433319689310209089","n":"0.00169946336","N":"USDT","T":1736525348368},"s":"GHUBUSDT","t":1736525348389}
  147. [ 2025-01-10-16-09-08 ] INFO : WebSocketEvent: , event_time=1736525348389", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 6623088226816617076, "is_maker": false, "is_self_trade": false, "client_order_id": 142474013686395, "commission": {"asset": "USDT", "fee": 0.00169946}, "trade": {"symbol": "GHUBUSDT", "price": 0.02128, "quantity": 399.31, "trade_side": BUY, "trade_time": 1736525348368}}
  148. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"GHUB","c":1736525348387,"cd":"f6e8b1d0025247b7a70ff686a58f0e14","f":"58774.46","fd":"399.31","l":"39.02","ld":"0","o":"ENTRUST"},"t":1736525348391}
  149. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736525348387,"cd":"128f589271cb4951b03e71e6323eb7be","f":"941.17189560138","fd":"0.03594508758","l":"0","ld":"-8.53496135094","o":"ENTRUST"},"t":1736525348391}
  150. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.02137","v":"22.88","a":"0.4889456","S":2,"m":0,"st":1,"t":"506433319685099521X1","c":"142474013686396","i":"C02__506433319685099521089","n":"0.00009778912","N":"USDT","T":1736525348375},"s":"GHUBUSDT","t":1736525348395}
  151. [ 2025-01-10-16-09-08 ] INFO : WebSocketEvent: , event_time=1736525348395", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 6623088223268634632, "is_maker": false, "is_self_trade": true, "client_order_id": 142474013686396, "commission": {"asset": "USDT", "fee": 9.77891e-05}, "trade": {"symbol": "GHUBUSDT", "price": 0.02137, "quantity": 22.88, "trade_side": SELL, "trade_time": 1736525348375}}
  152. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"GHUB","c":1736525348393,"cd":"f6e8b1d0025247b7a70ff686a58f0e14","f":"58774.46","fd":"0","l":"39.02","ld":"-22.88","o":"ENTRUST"},"t":1736525348397}
  153. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736525348393,"cd":"128f589271cb4951b03e71e6323eb7be","f":"941.17189560138","fd":"0.48884781088","l":"0","ld":"0","o":"ENTRUST"},"t":1736525348397}
  154. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.02137","v":"22.88","a":"0.4889456","S":1,"m":1,"st":1,"t":"506433319689310209X2","c":"142474013686395","i":"C02__506433319689310209089","n":"0","N":"USDT","T":1736525348375},"s":"GHUBUSDT","t":1736525348401}
  155. [ 2025-01-10-16-09-08 ] INFO : WebSocketEvent: , event_time=1736525348401", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 6623088226816557164, "is_maker": true, "is_self_trade": true, "client_order_id": 142474013686395, "commission": {"asset": "USDT", "fee": 0}, "trade": {"symbol": "GHUBUSDT", "price": 0.02137, "quantity": 22.88, "trade_side": BUY, "trade_time": 1736525348375}}
  156. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736525348400,"cd":"128f589271cb4951b03e71e6323eb7be","f":"941.17189560138","fd":"0.00009778912","l":"0","ld":"-0.48904338912","o":"ENTRUST"},"t":1736525348405}
  157. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"GHUB","c":1736525348400,"cd":"f6e8b1d0025247b7a70ff686a58f0e14","f":"58774.46","fd":"22.88","l":"39.02","ld":"0","o":"ENTRUST"},"t":1736525348405}
  158. [Thread 0x7fffd6a006c0 (LWP 3763856) exited]
  159. [Thread 0x7fffd74006c0 (LWP 3763857) exited]
  160. [Thread 0x7fffe2a006c0 (LWP 3762856) exited]
  161. [New Thread 0x7fffe22006c0 (LWP 3764449)]
  162. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "GHUB", "free": 58774.5, "locked": 39.02, "update_time": 0}, {"asset": "USDT", "free": 941.172, "locked": 0, "update_time": 0}]}
  163. {"asset": "GHUB", "free": 58774.5, "locked": 39.02, "update_time": 0}
  164. {"asset": "USDT", "free": 941.172, "locked": 0, "update_time": 0}
  165. [ 2025-01-10-16-09-23 ] DEBUG base balance: {"asset": "GHUB", "free": 58774.5, "locked": 39.02, "update_time": 0}
  166. [ 2025-01-10-16-09-23 ] DEBUG quote balance: {"asset": "USDT", "free": 941.172, "locked": 0, "update_time": 0}
  167. [ 2025-01-10-16-09-23 ] INFO execution order event process: OrderEvent: symbol="GHUBUSDT", type="LIMIT_GRID", asks: [], bids: []
  168. [ 2025-01-10-16-09-23 ] DEBUG already opened order: {"symbol": "GHUBUSDT", "coid": 142474013686396, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "PARTIALLY_FILLED", "price": 0.02136, "quantity": 61.90, "filled_quantity": 22.88, "update_time": 0}
  169. [ 2025-01-10-16-09-23 ] DEBUG csize: 1
  170. [New Thread 0x7fffd74006c0 (LWP 3764603)]
  171. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506433319685099521089","c":"142474013686396","o":1,"p":"0.02136","v":"61.9","S":2,"a":"1.322184","m":0,"A":"0.8334672","V":"39.02","s":5,"O":1736525348355,"ap":"0.02137","cv":"22.88","ca":"0.4889456"},"s":"GHUBUSDT","t":1736525363875}
  172. [ 2025-01-10-16-09-23 ] INFO : WebSocketEvent: , event_time=1736525363875", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140734200021136, "order": {"symbol": "GHUBUSDT", "coid": 142474013686396, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "CANCELED", "price": 0.02136, "quantity": 61.90, "filled_quantity": 22.88, "update_time": 0}}
  173. [Thread 0x7fffd74006c0 (LWP 3764603) exited]
  174. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"GHUB","c":1736525363892,"cd":"f6e8b1d0025247b7a70ff686a58f0e14","f":"58813.48","fd":"39.02","l":"0","ld":"-39.02","o":"ENTRUST_CANCEL"},"t":1736525363896}
  175. [Thread 0x7fffe26006c0 (LWP 3763671) exited]
  176. [New Thread 0x7fffe2a006c0 (LWP 3765237)]
  177. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "GHUB", "free": 58813.5, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 941.172, "locked": 0, "update_time": 0}]}
  178. {"asset": "GHUB", "free": 58813.5, "locked": 0, "update_time": 0}
  179. {"asset": "USDT", "free": 941.172, "locked": 0, "update_time": 0}
  180. [ 2025-01-10-16-09-39 ] DEBUG base balance: {"asset": "GHUB", "free": 58813.5, "locked": 0, "update_time": 0}
  181. [ 2025-01-10-16-09-39 ] DEBUG quote balance: {"asset": "USDT", "free": 941.172, "locked": 0, "update_time": 0}
  182. [ 2025-01-10-16-09-39 ] MESSAGE: dealing with narrow spread
  183. [ 2025-01-10-16-09-39 ] INFO dealing with narrow spread result: OrderEvent: symbol="GHUBUSDT", type="LIMIT_GRID", asks: [(0.02136, 61.9); ], bids: [(0.02137, 422.19); ]
  184. [ 2025-01-10-16-09-39 ] INFO execution order event process: OrderEvent: symbol="GHUBUSDT", type="LIMIT_GRID", asks: [(0.02136, 61.9); ], bids: [(0.02137, 422.19); ]
  185. [ 2025-01-10-16-09-39 ] DEBUG ask in _process_limit_grid: 0.02136
  186. [ 2025-01-10-16-09-39 ] DEBUG ask in _process_limit_grid: 61.9
  187. [ 2025-01-10-16-09-39 ] DEBUG bid in _process_limit_grid: 0.02137
  188. [ 2025-01-10-16-09-39 ] DEBUG bid in _process_limit_grid: 422.19
  189. [New Thread 0x7fffd74006c0 (LWP 3765365)]
  190. [New Thread 0x7fffd6a006c0 (LWP 3765368)]
  191. [ 2025-01-10-16-09-39 ] DEBUG csize: 0
  192. ask: 0.02137
  193. bid: 0.02136
  194. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736525379361,"cd":"128f589271cb4951b03e71e6323eb7be","f":"932.14789086132","fd":"-9.02400474006","l":"9.02400474006","ld":"9.02400474006","o":"ENTRUST_PLACE"},"t":1736525379378}
  195. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506433449729470464089","c":"142474013686397","o":1,"p":"0.02137","v":"422.19","S":1,"a":"9.0222003","m":0,"A":"0.9511787","V":"44.51","lv":"377.68","s":3,"O":1736525379360,"ap":"0.02128","cv":"377.68","ca":"8.0370304"},"s":"GHUBUSDT","t":1736525379388}
  196. [ 2025-01-10-16-09-39 ] INFO : WebSocketEvent: , event_time=1736525379388", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 6623088226816557164, "order": {"symbol": "GHUBUSDT", "coid": 142474013686397, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PARTIALLY_FILLED", "price": 0.02137, "quantity": 422.19, "filled_quantity": 377.68, "update_time": 0}}
  197. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506433449729470464089","c":"142474013686397","o":1,"p":"0.02137","v":"422.19","S":1,"a":"9.0222003","m":0,"A":"0","V":"0","lv":"44.51","s":2,"O":1736525379360,"ap":"0.021281054264667566","cv":"422.19","ca":"8.9846483"},"s":"GHUBUSDT","t":1736525379388}
  198. [ 2025-01-10-16-09-39 ] INFO : WebSocketEvent: , event_time=1736525379388", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140736972450560, "order": {"symbol": "GHUBUSDT", "coid": 142474013686397, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "FILLED", "price": 0.02137, "quantity": 422.19, "filled_quantity": 422.19, "update_time": 0}}
  199. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"GHUB","c":1736525379370,"cd":"f6e8b1d0025247b7a70ff686a58f0e14","f":"58751.58","fd":"-61.9","l":"61.9","ld":"61.9","o":"ENTRUST_PLACE"},"t":1736525379389}
  200. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506433449754669057089","c":"142474013686398","o":1,"p":"0.02136","v":"61.9","S":2,"a":"1.322184","m":0,"A":"1.322184","V":"61.9","s":1,"O":1736525379366,"ap":"0","cv":"0","ca":"0"},"s":"GHUBUSDT","t":1736525379393}
  201. [ 2025-01-10-16-09-39 ] INFO : WebSocketEvent: , event_time=1736525379393", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 6623088226816557164, "order": {"symbol": "GHUBUSDT", "coid": 142474013686398, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.02136, "quantity": 61.90, "filled_quantity": 0.00, "update_time": 0}}
  202. AccountOrderFail
  203. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.02128","v":"377.68","a":"8.0370304","S":1,"m":0,"st":0,"t":"506433449729470464X1","c":"142474013686397","i":"C02__506433449729470464089","n":"0.00160740608","N":"USDT","T":1736525379387},"s":"GHUBUSDT","t":1736525379409}
  204. [ 2025-01-10-16-09-39 ] INFO : WebSocketEvent: , event_time=1736525379409", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 6623088226816617076, "is_maker": false, "is_self_trade": false, "client_order_id": 142474013686397, "commission": {"asset": "USDT", "fee": 0.00160741}, "trade": {"symbol": "GHUBUSDT", "price": 0.02128, "quantity": 377.68, "trade_side": BUY, "trade_time": 1736525379387}}
  205. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.02129","v":"44.51","a":"0.9476179","S":1,"m":0,"st":0,"t":"506433449729470464X2","c":"142474013686397","i":"C02__506433449729470464089","n":"0.00018952358","N":"USDT","T":1736525379387},"s":"GHUBUSDT","t":1736525379410}
  206. [ 2025-01-10-16-09-39 ] INFO : WebSocketEvent: , event_time=1736525379410", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 6623088226816617076, "is_maker": false, "is_self_trade": false, "client_order_id": 142474013686397, "commission": {"asset": "USDT", "fee": 0.000189524}, "trade": {"symbol": "GHUBUSDT", "price": 0.02129, "quantity": 44.51, "trade_side": BUY, "trade_time": 1736525379387}}
  207. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"GHUB","c":1736525379408,"cd":"f6e8b1d0025247b7a70ff686a58f0e14","f":"59173.77","fd":"422.19","l":"61.9","ld":"0","o":"ENTRUST"},"t":1736525379411}
  208. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736525379408,"cd":"128f589271cb4951b03e71e6323eb7be","f":"932.18545037172","fd":"0.0375595104","l":"0","ld":"-9.02400474006","o":"ENTRUST"},"t":1736525379411}
  209. [Thread 0x7fffd74006c0 (LWP 3765365) exited]
  210. [Thread 0x7fffd6a006c0 (LWP 3765368) exited]
  211. [Thread 0x7fffe22006c0 (LWP 3764449) exited]
  212. [New Thread 0x7fffe26006c0 (LWP 3765946)]
  213. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "GHUB", "free": 59173.8, "locked": 61.9, "update_time": 0}, {"asset": "USDT", "free": 932.185, "locked": 0, "update_time": 0}]}
  214. {"asset": "GHUB", "free": 59173.8, "locked": 61.9, "update_time": 0}
  215. {"asset": "USDT", "free": 932.185, "locked": 0, "update_time": 0}
  216. [ 2025-01-10-16-09-54 ] DEBUG base balance: {"asset": "GHUB", "free": 59173.8, "locked": 61.9, "update_time": 0}
  217. [ 2025-01-10-16-09-54 ] DEBUG quote balance: {"asset": "USDT", "free": 932.185, "locked": 0, "update_time": 0}
  218. [ 2025-01-10-16-09-54 ] INFO execution order event process: OrderEvent: symbol="GHUBUSDT", type="LIMIT_GRID", asks: [], bids: []
  219. [ 2025-01-10-16-09-54 ] DEBUG already opened order: {"symbol": "GHUBUSDT", "coid": 142474013686398, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 0.02136, "quantity": 61.90, "filled_quantity": 0.00, "update_time": 1736525379342}
  220. [ 2025-01-10-16-09-54 ] DEBUG csize: 1
  221. [New Thread 0x7fffd6a006c0 (LWP 3766210)]
  222. [Thread 0x7fffd6a006c0 (LWP 3766210) exited]
  223. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506433449754669057089","c":"142474013686398","o":1,"p":"0.02136","v":"61.9","S":2,"a":"1.322184","m":0,"A":"1.322184","V":"61.9","s":4,"O":1736525379366,"ap":"0","cv":"0","ca":"0"},"s":"GHUBUSDT","t":1736525394369}
  224. [ 2025-01-10-16-09-54 ] INFO : WebSocketEvent: , event_time=1736525394369", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 6623088226816617076, "order": {"symbol": "GHUBUSDT", "coid": 142474013686398, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "CANCELED", "price": 0.02136, "quantity": 61.90, "filled_quantity": 0.00, "update_time": 0}}
  225. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"GHUB","c":1736525394396,"cd":"f6e8b1d0025247b7a70ff686a58f0e14","f":"59235.67","fd":"61.9","l":"0","ld":"-61.9","o":"ENTRUST"},"t":1736525394400}
  226. [Thread 0x7fffe26006c0 (LWP 3765946) exited]
  227. [New Thread 0x7fffe22006c0 (LWP 3766770)]
  228. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "GHUB", "free": 59235.7, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 932.185, "locked": 0, "update_time": 0}]}
  229. {"asset": "GHUB", "free": 59235.7, "locked": 0, "update_time": 0}
  230. {"asset": "USDT", "free": 932.185, "locked": 0, "update_time": 0}
  231. [ 2025-01-10-16-10-09 ] DEBUG base balance: {"asset": "GHUB", "free": 59235.7, "locked": 0, "update_time": 0}
  232. [ 2025-01-10-16-10-09 ] DEBUG quote balance: {"asset": "USDT", "free": 932.185, "locked": 0, "update_time": 0}
  233. [ 2025-01-10-16-10-09 ] MESSAGE: dealing with narrow spread
  234. [ 2025-01-10-16-10-09 ] INFO dealing with narrow spread result: OrderEvent: symbol="GHUBUSDT", type="LIMIT_GRID", asks: [(0.02136, 61.9); ], bids: [(0.02137, 422.19); ]
  235. [ 2025-01-10-16-10-09 ] INFO execution order event process: OrderEvent: symbol="GHUBUSDT", type="LIMIT_GRID", asks: [(0.02136, 61.9); ], bids: [(0.02137, 422.19); ]
  236. [ 2025-01-10-16-10-09 ] DEBUG ask in _process_limit_grid: 0.02136
  237. [ 2025-01-10-16-10-09 ] DEBUG ask in _process_limit_grid: 61.9
  238. [ 2025-01-10-16-10-09 ] DEBUG bid in _process_limit_grid: 0.02137
  239. [ 2025-01-10-16-10-09 ] DEBUG bid in _process_limit_grid: 422.19
  240. [New Thread 0x7fffd6a006c0 (LWP 3766822)]
  241. [New Thread 0x7fffd74006c0 (LWP 3766823)]
  242. [ 2025-01-10-16-10-09 ] DEBUG csize: 0
  243. 1736525400072: finished kline 5m
  244. ask: 0.02137
  245. bid: 0.02136
  246. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736525409860,"cd":"128f589271cb4951b03e71e6323eb7be","f":"923.16144563166","fd":"-9.02400474006","l":"9.02400474006","ld":"9.02400474006","o":"ENTRUST_PLACE"},"t":1736525409874}
  247. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506433577643175936089","c":"142474013686399","o":1,"p":"0.02137","v":"422.19","S":1,"a":"9.0222003","m":0,"A":"1.3886226","V":"64.98","lv":"357.21","s":3,"O":1736525409857,"ap":"0.02128","cv":"357.21","ca":"7.6014288"},"s":"GHUBUSDT","t":1736525409877}
  248. [ 2025-01-10-16-10-09 ] INFO : WebSocketEvent: , event_time=1736525409877", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 6623088226816557164, "order": {"symbol": "GHUBUSDT", "coid": 142474013686399, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PARTIALLY_FILLED", "price": 0.02137, "quantity": 422.19, "filled_quantity": 357.21, "update_time": 0}}
  249. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506433577643175936089","c":"142474013686399","o":1,"p":"0.02137","v":"422.19","S":1,"a":"9.0222003","m":0,"A":"0.9257484","V":"43.32","lv":"21.66","s":3,"O":1736525409857,"ap":"0.021280571700055427","cv":"378.87","ca":"8.0625702"},"s":"GHUBUSDT","t":1736525409877}
  250. [ 2025-01-10-16-10-09 ] INFO : WebSocketEvent: , event_time=1736525409877", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140736995519232, "order": {"symbol": "GHUBUSDT", "coid": 142474013686399, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PARTIALLY_FILLED", "price": 0.02137, "quantity": 422.19, "filled_quantity": 378.87, "update_time": 0}}
  251. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"GHUB","c":1736525409865,"cd":"f6e8b1d0025247b7a70ff686a58f0e14","f":"59173.77","fd":"-61.9","l":"61.9","ld":"61.9","o":"ENTRUST_PLACE"},"t":1736525409880}
  252. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506433577643175936089","c":"142474013686399","o":1,"p":"0.02137","v":"422.19","S":1,"a":"9.0222003","m":1,"A":"0","V":"0","lv":"43.32","s":2,"O":1736525409857,"ap":"0.021289747743906771","cv":"422.19","ca":"8.9883186"},"s":"GHUBUSDT","t":1736525409881}
  253. [ 2025-01-10-16-10-09 ] INFO : WebSocketEvent: , event_time=1736525409881", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140735206654060, "order": {"symbol": "GHUBUSDT", "coid": 142474013686399, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "FILLED", "price": 0.02137, "quantity": 422.19, "filled_quantity": 422.19, "update_time": 0}}
  254. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506433577659944965089","c":"142474013686400","o":1,"p":"0.02136","v":"61.9","S":2,"a":"1.322184","m":0,"A":"0.3968688","V":"18.58","lv":"43.32","s":3,"O":1736525409862,"ap":"0.02137","cv":"43.32","ca":"0.9257484"},"s":"GHUBUSDT","t":1736525409881}
  255. [ 2025-01-10-16-10-09 ] INFO : WebSocketEvent: , event_time=1736525409881", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 6623088223268634628, "order": {"symbol": "GHUBUSDT", "coid": 142474013686400, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "PARTIALLY_FILLED", "price": 0.02136, "quantity": 61.90, "filled_quantity": 43.32, "update_time": 0}}
  256. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.02128","v":"357.21","a":"7.6014288","S":1,"m":0,"st":0,"t":"506433577643175936X1","c":"142474013686399","i":"C02__506433577643175936089","n":"0.00152028576","N":"USDT","T":1736525409875},"s":"GHUBUSDT","t":1736525409898}
  257. [ 2025-01-10-16-10-09 ] INFO : WebSocketEvent: , event_time=1736525409898", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 140735206654096, "is_maker": false, "is_self_trade": false, "client_order_id": 142474013686399, "commission": {"asset": "USDT", "fee": 0.00152029}, "trade": {"symbol": "GHUBUSDT", "price": 0.02128, "quantity": 357.21, "trade_side": BUY, "trade_time": 1736525409875}}
  258. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.02129","v":"21.66","a":"0.4611414","S":1,"m":0,"st":0,"t":"506433577643175936X2","c":"142474013686399","i":"C02__506433577643175936089","n":"0.00009222828","N":"USDT","T":1736525409875},"s":"GHUBUSDT","t":1736525409898}
  259. [ 2025-01-10-16-10-09 ] INFO : WebSocketEvent: , event_time=1736525409898", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 140733193388129, "is_maker": false, "is_self_trade": false, "client_order_id": 142474013686399, "commission": {"asset": "USDT", "fee": 9.22283e-05}, "trade": {"symbol": "GHUBUSDT", "price": 0.02129, "quantity": 21.66, "trade_side": BUY, "trade_time": 1736525409875}}
  260. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.02137","v":"43.32","a":"0.9257484","S":2,"m":0,"st":1,"t":"506433577659944965X1","c":"142474013686400","i":"C02__506433577659944965089","n":"0.00018514968","N":"USDT","T":1736525409879},"s":"GHUBUSDT","t":1736525409899}
  261. [ 2025-01-10-16-10-09 ] INFO : WebSocketEvent: , event_time=1736525409899", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 140733193388038, "is_maker": false, "is_self_trade": true, "client_order_id": 142474013686400, "commission": {"asset": "USDT", "fee": 0.00018515}, "trade": {"symbol": "GHUBUSDT", "price": 0.02137, "quantity": 43.32, "trade_side": SELL, "trade_time": 1736525409879}}
  262. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736525409897,"cd":"128f589271cb4951b03e71e6323eb7be","f":"924.121082508","fd":"0.03388847634","l":"0","ld":"-8.09807119038","o":"ENTRUST"},"t":1736525409901}
  263. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"GHUB","c":1736525409897,"cd":"f6e8b1d0025247b7a70ff686a58f0e14","f":"59595.96","fd":"378.87","l":"18.58","ld":"0","o":"ENTRUST"},"t":1736525409901}
  264. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.02137","v":"43.32","a":"0.9257484","S":1,"m":1,"st":1,"t":"506433577643175936X3","c":"142474013686399","i":"C02__506433577643175936089","n":"0","N":"USDT","T":1736525409879},"s":"GHUBUSDT","t":1736525409908}
  265. [ 2025-01-10-16-10-09 ] INFO : WebSocketEvent: , event_time=1736525409908", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 6623088226816617076, "is_maker": true, "is_self_trade": true, "client_order_id": 142474013686399, "commission": {"asset": "USDT", "fee": 0}, "trade": {"symbol": "GHUBUSDT", "price": 0.02137, "quantity": 43.32, "trade_side": BUY, "trade_time": 1736525409879}}
  266. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736525409907,"cd":"128f589271cb4951b03e71e6323eb7be","f":"924.121082508","fd":"0.00018514968","l":"0","ld":"-0.92593354968","o":"ENTRUST"},"t":1736525409911}
  267. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"GHUB","c":1736525409907,"cd":"f6e8b1d0025247b7a70ff686a58f0e14","f":"59595.96","fd":"43.32","l":"18.58","ld":"0","o":"ENTRUST"},"t":1736525409911}
  268. [Thread 0x7fffd6a006c0 (LWP 3766822) exited]
  269. [Thread 0x7fffd74006c0 (LWP 3766823) exited]
  270. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506433577659944965089","c":"142474013686400","o":1,"p":"0.02136","v":"61.9","S":2,"a":"1.322184","m":1,"A":"0","V":"0","lv":"18.58","s":2,"O":1736525409862,"ap":"0.021366998384491114","cv":"61.9","ca":"1.3226172"},"s":"GHUBUSDT","t":1736525410466}
  271. [ 2025-01-10-16-10-10 ] INFO : WebSocketEvent: , event_time=1736525410466", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 6623088223268634693, "order": {"symbol": "GHUBUSDT", "coid": 142474013686400, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.02136, "quantity": 61.90, "filled_quantity": 61.90, "update_time": 0}}
  272. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.02136","v":"18.58","a":"0.3968688","S":2,"m":1,"st":0,"t":"506433577659944965X2","c":"142474013686400","i":"C02__506433577659944965089","n":"0","N":"USDT","T":1736525410465},"s":"GHUBUSDT","t":1736525410484}
  273. [ 2025-01-10-16-10-10 ] INFO : WebSocketEvent: , event_time=1736525410484", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 6623088226816617076, "is_maker": true, "is_self_trade": false, "client_order_id": 142474013686400, "commission": {"asset": "USDT", "fee": 0}, "trade": {"symbol": "GHUBUSDT", "price": 0.02136, "quantity": 18.58, "trade_side": SELL, "trade_time": 1736525410465}}
  274. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"GHUB","c":1736525410483,"cd":"f6e8b1d0025247b7a70ff686a58f0e14","f":"59595.96","fd":"0","l":"0","ld":"-18.58","o":"ENTRUST"},"t":1736525410487}
  275. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736525410483,"cd":"128f589271cb4951b03e71e6323eb7be","f":"924.517951308","fd":"0.3968688","l":"0","ld":"0","o":"ENTRUST"},"t":1736525410487}
  276. [Thread 0x7fffe22006c0 (LWP 3766770) exited]
  277. [New Thread 0x7fffe26006c0 (LWP 3767450)]
  278. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "GHUB", "free": 59596, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 924.518, "locked": 0, "update_time": 0}]}
  279. {"asset": "GHUB", "free": 59596, "locked": 0, "update_time": 0}
  280. {"asset": "USDT", "free": 924.518, "locked": 0, "update_time": 0}
  281. [ 2025-01-10-16-10-25 ] DEBUG base balance: {"asset": "GHUB", "free": 59596, "locked": 0, "update_time": 0}
  282. [ 2025-01-10-16-10-25 ] DEBUG quote balance: {"asset": "USDT", "free": 924.518, "locked": 0, "update_time": 0}
  283. [ 2025-01-10-16-10-25 ] MESSAGE: dealing with narrow spread
  284. [ 2025-01-10-16-10-25 ] INFO dealing with narrow spread result: OrderEvent: symbol="GHUBUSDT", type="LIMIT_GRID", asks: [(0.02136, 61.9); ], bids: [(0.02137, 422.19); ]
  285. [ 2025-01-10-16-10-25 ] INFO execution order event process: OrderEvent: symbol="GHUBUSDT", type="LIMIT_GRID", asks: [(0.02136, 61.9); ], bids: [(0.02137, 422.19); ]
  286. [ 2025-01-10-16-10-25 ] DEBUG ask in _process_limit_grid: 0.02136
  287. [ 2025-01-10-16-10-25 ] DEBUG ask in _process_limit_grid: 61.9
  288. [ 2025-01-10-16-10-25 ] DEBUG bid in _process_limit_grid: 0.02137
  289. [ 2025-01-10-16-10-25 ] DEBUG bid in _process_limit_grid: 422.19
  290. [New Thread 0x7fffd74006c0 (LWP 3767664)]
  291. [New Thread 0x7fffd6a006c0 (LWP 3767665)]
  292. [ 2025-01-10-16-10-25 ] DEBUG csize: 0
  293. ask: 0.02137
  294. bid: 0.02136
  295. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736525425349,"cd":"128f589271cb4951b03e71e6323eb7be","f":"915.49394656794","fd":"-9.02400474006","l":"9.02400474006","ld":"9.02400474006","o":"ENTRUST_PLACE"},"t":1736525425368}
  296. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"GHUB","c":1736525425353,"cd":"f6e8b1d0025247b7a70ff686a58f0e14","f":"59534.06","fd":"-61.9","l":"61.9","ld":"61.9","o":"ENTRUST_PLACE"},"t":1736525425368}
  297. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506433642608750592089","c":"142474013686401","o":1,"p":"0.02137","v":"422.19","S":1,"a":"9.0222003","m":0,"A":"9.0222003","V":"422.19","s":1,"O":1736525425346,"ap":"0","cv":"0","ca":"0"},"s":"GHUBUSDT","t":1736525425376}
  298. [ 2025-01-10-16-10-25 ] INFO : WebSocketEvent: , event_time=1736525425376", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 6623088226816557164, "order": {"symbol": "GHUBUSDT", "coid": 142474013686401, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 0.02137, "quantity": 422.19, "filled_quantity": 0.00, "update_time": 0}}
  299. AccountOrderFail
  300. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506433642625556480089","c":"142474013686402","o":1,"p":"0.02136","v":"61.9","S":2,"a":"1.322184","m":0,"A":"0.3336432","V":"15.62","lv":"46.28","s":3,"O":1736525425350,"ap":"0.02138","cv":"46.28","ca":"0.9894664"},"s":"GHUBUSDT","t":1736525425376}
  301. [ 2025-01-10-16-10-25 ] INFO : WebSocketEvent: , event_time=1736525425376", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140736995519232, "order": {"symbol": "GHUBUSDT", "coid": 142474013686402, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "PARTIALLY_FILLED", "price": 0.02136, "quantity": 61.90, "filled_quantity": 46.28, "update_time": 0}}
  302. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506433642608750592089","c":"142474013686401","o":1,"p":"0.02137","v":"422.19","S":1,"a":"9.0222003","m":1,"A":"8.6884009","V":"406.57","lv":"15.62","s":3,"O":1736525425346,"ap":"0.02137","cv":"15.62","ca":"0.3337994"},"s":"GHUBUSDT","t":1736525425376}
  303. [ 2025-01-10-16-10-25 ] INFO : WebSocketEvent: , event_time=1736525425376", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140736995519232, "order": {"symbol": "GHUBUSDT", "coid": 142474013686401, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PARTIALLY_FILLED", "price": 0.02137, "quantity": 422.19, "filled_quantity": 15.62, "update_time": 0}}
  304. feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__506433642625556480089","c":"142474013686402","o":1,"p":"0.02136","v":"61.9","S":2,"a":"1.322184","m":0,"A":"0","V":"0","lv":"15.62","s":2,"O":1736525425350,"ap":"0.021377476575121163","cv":"61.9","ca":"1.3232658"},"s":"GHUBUSDT","t":1736525425376}
  305. [ 2025-01-10-16-10-25 ] INFO : WebSocketEvent: , event_time=1736525425376", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 6623088226816617076, "order": {"symbol": "GHUBUSDT", "coid": 142474013686402, "order_id": "", "type": "LIMIT", "side": "SELL", "status": "FILLED", "price": 0.02136, "quantity": 61.90, "filled_quantity": 61.90, "update_time": 0}}
  306. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.02137","v":"15.62","a":"0.3337994","S":1,"m":1,"st":1,"t":"506433642608750592X1","c":"142474013686401","i":"C02__506433642608750592089","n":"0","N":"USDT","T":1736525425374},"s":"GHUBUSDT","t":1736525425399}
  307. [ 2025-01-10-16-10-25 ] INFO : WebSocketEvent: , event_time=1736525425399", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 6623088226816617076, "is_maker": true, "is_self_trade": true, "client_order_id": 142474013686401, "commission": {"asset": "USDT", "fee": 0}, "trade": {"symbol": "GHUBUSDT", "price": 0.02137, "quantity": 15.62, "trade_side": BUY, "trade_time": 1736525425374}}
  308. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.02138","v":"46.28","a":"0.9894664","S":2,"m":0,"st":0,"t":"506433642625556480X1","c":"142474013686402","i":"C02__506433642625556480089","n":"0.00019789328","N":"USDT","T":1736525425374},"s":"GHUBUSDT","t":1736525425399}
  309. [ 2025-01-10-16-10-25 ] INFO : WebSocketEvent: , event_time=1736525425399", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 6623088226816617076, "is_maker": false, "is_self_trade": false, "client_order_id": 142474013686402, "commission": {"asset": "USDT", "fee": 0.000197893}, "trade": {"symbol": "GHUBUSDT", "price": 0.02138, "quantity": 46.28, "trade_side": SELL, "trade_time": 1736525425374}}
  310. feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.02137","v":"15.62","a":"0.3337994","S":2,"m":0,"st":1,"t":"506433642625556480X2","c":"142474013686402","i":"C02__506433642625556480089","n":"0.00006675988","N":"USDT","T":1736525425374},"s":"GHUBUSDT","t":1736525425399}
  311. [ 2025-01-10-16-10-25 ] INFO : WebSocketEvent: , event_time=1736525425399", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 6623088226816617076, "is_maker": false, "is_self_trade": true, "client_order_id": 142474013686402, "commission": {"asset": "USDT", "fee": 6.67599e-05}, "trade": {"symbol": "GHUBUSDT", "price": 0.02137, "quantity": 15.62, "trade_side": SELL, "trade_time": 1736525425374}}
  312. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"GHUB","c":1736525425398,"cd":"f6e8b1d0025247b7a70ff686a58f0e14","f":"59549.68","fd":"0","l":"0","ld":"-61.9","o":"ENTRUST"},"t":1736525425402}
  313. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736525425398,"cd":"128f589271cb4951b03e71e6323eb7be","f":"916.81701447466","fd":"1.32300114684","l":"8.69013858018","ld":"0","o":"ENTRUST"},"t":1736525425402}
  314. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"GHUB","c":1736525425398,"cd":"f6e8b1d0025247b7a70ff686a58f0e14","f":"59549.68","fd":"15.62","l":"0","ld":"0","o":"ENTRUST"},"t":1736525425404}
  315. feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736525425398,"cd":"128f589271cb4951b03e71e6323eb7be","f":"916.81701447466","fd":"0.00006675988","l":"8.69013858018","ld":"-0.33386615988","o":"ENTRUST"},"t":1736525425404}
  316. [Thread 0x7fffd74006c0 (LWP 3767664) exited]
  317. [Thread 0x7fffd6a006c0 (LWP 3767665) exited]
  318. ^C
  319. Thread 1 "test" received signal SIGINT, Interrupt.
  320. 0x00007ffff6cecadf in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0x7fffffffdb90,
  321. rem=0x7fffffffdb90) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:78
  322. warning: 78 ../sysdeps/unix/sysv/linux/clock_nanosleep.c: No such file or directory
  323. (gdb) run ghub_volume/launch.config
  324. The program being debugged has been started already.
  325. Start it from the beginning? (y or n) y
  326. Starting program: /home/ubuntu/tgbot/tg_volume/test ghub_volume/launch.config
  327. [Thread debugging using libthread_db enabled]
  328. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  329. [New Thread 0x7ffff6a006c0 (LWP 3773032)]
  330. [New Thread 0x7ffff66006c0 (LWP 3773033)]
  331. [New Thread 0x7ffff62006c0 (LWP 3773034)]
  332. [New Thread 0x7ffff5e006c0 (LWP 3773035)]
  333. [New Thread 0x7ffff5a006c0 (LWP 3773036)]
  334. [New Thread 0x7ffff56006c0 (LWP 3773037)]
  335. [New Thread 0x7ffff52006c0 (LWP 3773038)]
  336. [New Thread 0x7ffff4e006c0 (LWP 3773039)]
  337. [New Thread 0x7ffff4a006c0 (LWP 3773040)]
  338. [New Thread 0x7ffff46006c0 (LWP 3773041)]
  339. [New Thread 0x7fffefe006c0 (LWP 3773042)]
  340. [New Thread 0x7fffefa006c0 (LWP 3773043)]
  341. [New Thread 0x7fffef6006c0 (LWP 3773044)]
  342. [New Thread 0x7fffef2006c0 (LWP 3773045)]
  343. [New Thread 0x7fffeee006c0 (LWP 3773046)]
  344. [New Thread 0x7fffeea006c0 (LWP 3773047)]
  345. [New Thread 0x7fffee6006c0 (LWP 3773048)]
  346. [New Thread 0x7fffee2006c0 (LWP 3773049)]
  347. [New Thread 0x7fffede006c0 (LWP 3773050)]
  348. [New Thread 0x7fffeda006c0 (LWP 3773051)]
  349. [New Thread 0x7fffed6006c0 (LWP 3773052)]
  350. [New Thread 0x7fffed2006c0 (LWP 3773053)]
  351. [New Thread 0x7fffece006c0 (LWP 3773055)]
  352. [New Thread 0x7fffeca006c0 (LWP 3773056)]
  353. [New Thread 0x7fffec6006c0 (LWP 3773058)]
  354. [New Thread 0x7fffe3e006c0 (LWP 3773059)]
  355. [New Thread 0x7fffe3a006c0 (LWP 3773060)]
  356. [New Thread 0x7fffe36006c0 (LWP 3773061)]
  357. [New Thread 0x7fffe32006c0 (LWP 3773062)]
  358. [New Thread 0x7fffe2e006c0 (LWP 3773063)]
  359. [New Thread 0x7fffe2a006c0 (LWP 3773064)]
  360. [New Thread 0x7fffe26006c0 (LWP 3773065)]
  361. add_parser: BINANCE_FUTURES
  362. add_parser: BITMART_SPOT
  363. add_parser: MEXC_SPOT
  364. /home/ubuntu//mexc_spot/ghub_volume.account
  365. shared_parser: MEXC_SPOT
  366. has: BINANCE_FUTURES
  367. has: BITMART_SPOT
  368. has: MEXC_SPOT
  369. [New Thread 0x7fffe22006c0 (LWP 3773066)]
  370. run forever balance 0x555555678d90
  371. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "GHUB", "free": 59618.6, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 916.817, "locked": 7.21681, "update_time": 0}]}
  372. [New Thread 0x7fffe1e006c0 (LWP 3773069)]
  373. Initializing orderbook
  374. [New Thread 0x7fffe14006c0 (LWP 3773070)]
  375. [New Thread 0x7fffe10006c0 (LWP 3773071)]
  376. {"symbol": "GHUBUSDT", "market": "MEXC_SPOT", "account": "GHUB_VOLUME"}
  377. cooldown: 15000
  378. sleep time: 15000
  379. {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "GHUB", "free": 59618.6, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 916.817, "locked": 7.21681, "update_time": 0}]}
  380. {"asset": "GHUB", "free": 59618.6, "locked": 0, "update_time": 0}
  381. {"asset": "USDT", "free": 916.817, "locked": 7.21681, "update_time": 0}
  382. binance subscribe: wss://fstream.binance.com/stream?streams=btcusdt@kline_5m/btcusdt@kline_1d
  383. /mnt/volume_telemetry/GHUB_USDT_mexc
  384. {"name": "VANILLA", "separate": "0", "labels": ["50"], "symbols": [{"account": "GHUB_VOLUME", "market": "MEXC_SPOT", "symbol": "GHUBUSDT"}]}
  385. [New Thread 0x7fffd7e006c0 (LWP 3773072)]
  386. get balance indicator 0x555555678eb8
  387. {"ok": "1"}
  388. {"ok": "1"}
  389. [ 2025-01-10-16-12-21 ] DEBUG base balance: {"asset": "GHUB", "free": 59618.6, "locked": 0, "update_time": 0}
  390. [ 2025-01-10-16-12-21 ] DEBUG quote balance: {"asset": "USDT", "free": 916.817, "locked": 7.21681, "update_time": 0}
  391. [ 2025-01-10-16-12-21 ] INFO execution order event process: OrderEvent: symbol="GHUBUSDT", type="LIMIT_GRID", asks: [], bids: []
  392. [ 2025-01-10-16-12-21 ] DEBUG already opened order: {"symbol": "GHUBUSDT", "coid": 142474013686401, "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PARTIALLY_FILLED", "price": 0.02137, "quantity": 422.19, "filled_quantity": 84.55, "update_time": 1736525538953}
  393. [ 2025-01-10-16-12-21 ] DEBUG csize: 1
  394. [New Thread 0x7fffd74006c0 (LWP 3773296)]
  395. {"code": "-2011", "msg": "Order cancelled."}
  396. [Thread 0x7fffd74006c0 (LWP 3773296) exited]
  397. ^C
  398. Thread 1 "test" received signal SIGINT, Interrupt.
  399. 0x00007ffff6cecadf in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0x7fffffffdb90,
  400. rem=0x7fffffffdb90) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:78
  401. warning: 78 ../sysdeps/unix/sysv/linux/clock_nanosleep.c: No such file or directory
  402. (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement