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
- logger is empty
- {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 127031192832784}
- {"asset": "LOTT", "free": 5244.4, "locked": 0, "update_time": 127031192832784}
- {"asset": "RSR", "free": 39554.1, "locked": 0, "update_time": 127031192832784}
- {"asset": "USDT", "free": 400.06, "locked": 0, "update_time": 127031192832784}
- call_back portfolio 1
- {"params":["spot@private.account.v3.api","spot@public.limit.depth.v3.api@LOTTUSDT@20","spot@private.orders.v3.api"],"method":"SUBSCRIPTION"}
- Process
- {"ask_price": 0.015848, "ask_quantity": 412.7, "bid_price": 0.014295, "bid_quantity": 600.1}
- OrderEvent: delta=1.71696e+11, symbol="LOTTUSDT", type="LIMIT_GRID", asks: [], bids: [(0.0107212, 932.727); (0.0071475, 1399.09); (0.00357375, 2798.18); ]
- [ 2024-05-30-16-07-41 ] INFO : OrderEvent: delta=1.71696e+11, symbol="LOTTUSDT", type="LIMIT_GRID", asks: [], bids: [(0.0107212, 932.727); (0.0071475, 1399.09); (0.00357375, 2798.18); ]
- LIMIT_GRID
- 0.0107212 932.727
- 0.0071475 1399.09
- 0.00357375 2798.18
- @#*&* {"symbol": "LOTTUSDT", "price": 0.003573, "quantity": 2798.180000, "type": LIMIT", "side": BUY"}
- @#*&* {"symbol": "LOTTUSDT", "price": 0.007147, "quantity": 1399.090000, "type": LIMIT", "side": BUY"}
- @#*&* {"symbol": "LOTTUSDT", "price": 0.010721, "quantity": 932.720000, "type": LIMIT", "side": BUY"}
- csize: 0
- [ 2024-05-30-16-07-41 ] DEBUG ! new: {"symbol": "LOTTUSDT", "price": 0.003573, "quantity": 2798.180000, "client_order_id": 1717085261149, "type": LIMIT", "side": BUY"}
- [ 2024-05-30-16-07-41 ] DEBUG ! new: {"symbol": "LOTTUSDT", "price": 0.007147, "quantity": 1399.090000, "client_order_id": 1717085261150, "type": LIMIT", "side": BUY"}
- [ 2024-05-30-16-07-41 ] DEBUG ! new: {"symbol": "LOTTUSDT", "price": 0.010721, "quantity": 932.720000, "client_order_id": 1717085261151, "type": LIMIT", "side": BUY"}
- [ 2024-05-30-16-07-41 ] DEBUG ? new: {"symbol": "LOTTUSDT", "coid": 1717085261151, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 2798.180000, "update_time": 1717085261354}
- [ 2024-05-30-16-07-41 ] DEBUG ? new: {"symbol": "LOTTUSDT", "coid": 1717085261151, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 1399.090000, "update_time": 1717085261353}
- [ 2024-05-30-16-07-41 ] DEBUG ? new: {"symbol": "LOTTUSDT", "coid": 1717085261151, "type": LIMIT, "side": BUY, "status": "NEW", "quantity": 932.720000, "update_time": 1717085261360}
- callback
- WebSocketEvent: delta=1.71709e+11, event_time=1717085261362", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 127030772204192, "balance": {"asset": "USDT", "free": 380.043, "locked": 20.0172, "update_time": 1717085261357}}
- callback
- WebSocketEvent: delta=1.71709e+11, event_time=1717085261362", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 127030772205824, "balance": {"asset": "USDT", "free": 370.035, "locked": 30.0251, "update_time": 1717085261358}}
- callback
- WebSocketEvent: delta=1.71709e+11, event_time=1717085261366", type="ACCOUNT_UPDATE", event: {"stream": ACCOUNT_UPDATE, "event_time": 127030772204192, "balance": {"asset": "USDT", "free": 360.026, "locked": 40.0348, "update_time": 1717085261363}}
- callback
- WebSocketEvent: delta=1.71709e+11, event_time=1717085261380", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 127031201950872, "order": {"symbol": "LOTTUSDT", "coid": 1717085261150, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.007147, "quantity": 1399.090000, "filled_quantity": 0.000000, "update_time": 127030772225488}}
- [ 2024-05-30-16-07-41 ] INFO : WebSocketEvent: delta=1.71709e+11, event_time=1717085261380", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 127031201950872, "order": {"symbol": "LOTTUSDT", "coid": 1717085261150, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.007147, "quantity": 1399.090000, "filled_quantity": 0.000000, "update_time": 127030772225488}}
- [ 2024-05-30-16-07-41 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1717085261150, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.007147, "quantity": 1399.090000, "filled_quantity": 0.000000, "update_time": 127030772225488}
- [ 2024-05-30-16-07-41 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1717085261150, "type": LIMIT, "side": BUY, "status": "PENDING", "price": 0.007147, "quantity": 1399.090000, "update_time": 127030772255664}
- limit_orders size: 3
- ! LOTTUSDT
- callback
- WebSocketEvent: delta=1.71709e+11, event_time=1717085261383", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 127031201950872, "order": {"symbol": "LOTTUSDT", "coid": 1717085261149, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.003573, "quantity": 2798.180000, "filled_quantity": 0.000000, "update_time": 127030772247856}}
- [ 2024-05-30-16-07-41 ] INFO : WebSocketEvent: delta=1.71709e+11, event_time=1717085261383", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 127031201950872, "order": {"symbol": "LOTTUSDT", "coid": 1717085261149, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.003573, "quantity": 2798.180000, "filled_quantity": 0.000000, "update_time": 127030772247856}}
- [ 2024-05-30-16-07-41 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1717085261149, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.003573, "quantity": 2798.180000, "filled_quantity": 0.000000, "update_time": 127030772247856}
- [ 2024-05-30-16-07-41 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1717085261149, "type": LIMIT, "side": BUY, "status": "PENDING", "price": 0.003573, "quantity": 2798.180000, "update_time": 127030772255664}
- limit_orders size: 3
- ! LOTTUSDT
- callback
- WebSocketEvent: delta=1.71709e+11, event_time=1717085261389", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 127031201950872, "order": {"symbol": "LOTTUSDT", "coid": 1717085261151, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.010721, "quantity": 932.720000, "filled_quantity": 0.000000, "update_time": 127030772225488}}
- [ 2024-05-30-16-07-41 ] INFO : WebSocketEvent: delta=1.71709e+11, event_time=1717085261389", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 127031201950872, "order": {"symbol": "LOTTUSDT", "coid": 1717085261151, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.010721, "quantity": 932.720000, "filled_quantity": 0.000000, "update_time": 127030772225488}}
- [ 2024-05-30-16-07-41 ] DEBUG Event order: : {"symbol": "LOTTUSDT", "coid": 1717085261151, "type": LIMIT, "side": BUY, "status": "NEW", "price": 0.010721, "quantity": 932.720000, "filled_quantity": 0.000000, "update_time": 127030772225488}
- [ 2024-05-30-16-07-41 ] DEBUG old order: : {"symbol": "LOTTUSDT", "coid": 1717085261151, "type": LIMIT, "side": BUY, "status": "PENDING", "price": 0.010721, "quantity": 932.720000, "update_time": 127030772255664}
- limit_orders size: 3
- ! LOTTUSDT
- {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 127031192832784}
- {"asset": "LOTT", "free": 5244.4, "locked": 0, "update_time": 127031192832784}
- {"asset": "RSR", "free": 39554.1, "locked": 0, "update_time": 127031192832784}
- {"asset": "USDT", "free": 370.033, "locked": 30.0269, "update_time": 127031192832784}
- Process
- {"ask_price": 0.015848, "ask_quantity": 412.7, "bid_price": 0.014295, "bid_quantity": 600.1}
- OrderEvent: delta=1.71696e+11, symbol="LOTTUSDT", type="LIMIT_GRID", asks: [], bids: [(0.0107212, 932.727); (0.0071475, 1399.09); (0.00357375, 2798.18); ]
- [ 2024-05-30-16-07-51 ] INFO : OrderEvent: delta=1.71696e+11, symbol="LOTTUSDT", type="LIMIT_GRID", asks: [], bids: [(0.0107212, 932.727); (0.0071475, 1399.09); (0.00357375, 2798.18); ]
- LIMIT_GRID
- 0.0107212 932.727
- 0.0071475 1399.09
- 0.00357375 2798.18
- csize: 0
- {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 127031192832784}
- {"asset": "LOTT", "free": 5244.4, "locked": 0, "update_time": 127031192832784}
- {"asset": "RSR", "free": 39554.1, "locked": 0, "update_time": 127031192832784}
- {"asset": "USDT", "free": 370.033, "locked": 30.0269, "update_time": 127031192832784}
- Process
- {"ask_price": 0.015848, "ask_quantity": 412.7, "bid_price": 0.014295, "bid_quantity": 600.1}
- OrderEvent: delta=1.71696e+11, symbol="LOTTUSDT", type="LIMIT_GRID", asks: [], bids: [(0.0107212, 932.727); (0.0071475, 1399.09); (0.00357375, 2798.18); ]
- [ 2024-05-30-16-08-01 ] INFO : OrderEvent: delta=1.71696e+11, symbol="LOTTUSDT", type="LIMIT_GRID", asks: [], bids: [(0.0107212, 932.727); (0.0071475, 1399.09); (0.00357375, 2798.18); ]
- LIMIT_GRID
- 0.0107212 932.727
- 0.0071475 1399.09
- 0.00357375 2798.18
- csize: 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement