Advertisement
den4ik2003

Untitled

May 31st, 2024
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.60 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}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement