Advertisement
den4ik2003

Untitled

May 21st, 2024
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.38 KB | None | 0 0
  1. ubuntu@ip-172-31-31-23:~/connector_demo/main$ ./test LOTTUSDT
  2. file name -> LOTTUSDT.config
  3. market: MEXC_SPOT
  4. symbol: LOTTUSDT
  5. api: mx0vglRsnmcTEgpmkD
  6. secret: ef47dd75fb8b41eebf145056dc98032f
  7. debug: 1
  8. strategy: TEST_TAKER_STRATEGY
  9. side: BUY
  10. amount: 50
  11. risk_manager: VANILLA
  12.  
  13. logger is empty
  14. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 135219501845264}
  15. {"asset": "LOTT", "free": 1111.22, "locked": 0, "update_time": 135219501845264}
  16. {"asset": "RSR", "free": 60818.9, "locked": 3057.27, "update_time": 135219501845264}
  17. {"asset": "USDT", "free": 245.444, "locked": 30.0252, "update_time": 135219501845264}
  18. {"params":["spot@private.account.v3.api","spot@public.limit.depth.v3.api@LOTTUSDT@20","spot@private.orders.v3.api"],"method":"SUBSCRIPTION"}
  19. starts taker test!
  20. result: OrderEvent: delta=1.71615e+11, symbol="LOTTUSDT", type="TAKER_BUY", amount: 50
  21. taker test completed!
  22. [ 2024-05-21-10-00-27 ] INFO : OrderEvent: delta=1.71615e+11, symbol="LOTTUSDT", type="TAKER_BUY", amount: 50
  23. [ 2024-05-21-10-00-27 ] DEBUG __process_taker_buy: {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "NEW", "quantity": 4797.810000, "update_time": 1716285627573}
  24.  
  25. callback
  26. WebSocketEvent: delta=1.71629e+11, event_time=1716285627580", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 135219194512048, "balance": {"asset": "USDT", "free": 195.396, "locked": 80.0732, "update_time": 1716285627576}}
  27.  
  28.  
  29. callback
  30. WebSocketEvent: delta=1.71629e+11, event_time=1716285627596", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 135219510963352, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "PARTIALLY_FILLED", "price": 0.009897, "quantity": 4797.810000, "filled_quantity": 1015.090000, "update_time": 135219194463440}}
  31.  
  32. [ 2024-05-21-10-00-27 ] INFO : WebSocketEvent: delta=1.71629e+11, event_time=1716285627596", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 135219510963352, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "PARTIALLY_FILLED", "price": 0.009897, "quantity": 4797.810000, "filled_quantity": 1015.090000, "update_time": 135219194463440}}
  33. [ 2024-05-21-10-00-27 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.009897, "quantity": 1015.090000, "trade_side": BUY, "trade_time": 0}
  34. [ 2024-05-21-10-00-27 ] INFO new position: {"symbol": "LOTTUSDT", "entry_price": 0.009897, "quantity": 1015.09, "position_quote": 10.0463}
  35. ! LOTTUSDT
  36.  
  37. callback
  38. WebSocketEvent: delta=1.71629e+11, event_time=1716285627596", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 135219510963352, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "PARTIALLY_FILLED", "price": 0.009897, "quantity": 4797.810000, "filled_quantity": 2158.240000, "update_time": 135219194462864}}
  39.  
  40. [ 2024-05-21-10-00-27 ] INFO : WebSocketEvent: delta=1.71629e+11, event_time=1716285627596", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 135219510963352, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "PARTIALLY_FILLED", "price": 0.009897, "quantity": 4797.810000, "filled_quantity": 2158.240000, "update_time": 135219194462864}}
  41. [ 2024-05-21-10-00-27 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.009897, "quantity": 2158.240000, "trade_side": BUY, "trade_time": 0}
  42. [ 2024-05-21-10-00-27 ] INFO new position: {"symbol": "LOTTUSDT", "entry_price": 0.009897, "quantity": 3173.33, "position_quote": 31.4064}
  43. ! LOTTUSDT
  44.  
  45. callback
  46. WebSocketEvent: delta=1.71629e+11, event_time=1716285627596", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 135219510963352, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "FILLED", "price": 0.009898, "quantity": 4797.810000, "filled_quantity": 4797.810000, "update_time": 135219396593344}}
  47.  
  48. [ 2024-05-21-10-00-27 ] INFO : WebSocketEvent: delta=1.71629e+11, event_time=1716285627596", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 135219510963352, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "FILLED", "price": 0.009898, "quantity": 4797.810000, "filled_quantity": 4797.810000, "update_time": 135219396593344}}
  49. [ 2024-05-21-10-00-27 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.009898, "quantity": 4797.810000, "trade_side": BUY, "trade_time": 0}
  50. [ 2024-05-21-10-00-27 ] INFO new position: {"symbol": "LOTTUSDT", "entry_price": 0.0098976, "quantity": 7971.14, "position_quote": 78.8952}
  51. ! LOTTUSDT
  52.  
  53. callback
  54. WebSocketEvent: delta=1.71629e+11, event_time=1716285627660", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 135219194515232, "balance": {"asset": "LOTT", "free": 2126.31, "locked": 0, "update_time": 1716285627655}}
  55.  
  56.  
  57. callback
  58. WebSocketEvent: delta=1.71629e+11, event_time=1716285627660", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 135219194514592, "balance": {"asset": "USDT", "free": 195.396, "locked": 70.0168, "update_time": 1716285627655}}
  59.  
  60.  
  61. callback
  62. WebSocketEvent: delta=1.71629e+11, event_time=1716285627679", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 135219396619376, "balance": {"asset": "USDT", "free": 195.396, "locked": 58.6906, "update_time": 1716285627677}}
  63.  
  64.  
  65. callback
  66. WebSocketEvent: delta=1.71629e+11, event_time=1716285627679", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 135219396593984, "balance": {"asset": "LOTT", "free": 3269.46, "locked": 0, "update_time": 1716285627677}}
  67.  
  68.  
  69. callback
  70. WebSocketEvent: delta=1.71629e+11, event_time=1716285627704", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 135219194514592, "balance": {"asset": "USDT", "free": 197.906, "locked": 30.0252, "update_time": 1716285627701}}
  71.  
  72.  
  73. callback
  74. WebSocketEvent: delta=1.71629e+11, event_time=1716285627704", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 135219194515232, "balance": {"asset": "LOTT", "free": 5909.03, "locked": 0, "update_time": 1716285627701}}
  75.  
  76. {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 135219501845264}
  77. {"asset": "LOTT", "free": 5909.03, "locked": 0, "update_time": 135219501845264}
  78. {"asset": "RSR", "free": 60818.9, "locked": 3057.27, "update_time": 135219501845264}
  79. {"asset": "USDT", "free": 197.906, "locked": 30.0252, "update_time": 135219501845264}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement