Advertisement
den4ik2003

Untitled

May 31st, 2024
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.26 KB | None | 0 0
  1. ubuntu@ip-172-31-31-23:~/connector_demo/main$ ./test LOTTUSDT_taker
  2. file name -> LOTTUSDT_taker.config
  3. logger is empty
  4. call_back portfolio 1
  5. {"asset": "LOTT", "free": 4491.11, "locked": 0, "update_time": 126918967946000}
  6. {"asset": "RSR", "free": 465.15, "locked": 0, "update_time": 126918967946000}
  7. {"asset": "USDT", "free": 8.4771, "locked": 0, "update_time": 126918967946000}
  8. {"params":["spot@private.account.v3.api","spot@public.limit.depth.v3.api@LOTTUSDT@20","spot@private.orders.v3.api"],"method":"SUBSCRIPTION"}
  9. starts taker test!
  10. result: OrderEvent: delta=1.71703e+11, symbol="LOTTUSDT", type="TAKER_SELL", quantity: 775.194
  11. taker test completed!
  12. [ 2024-05-31-12-53-32 ] INFO : OrderEvent: delta=1.71703e+11, symbol="LOTTUSDT", type="TAKER_SELL", quantity: 775.194
  13. [ 2024-05-31-12-53-32 ] DEBUG ! new: {"symbol": "LOTTUSDT", "quantity": 775.190000, "client_order_id": 1717160012501, "type": MARKET", "side": SELL"}
  14.  
  15. callback
  16. WebSocketEvent: delta=1.71716e+11, event_time=1717160012873", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 126918700416080, "balance": {"asset": "LOTT", "free": 3715.92, "locked": 775.19, "update_time": 1717160012867}}
  17.  
  18.  
  19. callback
  20. WebSocketEvent: delta=1.71716e+11, event_time=1717160012885", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 126919050456216, "order": {"symbol": "LOTTUSDT", "coid": 1717160012501, "type": MARKET, "side": SELL, "status": "FILLED", "price": 0.012900, "quantity": 775.190000, "filled_quantity": 775.190000, "update_time": 126918700403472}}
  21.  
  22. [ 2024-05-31-12-53-32 ] INFO : WebSocketEvent: delta=1.71716e+11, event_time=1717160012885", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 126919050456216, "order": {"symbol": "LOTTUSDT", "coid": 1717160012501, "type": MARKET, "side": SELL, "status": "FILLED", "price": 0.012900, "quantity": 775.190000, "filled_quantity": 775.190000, "update_time": 126918700403472}}
  23. market
  24. [ 2024-05-31-12-53-32 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1717160012501, "type": MARKET, "side": SELL, "status": "FILLED", "price": 0.012900, "quantity": 775.190000, "filled_quantity": 775.190000, "update_time": 126918700403472}
  25. [ 2024-05-31-12-53-32 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1717160012501, "type": MARKET, "side": SELL, "status": "PENDING", "quantity": 775.190000, "update_time": 126918700421600}
  26. [ 2024-05-31-12-53-32 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.012900, "quantity": 775.190000, "trade_side": SELL, "trade_time": 0}
  27. [ 2024-05-31-12-53-32 ] INFO new position: {"symbol": "LOTTUSDT", "entry_price": 0.0129, "quantity": -775.19, "position_quote": -9.99995}
  28. Erase
  29. limit/market orders size: 0
  30. ! LOTTUSDT
  31. [ 2024-05-31-12-53-32 ] DEBUG ? new: {"symbol": "LOTTUSDT", "coid": 1717160012501, "type": MARKET, "side": SELL, "status": "NEW", "quantity": 775.190000, "update_time": 1717160012864}
  32.  
  33. callback
  34. WebSocketEvent: delta=1.71716e+11, event_time=1717160012925", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 126918700434640, "balance": {"asset": "LOTT", "free": 3715.92, "locked": 0, "update_time": 1717160012921}}
  35.  
  36.  
  37. callback
  38. WebSocketEvent: delta=1.71716e+11, event_time=1717160012927", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 126918700435184, "balance": {"asset": "USDT", "free": 18.4671, "locked": 0, "update_time": 1717160012921}}
  39.  
  40. {"asset": "LOTT", "free": 3715.92, "locked": 0, "update_time": 126918967946000}
  41. {"asset": "RSR", "free": 465.15, "locked": 0, "update_time": 126918967946000}
  42. {"asset": "USDT", "free": 18.4671, "locked": 0, "update_time": 126918967946000}
  43. ^C
  44. ubuntu@ip-172-31-31-23:~/connector_demo/main$ ./test LOTTUSDT_taker
  45. file name -> LOTTUSDT_taker.config
  46. logger is empty
  47. {"asset": "LOTT", "free": 3715.92, "locked": 0, "update_time": 134571905501968}
  48. {"asset": "RSR", "free": 465.15, "locked": 0, "update_time": 134571905501968}
  49. {"asset": "USDT", "free": 18.4671, "locked": 0, "update_time": 134571905501968}
  50. call_back portfolio 1
  51. {"params":["spot@private.account.v3.api","spot@public.limit.depth.v3.api@LOTTUSDT@20","spot@private.orders.v3.api"],"method":"SUBSCRIPTION"}
  52. starts taker test!
  53. result: OrderEvent: delta=1.71703e+11, symbol="LOTTUSDT", type="TAKER_BUY", amount: 16
  54. taker test completed!
  55. [ 2024-05-31-13-05-14 ] INFO : OrderEvent: delta=1.71703e+11, symbol="LOTTUSDT", type="TAKER_BUY", amount: 16
  56. [ 2024-05-31-13-05-14 ] DEBUG ! new: {"symbol": "LOTTUSDT", "amount": 16, "client_order_id": 1717160713904, "type": MARKET", "side": BUY"}
  57. [ 2024-05-31-13-05-14 ] DEBUG ? new: {"symbol": "LOTTUSDT", "coid": 1717160713904, "type": MARKET, "side": BUY, "status": "NEW", "quantity": 1127.550000, "update_time": 1717160714396}
  58.  
  59. callback
  60. WebSocketEvent: delta=1.71716e+11, event_time=1717160714402", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 134571593965888, "balance": {"asset": "USDT", "free": 2.45112, "locked": 16.0159, "update_time": 1717160714398}}
  61.  
  62.  
  63. callback
  64. WebSocketEvent: delta=1.71716e+11, event_time=1717160714422", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 134571914620056, "order": {"symbol": "LOTTUSDT", "coid": 1717160713904, "type": MARKET, "side": BUY, "status": "PARTIALLY_FILLED", "price": 0.013292, "quantity": 1127.550000, "filled_quantity": 674.160000, "update_time": 134571593925232}}
  65.  
  66. [ 2024-05-31-13-05-14 ] INFO : WebSocketEvent: delta=1.71716e+11, event_time=1717160714422", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 134571914620056, "order": {"symbol": "LOTTUSDT", "coid": 1717160713904, "type": MARKET, "side": BUY, "status": "PARTIALLY_FILLED", "price": 0.013292, "quantity": 1127.550000, "filled_quantity": 674.160000, "update_time": 134571593925232}}
  67. market
  68. [ 2024-05-31-13-05-14 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1717160713904, "type": MARKET, "side": BUY, "status": "PARTIALLY_FILLED", "price": 0.013292, "quantity": 1127.550000, "filled_quantity": 674.160000, "update_time": 134571593925232}
  69. [ 2024-05-31-13-05-14 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1717160713904, "type": MARKET, "side": BUY, "status": "PENDING", "update_time": 134571593973920}
  70. [ 2024-05-31-13-05-14 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.013292, "quantity": 674.160000, "trade_side": BUY, "trade_time": 0}
  71. [ 2024-05-31-13-05-14 ] INFO new position: {"symbol": "LOTTUSDT", "entry_price": 0.013292, "quantity": 674.16, "position_quote": 8.96093}
  72. limit/market orders size: 1
  73. ! LOTTUSDT
  74.  
  75. callback
  76. WebSocketEvent: delta=1.71716e+11, event_time=1717160714422", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 134571914620056, "order": {"symbol": "LOTTUSDT", "coid": 1717160713904, "type": MARKET, "side": BUY, "status": "FILLED", "price": 0.013292, "quantity": 1127.550000, "filled_quantity": 1127.550000, "update_time": 134571593927872}}
  77.  
  78. [ 2024-05-31-13-05-14 ] INFO : WebSocketEvent: delta=1.71716e+11, event_time=1717160714422", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 134571914620056, "order": {"symbol": "LOTTUSDT", "coid": 1717160713904, "type": MARKET, "side": BUY, "status": "FILLED", "price": 0.013292, "quantity": 1127.550000, "filled_quantity": 1127.550000, "update_time": 134571593927872}}
  79. market
  80. [ 2024-05-31-13-05-14 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1717160713904, "type": MARKET, "side": BUY, "status": "FILLED", "price": 0.013292, "quantity": 1127.550000, "filled_quantity": 1127.550000, "update_time": 134571593927872}
  81. [ 2024-05-31-13-05-14 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1717160713904, "type": MARKET, "side": BUY, "status": "PARTIALLY_FILLED", "price": 0.013292, "quantity": 1127.550000, "filled_quantity": 674.160000, "update_time": 134571593925232}
  82. [ 2024-05-31-13-05-14 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.013292, "quantity": 453.390000, "trade_side": BUY, "trade_time": 0}
  83. [ 2024-05-31-13-05-14 ] INFO new position: {"symbol": "LOTTUSDT", "entry_price": 0.013292, "quantity": 1127.55, "position_quote": 14.9874}
  84. Erase
  85. limit/market orders size: 0
  86. ! LOTTUSDT
  87.  
  88. callback
  89. WebSocketEvent: delta=1.71716e+11, event_time=1717160714467", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 134571593958768, "balance": {"asset": "LOTT", "free": 4390.08, "locked": 0, "update_time": 1717160714461}}
  90.  
  91.  
  92. callback
  93. WebSocketEvent: delta=1.71716e+11, event_time=1717160714467", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 134571593940208, "balance": {"asset": "USDT", "free": 2.45112, "locked": 7.04604, "update_time": 1717160714461}}
  94.  
  95.  
  96. callback
  97. WebSocketEvent: delta=1.71716e+11, event_time=1717160714474", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 134571593959312, "balance": {"asset": "LOTT", "free": 4843.47, "locked": 0, "update_time": 1717160714471}}
  98.  
  99.  
  100. callback
  101. WebSocketEvent: delta=1.71716e+11, event_time=1717160714474", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 134571593940880, "balance": {"asset": "USDT", "free": 3.46422, "locked": 0, "update_time": 1717160714471}}
  102.  
  103. {"asset": "LOTT", "free": 4843.47, "locked": 0, "update_time": 134571905501968}
  104. {"asset": "RSR", "free": 465.15, "locked": 0, "update_time": 134571905501968}
  105. {"asset": "USDT", "free": 3.46422, "locked": 0, "update_time": 134571905501968}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement