Advertisement
den4ik2003

Untitled

May 31st, 2024
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.67 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. {"asset": "LOTT", "free": 3715.92, "locked": 0, "update_time": 134571905501968}
  5. {"asset": "RSR", "free": 465.15, "locked": 0, "update_time": 134571905501968}
  6. {"asset": "USDT", "free": 18.4671, "locked": 0, "update_time": 134571905501968}
  7. call_back portfolio 1
  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_BUY", amount: 16
  11. taker test completed!
  12. [ 2024-05-31-13-05-14 ] INFO : OrderEvent: delta=1.71703e+11, symbol="LOTTUSDT", type="TAKER_BUY", amount: 16
  13. [ 2024-05-31-13-05-14 ] DEBUG ! new: {"symbol": "LOTTUSDT", "amount": 16, "client_order_id": 1717160713904, "type": MARKET", "side": BUY"}
  14. [ 2024-05-31-13-05-14 ] DEBUG ? new: {"symbol": "LOTTUSDT", "coid": 1717160713904, "type": MARKET, "side": BUY, "status": "NEW", "quantity": 1127.550000, "update_time": 1717160714396}
  15.  
  16. callback
  17. 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}}
  18.  
  19.  
  20. callback
  21. 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}}
  22.  
  23. [ 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}}
  24. market
  25. [ 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}
  26. [ 2024-05-31-13-05-14 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1717160713904, "type": MARKET, "side": BUY, "status": "PENDING", "update_time": 134571593973920}
  27. [ 2024-05-31-13-05-14 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.013292, "quantity": 674.160000, "trade_side": BUY, "trade_time": 0}
  28. [ 2024-05-31-13-05-14 ] INFO new position: {"symbol": "LOTTUSDT", "entry_price": 0.013292, "quantity": 674.16, "position_quote": 8.96093}
  29. limit/market orders size: 1
  30. ! LOTTUSDT
  31.  
  32. callback
  33. 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}}
  34.  
  35. [ 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}}
  36. market
  37. [ 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}
  38. [ 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}
  39. [ 2024-05-31-13-05-14 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.013292, "quantity": 453.390000, "trade_side": BUY, "trade_time": 0}
  40. [ 2024-05-31-13-05-14 ] INFO new position: {"symbol": "LOTTUSDT", "entry_price": 0.013292, "quantity": 1127.55, "position_quote": 14.9874}
  41. Erase
  42. limit/market orders size: 0
  43. ! LOTTUSDT
  44.  
  45. callback
  46. 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}}
  47.  
  48.  
  49. callback
  50. 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}}
  51.  
  52.  
  53. callback
  54. 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}}
  55.  
  56.  
  57. callback
  58. 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}}
  59.  
  60. {"asset": "LOTT", "free": 4843.47, "locked": 0, "update_time": 134571905501968}
  61. {"asset": "RSR", "free": 465.15, "locked": 0, "update_time": 134571905501968}
  62. {"asset": "USDT", "free": 3.46422, "locked": 0, "update_time": 134571905501968}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement