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": 135219501845264}
- {"asset": "LOTT", "free": 1111.22, "locked": 0, "update_time": 135219501845264}
- {"asset": "RSR", "free": 60818.9, "locked": 3057.27, "update_time": 135219501845264}
- {"asset": "USDT", "free": 245.444, "locked": 30.0252, "update_time": 135219501845264}
- {"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.71615e+11, symbol="LOTTUSDT", type="TAKER_BUY", amount: 50
- taker test completed!
- [ 2024-05-21-10-00-27 ] INFO : OrderEvent: delta=1.71615e+11, symbol="LOTTUSDT", type="TAKER_BUY", amount: 50
- [ 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}
- callback
- 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}}
- callback
- 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}}
- [ 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}}
- [ 2024-05-21-10-00-27 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.009897, "quantity": 1015.090000, "trade_side": BUY, "trade_time": 0}
- [ 2024-05-21-10-00-27 ] INFO new position: {"symbol": "LOTTUSDT", "entry_price": 0.009897, "quantity": 1015.09, "position_quote": 10.0463}
- ! LOTTUSDT
- callback
- 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}}
- [ 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}}
- [ 2024-05-21-10-00-27 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.009897, "quantity": 2158.240000, "trade_side": BUY, "trade_time": 0}
- [ 2024-05-21-10-00-27 ] INFO new position: {"symbol": "LOTTUSDT", "entry_price": 0.009897, "quantity": 3173.33, "position_quote": 31.4064}
- ! LOTTUSDT
- callback
- 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}}
- [ 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}}
- [ 2024-05-21-10-00-27 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.009898, "quantity": 4797.810000, "trade_side": BUY, "trade_time": 0}
- [ 2024-05-21-10-00-27 ] INFO new position: {"symbol": "LOTTUSDT", "entry_price": 0.0098976, "quantity": 7971.14, "position_quote": 78.8952}
- ! LOTTUSDT
- callback
- 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}}
- callback
- 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}}
- callback
- 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}}
- callback
- 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}}
- callback
- 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}}
- callback
- 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}}
- {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 135219501845264}
- {"asset": "LOTT", "free": 5909.03, "locked": 0, "update_time": 135219501845264}
- {"asset": "RSR", "free": 60818.9, "locked": 3057.27, "update_time": 135219501845264}
- {"asset": "USDT", "free": 197.906, "locked": 30.0252, "update_time": 135219501845264}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement