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_taker
- file name -> LOTTUSDT_taker.config
- logger is empty
- call_back portfolio 1
- {"asset": "LOTT", "free": 4491.11, "locked": 0, "update_time": 126918967946000}
- {"asset": "RSR", "free": 465.15, "locked": 0, "update_time": 126918967946000}
- {"asset": "USDT", "free": 8.4771, "locked": 0, "update_time": 126918967946000}
- {"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.71703e+11, symbol="LOTTUSDT", type="TAKER_SELL", quantity: 775.194
- taker test completed!
- [ 2024-05-31-12-53-32 ] INFO : OrderEvent: delta=1.71703e+11, symbol="LOTTUSDT", type="TAKER_SELL", quantity: 775.194
- [ 2024-05-31-12-53-32 ] DEBUG ! new: {"symbol": "LOTTUSDT", "quantity": 775.190000, "client_order_id": 1717160012501, "type": MARKET", "side": SELL"}
- callback
- 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}}
- callback
- 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}}
- [ 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}}
- market
- [ 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}
- [ 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}
- [ 2024-05-31-12-53-32 ] INFO Open position: : {"symbol": "LOTTUSDT", "price": 0.012900, "quantity": 775.190000, "trade_side": SELL, "trade_time": 0}
- [ 2024-05-31-12-53-32 ] INFO new position: {"symbol": "LOTTUSDT", "entry_price": 0.0129, "quantity": -775.19, "position_quote": -9.99995}
- Erase
- limit/market orders size: 0
- ! LOTTUSDT
- [ 2024-05-31-12-53-32 ] DEBUG ? new: {"symbol": "LOTTUSDT", "coid": 1717160012501, "type": MARKET, "side": SELL, "status": "NEW", "quantity": 775.190000, "update_time": 1717160012864}
- callback
- 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}}
- callback
- 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}}
- {"asset": "LOTT", "free": 3715.92, "locked": 0, "update_time": 126918967946000}
- {"asset": "RSR", "free": 465.15, "locked": 0, "update_time": 126918967946000}
- {"asset": "USDT", "free": 18.4671, "locked": 0, "update_time": 126918967946000}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement