Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ubuntu@ip-172-31-31-23:~/connector_demo/main$ ./test LOTTUSDT
- file name -> LOTTUSDT.config
- market: MEXC_SPOT
- symbol: LOTTUSDT
- api: mx0vglRsnmcTEgpmkD
- secret: ef47dd75fb8b41eebf145056dc98032f
- debug: 1
- strategy: TEST_TAKER_STRATEGY
- side: BUY
- amount: 50
- risk_manager: VANILLA
- logger is empty
- {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 127852787788560}
- {"asset": "LOTT", "free": 373.26, "locked": 0, "update_time": 127852787788560}
- {"asset": "RSR", "free": 60818.9, "locked": 3057.27, "update_time": 127852787788560}
- {"asset": "USDT", "free": 252.442, "locked": 30.0252, "update_time": 127852787788560}
- {"params":["spot@private.account.v3.api","spot@public.limit.depth.v3.api@LOTTUSDT@20","spot@private.orders.v3.api"],"method":"SUBSCRIPTION"}
- starts taker test!
- result: OrderEvent: delta=1.71616e+11, symbol="LOTTUSDT", type="TAKER_BUY", amount: 50
- taker test completed!
- [ 2024-05-21-09-47-29 ] INFO : OrderEvent: delta=1.71616e+11, symbol="LOTTUSDT", type="TAKER_BUY", amount: 50
- [ 2024-05-21-09-47-29 ] DEBUG __process_taker_buy: {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "NEW", "quantity": 5277.600000, "update_time": 1716284849571}
- callback
- WebSocketEvent: delta=1.71628e+11, event_time=1716284849578", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 127852520254624, "balance": {"asset": "USDT", "free": 202.392, "locked": 80.0752, "update_time": 1716284849573}}
- callback
- WebSocketEvent: delta=1.71628e+11, event_time=1716284849602", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 127852866104472, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "PARTIALLY_FILLED", "price": 0.009474, "quantity": 5277.600000, "filled_quantity": 737.960000, "update_time": 127852789743632}}
- [ 2024-05-21-09-47-29 ] INFO : WebSocketEvent: delta=1.71628e+11, event_time=1716284849602", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 127852866104472, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "PARTIALLY_FILLED", "price": 0.009474, "quantity": 5277.600000, "filled_quantity": 737.960000, "update_time": 127852789743632}}
- [ 2024-05-21-09-47-29 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.009474, "quantity": 5277.600000, "trade_side": BUY, "trade_time": 0}
- [ 2024-05-21-09-47-29 ] INFO new position: {"symbol": "LOTTUSDT", "entry_price": 0.009474, "quantity": 5277.6, "position_quote": 50}
- ! LOTTUSDT
- callback
- WebSocketEvent: delta=1.71628e+11, event_time=1716284849602", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 127852866104472, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "CANCELED", "price": 0.009474, "quantity": 5277.600000, "filled_quantity": 737.960000, "update_time": 127852520296928}}
- [ 2024-05-21-09-47-29 ] INFO : WebSocketEvent: delta=1.71628e+11, event_time=1716284849602", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 127852866104472, "order": {"symbol": "LOTTUSDT", "coid": 0, "type": MARKET, "side": BUY, "status": "CANCELED", "price": 0.009474, "quantity": 5277.600000, "filled_quantity": 737.960000, "update_time": 127852520296928}}
- [ 2024-05-21-09-47-29 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.009474, "quantity": 5277.600000, "trade_side": BUY, "trade_time": 0}
- [ 2024-05-21-09-47-29 ] INFO new position: {"symbol": "LOTTUSDT", "entry_price": 0.009474, "quantity": 10555.2, "position_quote": 100}
- ! LOTTUSDT
- callback
- WebSocketEvent: delta=1.71628e+11, event_time=1716284849630", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 127852520296240, "balance": {"asset": "USDT", "free": 202.392, "locked": 73.0767, "update_time": 1716284849625}}
- callback
- WebSocketEvent: delta=1.71628e+11, event_time=1716284849630", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 127852520296032, "balance": {"asset": "LOTT", "free": 1111.22, "locked": 0, "update_time": 1716284849625}}
- callback
- WebSocketEvent: delta=1.71628e+11, event_time=1716284849648", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 127852520296240, "balance": {"asset": "USDT", "free": 245.444, "locked": 30.0252, "update_time": 1716284849645}}
- {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 127852787788560}
- {"asset": "LOTT", "free": 1111.22, "locked": 0, "update_time": 127852787788560}
- {"asset": "RSR", "free": 60818.9, "locked": 3057.27, "update_time": 127852787788560}
- {"asset": "USDT", "free": 245.444, "locked": 30.0252, "update_time": 127852787788560}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement