Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1732091664939 stream = onForceDexOrdersBookUpdated
- [ 2024-11-20-08-34-24 ] MESSAGE: Orderbook event
- ask price = 8.82 ask quantity = 0.3072
- ask price = 8.83 ask quantity = 0
- ask price = 8.84 ask quantity = 0
- ask price = 8.85 ask quantity = 0
- ask price = 8.86 ask quantity = 0
- ask price = 8.87 ask quantity = 0
- ask price = 8.88 ask quantity = 189
- ask price = 8.89 ask quantity = 442
- ask price = 8.9 ask quantity = 1121.59
- ask price = 8.91 ask quantity = 101.2
- bid price = 8.8 bid quantity = 441.277
- bid price = 8.79 bid quantity = 1158.22
- bid price = 8.78 bid quantity = 1387.87
- bid price = 8.77 bid quantity = 92.7605
- bid price = 8.76 bid quantity = 0
- bid price = 8.75 bid quantity = 500
- bid price = 8.74 bid quantity = 328.786
- bid price = 8.73 bid quantity = 249.855
- bid price = 8.72 bid quantity = 356.132
- bid price = 8.71 bid quantity = 110.934
- 2024/11/20 08:34:25 timeout_metric -> exceeded: tx: 0xff5d2ae3109e1852ab3052ed366fa5fe184348fd113bf9c7d76424e22e6cd979 ; timeout 11000 ms ; first tx: 0x144edeaffe055ccd3b99898f5c0febe1f630ab7eb0b22417bc0ff8a67338c2d1
- 2024/11/20 08:34:25 cancel tx 0xff5d2ae3109e1852ab3052ed366fa5fe184348fd113bf9c7d76424e22e6cd979 with increased gas price = 197450295944 while suggested = 98725147972
- 2024/11/20 08:34:26 cancel tx 0xff5d2ae3109e1852ab3052ed366fa5fe184348fd113bf9c7d76424e22e6cd979 with tx 0x9e2e913703bd525990a882fe118c2c6e113a3db09423ef4dff37669dd8e264a6; Nonce 210
- 2024/11/20 08:34:26 Failed to send transaction: nonce too low: next nonce 211, tx nonce 210
- 2024/11/20 08:34:26 retry error: nonce too low: next nonce 211, tx nonce 210
- 2024/11/20 08:34:26 0x144edeaffe055ccd3b99898f5c0febe1f630ab7eb0b22417bc0ff8a67338c2d1 in history and status = 1
- C++ new_order_wrapper response: {"tx_hash": "0x144edeaffe055ccd3b99898f5c0febe1f630ab7eb0b22417bc0ff8a67338c2d1", "error": "ok"}
- [ 2024-11-20-08-34-26 ] MESSAGE: new order delta: 20938
- 1732091670523 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-34-30 ] DEBUG not accurate trade: {"price": 8.8, "quantity": 64.3393, "side": "BUY"}
- auth token: eyJhbG
- [ 2024-11-20-08-34-30 ] INFO trade: {"price": 8.8, "quantity": 64.3393, "side": "SELL"}
- 1732091670987 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-34-30 ] DEBUG not accurate trade: {"price": 8.8, "quantity": 115.415, "side": "BUY"}
- auth token: eyJhbG
- [ 2024-11-20-08-34-32 ] INFO trade: {"price": 8.8, "quantity": 115.415, "side": "SELL"}
- 1732091672131 stream = onForceDexOrdersBookUpdated
- [ 2024-11-20-08-34-32 ] MESSAGE: Orderbook event
- ask price = 8.82 ask quantity = 0.3072
- ask price = 8.83 ask quantity = 0
- ask price = 8.84 ask quantity = 0
- ask price = 8.85 ask quantity = 0
- ask price = 8.86 ask quantity = 0
- ask price = 8.87 ask quantity = 0
- ask price = 8.88 ask quantity = 189
- ask price = 8.89 ask quantity = 442
- ask price = 8.9 ask quantity = 1121.59
- ask price = 8.91 ask quantity = 101.2
- bid price = 8.8 bid quantity = 459.481
- bid price = 8.79 bid quantity = 1558.22
- bid price = 8.78 bid quantity = 1387.87
- bid price = 8.77 bid quantity = 92.7605
- bid price = 8.76 bid quantity = 0
- bid price = 8.75 bid quantity = 500
- bid price = 8.74 bid quantity = 328.786
- bid price = 8.73 bid quantity = 249.855
- bid price = 8.72 bid quantity = 356.132
- bid price = 8.71 bid quantity = 110.934
- 1732091672139 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-34-32 ] DEBUG not accurate trade: {"price": 8.8, "quantity": 11.2459, "side": "BUY"}
- auth token: eyJhbG
- [ 2024-11-20-08-34-32 ] INFO trade: {"price": 8.8, "quantity": 11.2459, "side": "SELL"}
- 1732091678537 stream = onForceDexOrdersBookUpdated
- [ 2024-11-20-08-34-38 ] MESSAGE: Orderbook event
- ask price = 8.82 ask quantity = 0.3072
- ask price = 8.83 ask quantity = 0
- ask price = 8.84 ask quantity = 0
- ask price = 8.85 ask quantity = 0
- ask price = 8.86 ask quantity = 0
- ask price = 8.87 ask quantity = 0
- ask price = 8.88 ask quantity = 189
- ask price = 8.89 ask quantity = 442
- ask price = 8.9 ask quantity = 1121.59
- ask price = 8.91 ask quantity = 101.2
- bid price = 8.8 bid quantity = 459.481
- bid price = 8.79 bid quantity = 1698.9
- bid price = 8.78 bid quantity = 1387.87
- bid price = 8.77 bid quantity = 115.302
- bid price = 8.76 bid quantity = 0
- bid price = 8.75 bid quantity = 500
- bid price = 8.74 bid quantity = 328.786
- bid price = 8.73 bid quantity = 249.855
- bid price = 8.72 bid quantity = 356.132
- bid price = 8.71 bid quantity = 110.934
- 1732091684031 stream = onMyForceDexOrdersUpdated
- _feed_preprocess ACCOUNT ORDER: {"onMyForceDexOrdersUpdated": {"userId": "1245312", "status": "OPEN", "quantity": "1000000000000000000", "pairId": "1100ce7d-7e16-4a40-9aba-1ecc883b1f7e", "price": "8800000000000000000", "id": "8b7a2dfb-9991-402d-8cfc-d85131564aaa", "type": "LIMIT", "orderNumber": "1056644", "direction": "BID", "initialQuantity": "1000000000000000000", "createdAt": "2024-11-20T08:34:16.000Z"}}
- start _update_balances
- get_open_orders_wrapper::request_filler
- auth token: eyJhbG
- _fill_order 8800000000000000000/1000000000000000000/BUY 5770876109192935993
- end _update_balances
- stream == e_stream::ACCOUNT_ORDER
- _fill_order 8800000000000000000/1000000000000000000/BUY 5770876109192935993
- WebSocketEvent: delta=1.73209e+11, event_time=1732091656000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 135256140900128, "order": {"symbol": "HCDAI", "coid": 5770876109192935993, {"dex_order_id": "1056644", "order_id": "1732091482489003", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 8.800000, "quantity": 1.000000, "filled_quantity": 0.000000, "update_time": 1732091656000}}
- [ 2024-11-20-08-34-45 ] INFO Execution::_process: WebSocketEvent: delta=1.73209e+11, event_time=1732091656000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 135256140900128, "order": {"symbol": "HCDAI", "coid": 5770876109192935993, {"dex_order_id": "1056644", "order_id": "1732091482489003", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 8.800000, "quantity": 1.000000, "filled_quantity": 0.000000, "update_time": 1732091656000}}
- [ 2024-11-20-08-34-45 ] MESSAGE: limit
- [ 2024-11-20-08-34-45 ] DEBUG Event order: : {"symbol": "HCDAI", "coid": 5770876109192935993, {"dex_order_id": "1056644", "order_id": "1732091482489003", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 8.800000, "quantity": 1.000000, "filled_quantity": 0.000000, "update_time": 1732091656000}
- old_it != cur_storage.end()
- [ 2024-11-20-08-34-45 ] DEBUG old order: : {"symbol": "HCDAI", "coid": 5770876109192935993, {"dex_order_id": "0", "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PENDING", "price": 8.800000, "quantity": 1.000000, "update_time": 0}
- [ 2024-11-20-08-34-45 ] MESSAGE: (execution) filled quantity is not initialized
- [ 2024-11-20-08-34-45 ] INFO _process fill event strategy: FillEvent: delta=1.73209e+11, symbol="HCDAI", type="ORDER", delta: 0, order: {"symbol": "HCDAI", "coid": 5770876109192935993, {"dex_order_id": "1056644", "order_id": "1732091482489003", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 8.800000, "quantity": 1.000000, "filled_quantity": 0.000000, "update_time": 1732091656000}, position: {"symbol": "HCDAI", "entry_price": 8.78, "quantity": 1, "position_quote": 8.78}
- [ 2024-11-20-08-34-45 ] MESSAGE: ! HCDAI
- [ 2024-11-20-08-34-45 ] DEBUG strat res: OrderEvent: delta=1.732e+11, symbol="HCDAI", type="LIMIT_GRID", priority=default, asks: [], bids: []
- [ 2024-11-20-08-34-45 ] INFO portfolio: OrderEvent: delta=1.732e+11, symbol="HCDAI", type="LIMIT_GRID", priority=default, asks: [], bids: []
- [ 2024-11-20-08-34-45 ] INFO execution order event process: OrderEvent: delta=1.732e+11, symbol="HCDAI", type="LIMIT_GRID", priority=default, asks: [], bids: []
- [ 2024-11-20-08-34-45 ] MESSAGE: LIMIT GRID
- execution to cancel: id: 5770876109192935993 dex id = 1056644 p = 8.800000 q = 1.000000
- execution to cancel: id: 2063514936646933651 dex id = 1056574 p = 8.780000 q = 1.000000
- [ 2024-11-20-08-34-45 ] MESSAGE: csize: 2
- [ 2024-11-20-08-34-45 ] DEBUG ! cancel: {"symbol": "HCDAI", "coid": 5770876109192935993, {"dex_order_id": "1056644", "order_id": "1732091482489003", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 8.800000, "quantity": 1.000000, "filled_quantity": 0.000000, "update_time": 1732091656000}
- [ cancel_order_wrapper::execute
- 2024-11-20-08-34-45 ] DEBUG ! cancel: {"symbol": "HCDAI", "coid": 2063514936646933651, {"dex_order_id": "1056574", "order_id": "1732091482489003", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 2024/11/20 08:34:45 extends args: {"timeout": "8000"}
- 8.7800002024/11/20 08:34:45 args: {"orderId": "1056644"}
- , 2024/11/20 08:34:45 waiting time: 0 ; net timeout after waiting = 8000 ms
- "quantity": 1.000000, "filled_quantity": 0.000000, "update_time": 1732091504000}
- cancel_order_wrapper::execute
- 1732091685810 stream = onForceDexOrdersBookUpdated
- [ 2024-11-20-08-34-45 ] MESSAGE: Orderbook event
- ask price = 8.82 ask quantity = 0.3072
- ask price = 8.83 ask quantity = 0
- ask price = 8.84 ask quantity = 0
- ask price = 8.85 ask quantity = 0
- ask price = 8.86 ask quantity = 0
- ask price = 8.87 ask quantity = 0
- ask price = 8.88 ask quantity = 189
- ask price = 8.89 ask quantity = 442
- ask price = 8.9 ask quantity = 1121.59
- ask price = 8.91 ask quantity = 101.2
- bid price = 8.8 bid quantity = 460.481
- bid price = 8.79 bid quantity = 1698.9
- bid price = 8.78 bid quantity = 1387.87
- bid price = 8.77 bid quantity = 115.302
- bid price = 8.76 bid quantity = 0
- bid price = 8.75 bid quantity = 500
- bid price = 8.74 bid quantity = 328.786
- bid price = 8.73 bid quantity = 249.855
- bid price = 8.72 bid quantity = 356.132
- bid price = 8.71 bid quantity = 110.934
- 2024/11/20 08:34:46 nonce: 211
- 2024/11/20 08:34:46 gas price = 99304418995
- 2024/11/20 08:34:46 TX Hash: 0xf0867bb0af5789f67b7ae9adcac6a71e5cac6c7551259df38c9af6cfb7b1286d ; Nonce: 211
- 2024/11/20 08:34:50 timeout_metric -> complete: tx: 0xf0867bb0af5789f67b7ae9adcac6a71e5cac6c7551259df38c9af6cfb7b1286d ; exec_time: 4.189305s ; attempt = 0 ; first tx 0xf0867bb0af5789f67b7ae9adcac6a71e5cac6c7551259df38c9af6cfb7b1286d
- 2024/11/20 08:34:50 golang tx log: {
- tx = 0xf0867bb0af5789f67b7ae9adcac6a71e5cac6c7551259df38c9af6cfb7b1286d ok;
- nonce = 211
- status = 1
- block = 64508029
- usedGas = 161269
- exec_time = 4.189347s
- }
- 2024/11/20 08:34:50 extends args: {"timeout": "8000"}
- 2024/11/20 08:34:50 args: {"orderId": "1056574"}
- 2024/11/20 08:34:50 waiting time: 4988 ; net timeout after waiting = 3012 ms
- cancel_order_wrapper::response_filler{"tx_hash": "0xf0867bb0af5789f67b7ae9adcac6a71e5cac6c7551259df38c9af6cfb7b1286d", "used_gas": "161269", "block": "64508029", "error": "ok"}
- [ 2024-11-20-08-34-50 ] MESSAGE: cancel order delta: 4989
- 1732091691047 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-34-51 ] DEBUG not accurate trade: {"price": 8.82, "quantity": 0.3072, "side": "BUY"}
- auth token: eyJhbG
- 2024/11/20 08:34:51 nonce: 212
- 2024/11/20 08:34:51 gas price = 95650480489
- 2024/11/20 08:34:51 TX Hash: 0x32bfe7ea4dab6da1d0847e83e7c80ee4d86f3e4ecd49fea727f20912a09e1ab5 ; Nonce: 212
- [ 2024-11-20-08-34-51 ] INFO trade: {"price": 8.82, "quantity": 0.3072, "side": "BUY"}
- 1732091691838 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-34-51 ] DEBUG not accurate trade: {"price": 8.88, "quantity": 9.6927, "side": "BUY"}
- auth token: eyJhbG
- [ 2024-11-20-08-34-52 ] INFO trade: {"price": 8.88, "quantity": 9.6927, "side": "BUY"}
- 1732091692409 stream = onForceDexOrdersBookUpdated
- [ 2024-11-20-08-34-52 ] MESSAGE: Orderbook event
- ask price = 8.88 ask quantity = 179.307
- ask price = 8.89 ask quantity = 442
- ask price = 8.9 ask quantity = 1121.59
- ask price = 8.91 ask quantity = 101.2
- ask price = 8.92 ask quantity = 0
- ask price = 8.93 ask quantity = 0
- ask price = 8.94 ask quantity = 0
- ask price = 8.95 ask quantity = 61.1998
- ask price = 8.96 ask quantity = 226.405
- ask price = 8.97 ask quantity = 73.9043
- bid price = 8.8 bid quantity = 460.481
- bid price = 8.79 bid quantity = 1698.9
- bid price = 8.78 bid quantity = 1387.87
- bid price = 8.77 bid quantity = 115.302
- bid price = 8.76 bid quantity = 0
- bid price = 8.75 bid quantity = 500
- bid price = 8.74 bid quantity = 328.786
- bid price = 8.73 bid quantity = 249.855
- bid price = 8.72 bid quantity = 356.132
- bid price = 8.71 bid quantity = 110.934
- 2024/11/20 08:34:54 timeout_metric -> exceeded: tx: 0x32bfe7ea4dab6da1d0847e83e7c80ee4d86f3e4ecd49fea727f20912a09e1ab5 ; timeout 11000 ms ; first tx: 0x32bfe7ea4dab6da1d0847e83e7c80ee4d86f3e4ecd49fea727f20912a09e1ab5
- 2024/11/20 08:34:54 nonce: 212
- 2024/11/20 08:34:54 High priority: Suggested gas price 94139325339
- 2024/11/20 08:34:54 gas price = 188278650678
- 2024/11/20 08:34:55 retry error: nonce too low: next nonce 213, tx nonce 212
- 2024/11/20 08:34:55 0x32bfe7ea4dab6da1d0847e83e7c80ee4d86f3e4ecd49fea727f20912a09e1ab5 in history but status = 0
- error: don't know: nonce too low: next nonce 213, tx nonce 212
- [ 2024-11-20-08-34-55 ] MESSAGE: cancel order delta: 9493
- [ 2024-11-20-08-34-55 ] ERROR : cancel order error: 2063514936646933651
- 1732091698989 stream = onForceDexOrdersBookUpdated
- [ 2024-11-20-08-34-58 ] MESSAGE: Orderbook event
- ask price = 8.88 ask quantity = 179.307
- ask price = 8.89 ask quantity = 442
- ask price = 8.9 ask quantity = 1121.59
- ask price = 8.91 ask quantity = 101.2
- ask price = 8.92 ask quantity = 0
- ask price = 8.93 ask quantity = 0
- ask price = 8.94 ask quantity = 0
- ask price = 8.95 ask quantity = 61.1998
- ask price = 8.96 ask quantity = 226.405
- ask price = 8.97 ask quantity = 73.9043
- bid price = 8.81 bid quantity = 32.67
- bid price = 8.8 bid quantity = 482.47
- bid price = 8.79 bid quantity = 1747.53
- bid price = 8.78 bid quantity = 1387.87
- bid price = 8.77 bid quantity = 115.302
- bid price = 8.76 bid quantity = 0
- bid price = 8.75 bid quantity = 500
- bid price = 8.74 bid quantity = 16.306
- bid price = 8.73 bid quantity = 249.855
- bid price = 8.72 bid quantity = 356.132
- 1732091705181 stream = onForceDexOrdersBookUpdated
- [ 2024-11-20-08-35-05 ] MESSAGE: Orderbook event
- ask price = 8.88 ask quantity = 179.307
- ask price = 8.89 ask quantity = 442
- ask price = 8.9 ask quantity = 1121.59
- ask price = 8.91 ask quantity = 101.2
- ask price = 8.92 ask quantity = 0
- ask price = 8.93 ask quantity = 0
- ask price = 8.94 ask quantity = 0
- ask price = 8.95 ask quantity = 61.1998
- ask price = 8.96 ask quantity = 226.405
- ask price = 8.97 ask quantity = 73.9043
- bid price = 8.81 bid quantity = 32.67
- bid price = 8.8 bid quantity = 482.47
- bid price = 8.79 bid quantity = 1747.53
- bid price = 8.78 bid quantity = 1387.87
- bid price = 8.77 bid quantity = 115.302
- bid price = 8.76 bid quantity = 0
- bid price = 8.75 bid quantity = 0
- bid price = 8.74 bid quantity = 16.306
- bid price = 8.73 bid quantity = 249.855
- bid price = 8.72 bid quantity = 356.132
- 1732091711142 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-35-11 ] DEBUG not accurate trade: {"price": 8.82, "quantity": 6, "side": "BUY"}
- auth token: eyJhbG
- [ 2024-11-20-08-35-12 ] INFO trade: {"price": 8.82, "quantity": 6, "side": "SELL"}
- 1732091712063 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-35-12 ] DEBUG not accurate trade: {"price": 8.82, "quantity": 1.9649, "side": "BUY"}
- auth token: eyJhbG
- [ 2024-11-20-08-35-12 ] INFO trade: {"price": 8.82, "quantity": 1.9649, "side": "BUY"}
- 1732091712366 stream = onForceDexOrdersBookUpdated
- [ 2024-11-20-08-35-12 ] MESSAGE: Orderbook event
- ask price = 8.82 ask quantity = 96.9852
- ask price = 8.83 ask quantity = 0
- ask price = 8.84 ask quantity = 0
- ask price = 8.85 ask quantity = 0
- ask price = 8.86 ask quantity = 0
- ask price = 8.87 ask quantity = 0
- ask price = 8.88 ask quantity = 179.307
- ask price = 8.89 ask quantity = 442
- ask price = 8.9 ask quantity = 1121.59
- ask price = 8.91 ask quantity = 101.2
- bid price = 8.81 bid quantity = 32.67
- bid price = 8.8 bid quantity = 482.47
- bid price = 8.79 bid quantity = 1747.53
- bid price = 8.78 bid quantity = 1387.87
- bid price = 8.77 bid quantity = 115.302
- bid price = 8.76 bid quantity = 0
- bid price = 8.75 bid quantity = 0
- bid price = 8.74 bid quantity = 16.306
- bid price = 8.73 bid quantity = 249.855
- bid price = 8.72 bid quantity = 356.132
- 1732091717409 stream = onMyForceDexOrdersUpdated
- _feed_preprocess ACCOUNT ORDER: {"onMyForceDexOrdersUpdated": {"userId": "1245312", "status": "CANCELLED", "quantity": "1000000000000000000", "pairId": "1100ce7d-7e16-4a40-9aba-1ecc883b1f7e", "price": "8800000000000000000", "id": "8b7a2dfb-9991-402d-8cfc-d85131564aaa", "type": "LIMIT", "orderNumber": "1056644", "direction": "BID", "initialQuantity": "1000000000000000000", "createdAt": "2024-11-20T08:34:16.000Z"}}
- start _update_balances
- get_open_orders_wrapper::request_filler
- auth token: eyJhbG
- end _update_balances
- stream == e_stream::ACCOUNT_ORDER
- _fill_order 8800000000000000000/1000000000000000000/BUY 5770876109192935993
- WebSocketEvent: delta=1.73209e+11, event_time=1732091656000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 135256140900128, "order": {"symbol": "HCDAI", "coid": 5770876109192935993, {"dex_order_id": "1056644", "order_id": "1732091482489003", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 8.800000, "quantity": 1.000000, "filled_quantity": 0.000000, "update_time": 1732091656000}}
- [ 2024-11-20-08-35-19 ] INFO Execution::_process: WebSocketEvent: delta=1.73209e+11, event_time=1732091656000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 135256140900128, "order": {"symbol": "HCDAI", "coid": 5770876109192935993, {"dex_order_id": "1056644", "order_id": "1732091482489003", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 8.800000, "quantity": 1.000000, "filled_quantity": 0.000000, "update_time": 1732091656000}}
- [ 2024-11-20-08-35-19 ] MESSAGE: limit
- [ 2024-11-20-08-35-19 ] DEBUG Event order: : {"symbol": "HCDAI", "coid": 5770876109192935993, {"dex_order_id": "1056644", "order_id": "1732091482489003", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 8.800000, "quantity": 1.000000, "filled_quantity": 0.000000, "update_time": 1732091656000}
- old_it != cur_storage.end()
- [ 2024-11-20-08-35-19 ] DEBUG old order: : {"symbol": "HCDAI", "coid": 5770876109192935993, {"dex_order_id": "1056644", "order_id": "1732091482489003", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 8.800000, "quantity": 1.000000, "filled_quantity": 0.000000, "update_time": 1732091656000}
- [ 2024-11-20-08-35-19 ] MESSAGE: erase
- [ 2024-11-20-08-35-19 ] INFO _process fill event strategy: FillEvent: delta=1.73209e+11, symbol="HCDAI", type="ORDER", delta: 0, order: {"symbol": "HCDAI", "coid": 5770876109192935993, {"dex_order_id": "1056644", "order_id": "1732091482489003", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 8.800000, "quantity": 1.000000, "filled_quantity": 0.000000, "update_time": 1732091656000}, position: {"symbol": "HCDAI", "entry_price": 8.78, "quantity": 1, "position_quote": 8.78}
- [ 2024-11-20-08-35-19 ] MESSAGE: ! HCDAI
- 1732091719062 stream = onForceDexOrdersBookUpdated
- [ 2024-11-20-08-35-19 ] MESSAGE: Orderbook event
- ask price = 8.89 ask quantity = 352.372
- ask price = 8.9 ask quantity = 1121.59
- ask price = 8.91 ask quantity = 101.2
- ask price = 8.92 ask quantity = 0
- ask price = 8.93 ask quantity = 0
- ask price = 8.94 ask quantity = 0
- ask price = 8.95 ask quantity = 61.1998
- ask price = 8.96 ask quantity = 226.405
- ask price = 8.97 ask quantity = 73.9043
- ask price = 8.98 ask quantity = 0
- bid price = 8.81 bid quantity = 35.11
- bid price = 8.8 bid quantity = 859.03
- bid price = 8.79 bid quantity = 1747.53
- bid price = 8.78 bid quantity = 1387.87
- bid price = 8.77 bid quantity = 115.302
- bid price = 8.76 bid quantity = 0
- bid price = 8.75 bid quantity = 0
- bid price = 8.74 bid quantity = 16.306
- bid price = 8.73 bid quantity = 249.855
- bid price = 8.72 bid quantity = 356.132
- [ 2024-11-20-08-35-19 ] DEBUG best book: {"ask_price": 8.89, "ask_quantity": 352.372, "bid_price": 8.81, "bid_quantity": 35.11}
- [ 2024-11-20-08-35-19 ] DEBUG strat res: OrderEvent: delta=1.732e+11, symbol="HCDAI", type="LIMIT_GRID", priority=default, asks: [], bids: [(8.81, 1); ]
- [ 2024-11-20-08-35-19 ] INFO portfolio: OrderEvent: delta=1.732e+11, symbol="HCDAI", type="LIMIT_GRID", priority=default, asks: [], bids: [(8.81, 1); ]
- [ 2024-11-20-08-35-19 ] INFO execution order event process: OrderEvent: delta=1.732e+11, symbol="HCDAI", type="LIMIT_GRID", priority=default, asks: [], bids: [(8.81, 1); ]
- [ 2024-11-20-08-35-19 ] MESSAGE: LIMIT GRID
- [ 2024-11-20-08-35-19 ] DEBUG in _process_limit_grid: 8.81
- [ 2024-11-20-08-35-19 ] DEBUG in _process_limit_grid: 1
- execution to cancel: id: 2063514936646933651 dex id = 1056574 p = 8.780000 q = 1.000000
- [ 2024-11-20-08-35-19 ] DEBUG @#*&* : {"symbol": "HCDAI", "price": 8.810000, "quantity": 1.000000, "type": "LIMIT", "side": "BUY"}
- [ 2024-11-20-08-35-19 ] MESSAGE: csize: 1
- [ 2024-11-20-08-35-19 ] DEBUG ! cancel: {"symbol": "HCDAI", "coid": 2063514936646933651, {"dex_order_id": "1056574", "order_id": "1732091482489003", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 8.780000, "quantity": 1.000000, "filled_quantity": 0.000000, "update_time": 1732091504000}
- cancel_order_wrapper::execute
- 2024/11/20 08:35:19 extends args: {"timeout": "8000"}
- 2024/11/20 08:35:19 args: {"orderId": "1056574"}
- 2024/11/20 08:35:19 waiting time: 0 ; net timeout after waiting = 8000 ms
- index_order_id 8810000000000000000/1000000000000000000/BUY 17041679080562522672
- [ 2024-11-20-08-35-19 ] DEBUG ! new: {"symbol": "HCDAI", "price": 8.810000, "quantity": 1.000000, "client_order_id": 17041679080562522672, "type": "LIMIT", "side": "BUY"}
- ! new api API 0x57202ecae050
- order_request_t {"symbol": "HCDAI", "price": 8.810000, "quantity": 1.000000, "client_order_id": 17041679080562522672, "type": "LIMIT", "side": "BUY"}
- quantity 10000
- new_order_wrapper::execute
- {"ext_params": {"timeout": "8000", "priority": "0"}, "params": {"quantity": "1000000000000000000", "price": "8810000000000000000", "orderType": "0", "isBid": "true"}, "function_name": "createOrder", "address": "0x6B965968FBc6ff0D2eD7CB1Cb38C1C1bbE0327B4"}
- 1732091719171 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-35-19 ] DEBUG not accurate trade: {"price": 8.82, "quantity": 96.9852, "side": "BUY"}
- auth token: eyJhbG
- [ 2024-11-20-08-35-19 ] INFO trade: {"price": 8.82, "quantity": 96.9852, "side": "BUY"}
- 1732091719447 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-35-19 ] DEBUG not accurate trade: {"price": 8.88, "quantity": 179.307, "side": "BUY"}
- auth token: eyJhbG
- 2024/11/20 08:35:19 nonce: 213
- 2024/11/20 08:35:19 gas price = 89342874231
- [ 2024-11-20-08-35-19 ] INFO trade: {"price": 8.88, "quantity": 179.307, "side": "BUY"}
- 1732091719739 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-35-19 ] DEBUG not accurate trade: {"price": 8.89, "quantity": 84.6279, "side": "BUY"}
- auth token: eyJhbG
- 2024/11/20 08:35:19 TX Hash: 0x90dcaaf3c424cfbfba4bffd218bb8bb08d89a834ed6bd0e528632c760f086e2b ; Nonce: 213
- [ 2024-11-20-08-35-20 ] INFO trade: {"price": 8.89, "quantity": 84.6279, "side": "BUY"}
- 1732091720519 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-35-20 ] DEBUG not accurate trade: {"price": 8.89, "quantity": 5, "side": "BUY"}
- auth token: eyJhbG
- [ 2024-11-20-08-35-21 ] INFO trade: {"price": 8.89, "quantity": 5, "side": "BUY"}
- 1732091724224 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-35-24 ] DEBUG not accurate trade: {"price": 8.89, "quantity": 44.9943, "side": "BUY"}
- auth token: eyJhbG
- [ 2024-11-20-08-35-24 ] INFO trade: {"price": 8.89, "quantity": 44.9943, "side": "BUY"}
- 2024/11/20 08:35:24 timeout_metric -> complete: tx: 0x90dcaaf3c424cfbfba4bffd218bb8bb08d89a834ed6bd0e528632c760f086e2b ; exec_time: 5.180986s ; attempt = 0 ; first tx 0x90dcaaf3c424cfbfba4bffd218bb8bb08d89a834ed6bd0e528632c760f086e2b
- 2024/11/20 08:35:24 {
- tx = 0x90dcaaf3c424cfbfba4bffd218bb8bb08d89a834ed6bd0e528632c760f086e2b failed
- exec_time = 5.181027s
- }
- 2024/11/20 08:35:25 extends args: {"timeout": "8000", "priority": "0"}
- 2024/11/20 08:35:25 args: {"quantity": "1000000000000000000", "price": "8810000000000000000", "orderType": "0", "isBid": "true"}
- 2024/11/20 08:35:25 waiting time: 5983 ; net timeout after waiting = 2017 ms
- error: unknown tx error
- [ 2024-11-20-08-35-25 ] MESSAGE: cancel order delta: 6084
- [ 2024-11-20-08-35-25 ] ERROR : cancel order error: 2063514936646933651
- 1732091725323 stream = onForceDexOrdersBookUpdated
- [ 2024-11-20-08-35-25 ] MESSAGE: Orderbook event
- ask price = 8.89 ask quantity = 307.378
- ask price = 8.9 ask quantity = 1121.59
- ask price = 8.91 ask quantity = 101.2
- ask price = 8.92 ask quantity = 0
- ask price = 8.93 ask quantity = 0
- ask price = 8.94 ask quantity = 0
- ask price = 8.95 ask quantity = 61.1998
- ask price = 8.96 ask quantity = 226.405
- ask price = 8.97 ask quantity = 73.9043
- ask price = 8.98 ask quantity = 0
- bid price = 8.81 bid quantity = 35.11
- bid price = 8.8 bid quantity = 859.03
- bid price = 8.79 bid quantity = 1347.53
- bid price = 8.78 bid quantity = 1387.87
- bid price = 8.77 bid quantity = 115.302
- bid price = 8.76 bid quantity = 0
- bid price = 8.75 bid quantity = 0
- bid price = 8.74 bid quantity = 16.306
- bid price = 8.73 bid quantity = 249.855
- bid price = 8.72 bid quantity = 356.132
- 2024/11/20 08:35:25 nonce: 214
- 2024/11/20 08:35:25 gas price = 88180939491
- 2024/11/20 08:35:25 TX Hash: 0x578230346d349fd112bf4354d91e665db8fe8d87d7832a317114b7529792fc30 ; Nonce: 214
- 2024/11/20 08:35:27 timeout_metric -> exceeded: tx: 0x578230346d349fd112bf4354d91e665db8fe8d87d7832a317114b7529792fc30 ; timeout 11000 ms ; first tx: 0x578230346d349fd112bf4354d91e665db8fe8d87d7832a317114b7529792fc30
- 2024/11/20 08:35:28 nonce: 214
- 2024/11/20 08:35:28 High priority: Suggested gas price 87289597277
- 2024/11/20 08:35:28 gas price = 174579194554
- 2024/11/20 08:35:28 retry tx: 0x578230346d349fd112bf4354d91e665db8fe8d87d7832a317114b7529792fc30 with 0xc25f84b2f32d9ef5bb66ab4b3a2282eb2b340b7e7e7a5b75cc067e4485bb89bf
- 1732091732079 stream = onForceDexOrdersBookUpdated
- [ 2024-11-20-08-35-32 ] MESSAGE: Orderbook event
- ask price = 8.89 ask quantity = 189
- ask price = 8.9 ask quantity = 1121.59
- ask price = 8.91 ask quantity = 101.2
- ask price = 8.92 ask quantity = 0
- ask price = 8.93 ask quantity = 0
- ask price = 8.94 ask quantity = 0
- ask price = 8.95 ask quantity = 61.1998
- ask price = 8.96 ask quantity = 226.405
- ask price = 8.97 ask quantity = 73.9043
- ask price = 8.98 ask quantity = 0
- bid price = 8.82 bid quantity = 174.085
- bid price = 8.81 bid quantity = 58.11
- bid price = 8.8 bid quantity = 859.03
- bid price = 8.79 bid quantity = 1347.53
- bid price = 8.78 bid quantity = 1333.32
- bid price = 8.77 bid quantity = 115.302
- bid price = 8.76 bid quantity = 0
- bid price = 8.75 bid quantity = 204.686
- bid price = 8.74 bid quantity = 16.306
- bid price = 8.73 bid quantity = 249.855
- 2024/11/20 08:35:39 timeout_metric -> exceeded: tx: 0xc25f84b2f32d9ef5bb66ab4b3a2282eb2b340b7e7e7a5b75cc067e4485bb89bf ; timeout 11000 ms ; first tx: 0x578230346d349fd112bf4354d91e665db8fe8d87d7832a317114b7529792fc30
- 2024/11/20 08:35:39 cancel tx 0xc25f84b2f32d9ef5bb66ab4b3a2282eb2b340b7e7e7a5b75cc067e4485bb89bf with increased gas price = 182320554172 while suggested = 91160277086
- 2024/11/20 08:35:39 cancel tx 0xc25f84b2f32d9ef5bb66ab4b3a2282eb2b340b7e7e7a5b75cc067e4485bb89bf with tx 0x81ecdbc2a9821d1e7a8dd1e9053326912b23606c6826c1c28f9ee192361ffab3; Nonce 214
- 2024/11/20 08:35:39 Failed to send transaction: nonce too low: next nonce 215, tx nonce 214
- 2024/11/20 08:35:39 retry error: nonce too low: next nonce 215, tx nonce 214
- 2024/11/20 08:35:40 0x578230346d349fd112bf4354d91e665db8fe8d87d7832a317114b7529792fc30 in history and status = 1
- C++ new_order_wrapper response: {"tx_hash": "0x578230346d349fd112bf4354d91e665db8fe8d87d7832a317114b7529792fc30", "error": "ok"}
- [ 2024-11-20-08-35-40 ] MESSAGE: new order delta: 20961
- 1732091743723 stream = onForceDexOrdersBookUpdated
- [ 2024-11-20-08-35-43 ] MESSAGE: Orderbook event
- ask price = 8.89 ask quantity = 189
- ask price = 8.9 ask quantity = 1121.59
- ask price = 8.91 ask quantity = 101.2
- ask price = 8.92 ask quantity = 0
- ask price = 8.93 ask quantity = 0
- ask price = 8.94 ask quantity = 0
- ask price = 8.95 ask quantity = 61.1998
- ask price = 8.96 ask quantity = 226.405
- ask price = 8.97 ask quantity = 73.9043
- ask price = 8.98 ask quantity = 0
- bid price = 8.82 bid quantity = 174.085
- bid price = 8.81 bid quantity = 58.337
- bid price = 8.8 bid quantity = 859.03
- bid price = 8.79 bid quantity = 1206.85
- bid price = 8.78 bid quantity = 1333.32
- bid price = 8.77 bid quantity = 115.302
- bid price = 8.76 bid quantity = 0
- bid price = 8.75 bid quantity = 204.686
- bid price = 8.74 bid quantity = 16.306
- bid price = 8.73 bid quantity = 249.855
- 1732091750384 stream = onForceDexOrdersBookUpdated
- [ 2024-11-20-08-35-50 ] MESSAGE: Orderbook event
- ask price = 8.89 ask quantity = 189
- ask price = 8.9 ask quantity = 1121.59
- ask price = 8.91 ask quantity = 101.2
- ask price = 8.92 ask quantity = 0
- ask price = 8.93 ask quantity = 0
- ask price = 8.94 ask quantity = 0
- ask price = 8.95 ask quantity = 61.1998
- ask price = 8.96 ask quantity = 226.405
- ask price = 8.97 ask quantity = 73.9043
- ask price = 8.98 ask quantity = 0
- bid price = 8.82 bid quantity = 174.085
- bid price = 8.81 bid quantity = 157.797
- bid price = 8.8 bid quantity = 859.03
- bid price = 8.79 bid quantity = 1206.85
- bid price = 8.78 bid quantity = 1333.32
- bid price = 8.77 bid quantity = 115.302
- bid price = 8.76 bid quantity = 0
- bid price = 8.75 bid quantity = 204.686
- bid price = 8.74 bid quantity = 16.306
- bid price = 8.73 bid quantity = 249.855
- 1732091755614 stream = onMyForceDexOrdersUpdated
- _feed_preprocess ACCOUNT ORDER: {"onMyForceDexOrdersUpdated": {"userId": "1245312", "status": "OPEN", "quantity": "1000000000000000000", "pairId": "1100ce7d-7e16-4a40-9aba-1ecc883b1f7e", "price": "8810000000000000000", "id": "002eb69a-f54a-4ac0-9f5b-18510bce77c5", "type": "LIMIT", "orderNumber": "1056671", "direction": "BID", "initialQuantity": "1000000000000000000", "createdAt": "2024-11-20T08:35:28.000Z"}}
- start _update_balances
- get_open_orders_wrapper::request_filler
- auth token: eyJhbG
- _fill_order 8810000000000000000/1000000000000000000/BUY 17041679080562522672
- end _update_balances
- stream == e_stream::ACCOUNT_ORDER
- _fill_order 8810000000000000000/1000000000000000000/BUY 17041679080562522672
- WebSocketEvent: delta=1.73209e+11, event_time=1732091728000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 135256140900128, "order": {"symbol": "HCDAI", "coid": 17041679080562522672, {"dex_order_id": "1056671", "order_id": "1732091482489003", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 8.810000, "quantity": 1.000000, "filled_quantity": 0.000000, "update_time": 1732091728000}}
- [ 2024-11-20-08-35-57 ] INFO Execution::_process: WebSocketEvent: delta=1.73209e+11, event_time=1732091728000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 135256140900128, "order": {"symbol": "HCDAI", "coid": 17041679080562522672, {"dex_order_id": "1056671", "order_id": "1732091482489003", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 8.810000, "quantity": 1.000000, "filled_quantity": 0.000000, "update_time": 1732091728000}}
- [ 2024-11-20-08-35-57 ] MESSAGE: limit
- [ 2024-11-20-08-35-57 ] DEBUG Event order: : {"symbol": "HCDAI", "coid": 17041679080562522672, {"dex_order_id": "1056671", "order_id": "1732091482489003", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 8.810000, "quantity": 1.000000, "filled_quantity": 0.000000, "update_time": 1732091728000}
- old_it != cur_storage.end()
- [ 2024-11-20-08-35-57 ] DEBUG old order: : {"symbol": "HCDAI", "coid": 17041679080562522672, {"dex_order_id": "0", "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PENDING", "price": 8.810000, "quantity": 1.000000, "update_time": 0}
- [ 2024-11-20-08-35-57 ] MESSAGE: (execution) filled quantity is not initialized
- [ 2024-11-20-08-35-57 ] INFO _process fill event strategy: FillEvent: delta=1.73209e+11, symbol="HCDAI", type="ORDER", delta: 0, order: {"symbol": "HCDAI", "coid": 17041679080562522672, {"dex_order_id": "1056671", "order_id": "1732091482489003", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 8.810000, "quantity": 1.000000, "filled_quantity": 0.000000, "update_time": 1732091728000}, position: {"symbol": "HCDAI", "entry_price": 8.78, "quantity": 1, "position_quote": 8.78}
- [ 2024-11-20-08-35-57 ] MESSAGE: ! HCDAI
- 1732091757524 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-35-57 ] DEBUG not accurate trade: {"price": 8.82, "quantity": 56, "side": "BUY"}
- auth token: eyJhbG
- [ 2024-11-20-08-35-57 ] INFO trade: {"price": 8.82, "quantity": 56, "side": "SELL"}
- [ 2024-11-20-08-35-57 ] DEBUG strat res: OrderEvent: delta=1.732e+11, symbol="HCDAI", type="LIMIT_GRID", priority=default, asks: [], bids: []
- [ 2024-11-20-08-35-57 ] INFO portfolio: OrderEvent: delta=1.732e+11, symbol="HCDAI", type="LIMIT_GRID", priority=default, asks: [], bids: []
- [ 2024-11-20-08-35-57 ] INFO execution order event process: OrderEvent: delta=1.732e+11, symbol="HCDAI", type="LIMIT_GRID", priority=default, asks: [], bids: []
- [ 2024-11-20-08-35-57 ] MESSAGE: LIMIT GRID
- execution to cancel: id: 17041679080562522672 dex id = 1056671 p = 8.810000 q = 1.000000
- execution to cancel: id: 2063514936646933651 dex id = 1056574 p = 8.780000 q = 1.000000
- [ 2024-11-20-08-35-57 ] MESSAGE: csize: 2
- [ 2024-11-20-08-35-57 ] DEBUG ! cancel: {"symbol": "HCDAI", "coid": 17041679080562522672, {"dex_order_id": "1056671", "order_id": "1732091482489003", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 8.810000, "quantity": 1.000000, "filled_quantity": 0.000000, "update_time": 1732091728000}
- [ cancel_order_wrapper::execute
- 2024-11-20-08-35-57 ] DEBUG ! cancel: {"symbol": "HCDAI", "coid": 2063514936646933651, {"dex_order_id": "1056574", "order_id": "1732091482489003", 2024/11/20 08:35:57 extends args: {"timeout": "8000"}
- "type": "LIMIT2024/11/20 08:35:57 args: {"orderId": "1056671"}
- ", "side": "BUY", "status": "NEW", "price": 8.780000, "quantity": 1.000000, "filled_quantity": 0.000000, "update_time": 1732091504000}
- cancel_order_wrapper::execute
- 2024/11/20 08:35:57 waiting time: 0 ; net timeout after waiting = 8000 ms
- 1732091757908 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-35-57 ] DEBUG not accurate trade: {"price": 8.82, "quantity": 5, "side": "BUY"}
- auth token: eyJhbG
- 2024/11/20 08:35:58 nonce: 215
- 2024/11/20 08:35:58 gas price = 85714927552
- 2024/11/20 08:35:58 TX Hash: 0x07c2e96f120543a2da5979b9a53ee376d252e0c224c546dadd7a49484729745e ; Nonce: 215
- [ 2024-11-20-08-35-58 ] INFO trade: {"price": 8.82, "quantity": 5, "side": "SELL"}
- 1732091758683 stream = onForceDexOrdersBookUpdated
- [ 2024-11-20-08-35-58 ] MESSAGE: Orderbook event
- ask price = 8.89 ask quantity = 189
- ask price = 8.9 ask quantity = 1121.59
- ask price = 8.91 ask quantity = 101.2
- ask price = 8.92 ask quantity = 0
- ask price = 8.93 ask quantity = 0
- ask price = 8.94 ask quantity = 0
- ask price = 8.95 ask quantity = 61.1998
- ask price = 8.96 ask quantity = 226.405
- ask price = 8.97 ask quantity = 73.9043
- ask price = 8.98 ask quantity = 0
- bid price = 8.82 bid quantity = 113.085
- bid price = 8.81 bid quantity = 158.797
- bid price = 8.8 bid quantity = 649.826
- bid price = 8.79 bid quantity = 1206.85
- bid price = 8.78 bid quantity = 1333.32
- bid price = 8.77 bid quantity = 115.302
- bid price = 8.76 bid quantity = 0
- bid price = 8.75 bid quantity = 204.686
- bid price = 8.74 bid quantity = 16.306
- bid price = 8.73 bid quantity = 253.635
- 1732091762553 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-36-02 ] DEBUG not accurate trade: {"price": 8.89, "quantity": 57, "side": "BUY"}
- auth token: eyJhbG
- 2024/11/20 08:36:02 timeout_metric -> complete: tx: 0x07c2e96f120543a2da5979b9a53ee376d252e0c224c546dadd7a49484729745e ; exec_time: 4.177428s ; attempt = 0 ; first tx 0x07c2e96f120543a2da5979b9a53ee376d252e0c224c546dadd7a49484729745e
- 2024/11/20 08:36:02 golang tx log: {
- tx = 0x07c2e96f120543a2da5979b9a53ee376d252e0c224c546dadd7a49484729745e ok;
- nonce = 215
- status = 1
- block = 64508063
- usedGas = 161269
- exec_time = 4.177470s
- }
- 2024/11/20 08:36:02 extends args: {"timeout": "8000"}
- 2024/11/20 08:36:02 args: {"orderId": "1056574"}
- 2024/11/20 08:36:02 waiting time: 4894 ; net timeout after waiting = 3106 ms
- cancel_order_wrapper::response_filler{"tx_hash": "0x07c2e96f120543a2da5979b9a53ee376d252e0c224c546dadd7a49484729745e", "used_gas": "161269", "block": "64508063", "error": "ok"}
- [ 2024-11-20-08-36-02 ] MESSAGE: cancel order delta: 4895
- [ 2024-11-20-08-36-02 ] INFO trade: {"price": 8.89, "quantity": 57, "side": "BUY"}
- 1732091762978 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-36-02 ] DEBUG not accurate trade: {"price": 8.82, "quantity": 12.0403, "side": "BUY"}
- auth token: eyJhbG
- 2024/11/20 08:36:03 nonce: 216
- 2024/11/20 08:36:03 gas price = 85502501205
- 2024/11/20 08:36:03 TX Hash: 0x0298981267f4e68917f3127bcd11113c6f19be6553b7d41c2d97e0c912b5cf05 ; Nonce: 216
- [ 2024-11-20-08-36-03 ] INFO trade: {"price": 8.82, "quantity": 12.0403, "side": "SELL"}
- 1732091763994 stream = onForceDexOrdersBookUpdated
- [ 2024-11-20-08-36-03 ] MESSAGE: Orderbook event
- ask price = 8.89 ask quantity = 132
- ask price = 8.9 ask quantity = 1121.59
- ask price = 8.91 ask quantity = 101.2
- ask price = 8.92 ask quantity = 0
- ask price = 8.93 ask quantity = 0
- ask price = 8.94 ask quantity = 0
- ask price = 8.95 ask quantity = 61.1998
- ask price = 8.96 ask quantity = 226.405
- ask price = 8.97 ask quantity = 73.9043
- ask price = 8.98 ask quantity = 0
- bid price = 8.82 bid quantity = 100.891
- bid price = 8.81 bid quantity = 158.797
- bid price = 8.8 bid quantity = 649.826
- bid price = 8.79 bid quantity = 1206.85
- bid price = 8.78 bid quantity = 1333.32
- bid price = 8.77 bid quantity = 115.302
- bid price = 8.76 bid quantity = 0
- bid price = 8.75 bid quantity = 204.686
- bid price = 8.74 bid quantity = 16.306
- bid price = 8.73 bid quantity = 253.635
- 1732091764002 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-36-04 ] DEBUG not accurate trade: {"price": 8.82, "quantity": 0.1532, "side": "BUY"}
- auth token: eyJhbG
- [ 2024-11-20-08-36-04 ] INFO trade: {"price": 8.82, "quantity": 0.1532, "side": "SELL"}
- 2024/11/20 08:36:06 timeout_metric -> exceeded: tx: 0x0298981267f4e68917f3127bcd11113c6f19be6553b7d41c2d97e0c912b5cf05 ; timeout 11000 ms ; first tx: 0x0298981267f4e68917f3127bcd11113c6f19be6553b7d41c2d97e0c912b5cf05
- 2024/11/20 08:36:06 nonce: 216
- 2024/11/20 08:36:06 High priority: Suggested gas price 83171706564
- 2024/11/20 08:36:06 gas price = 166343413128
- 2024/11/20 08:36:07 retry tx: 0x0298981267f4e68917f3127bcd11113c6f19be6553b7d41c2d97e0c912b5cf05 with 0xee2888058b2e683a3f6a508f75effc74d3db67f6af2b77f0c0607dbbaa9ad782
- 1732091769672 stream = onForceDexOrdersBookUpdated
- [ 2024-11-20-08-36-09 ] MESSAGE: Orderbook event
- ask price = 8.89 ask quantity = 132
- ask price = 8.9 ask quantity = 1121.59
- ask price = 8.91 ask quantity = 101.2
- ask price = 8.92 ask quantity = 0
- ask price = 8.93 ask quantity = 0
- ask price = 8.94 ask quantity = 0
- ask price = 8.95 ask quantity = 61.1998
- ask price = 8.96 ask quantity = 226.405
- ask price = 8.97 ask quantity = 73.9043
- ask price = 8.98 ask quantity = 0
- bid price = 8.82 bid quantity = 100.891
- bid price = 8.81 bid quantity = 158.797
- bid price = 8.8 bid quantity = 649.826
- bid price = 8.79 bid quantity = 1177.16
- bid price = 8.78 bid quantity = 1333.32
- bid price = 8.77 bid quantity = 115.302
- bid price = 8.76 bid quantity = 0
- bid price = 8.75 bid quantity = 204.686
- bid price = 8.74 bid quantity = 16.306
- bid price = 8.73 bid quantity = 253.635
- 1732091776455 stream = onForceDexOrdersBookUpdated
- [ 2024-11-20-08-36-16 ] MESSAGE: Orderbook event
- ask price = 8.89 ask quantity = 132
- ask price = 8.9 ask quantity = 1121.59
- ask price = 8.91 ask quantity = 101.2
- ask price = 8.92 ask quantity = 0
- ask price = 8.93 ask quantity = 0
- ask price = 8.94 ask quantity = 0
- ask price = 8.95 ask quantity = 61.1998
- ask price = 8.96 ask quantity = 226.405
- ask price = 8.97 ask quantity = 73.9043
- ask price = 8.98 ask quantity = 0
- bid price = 8.82 bid quantity = 100.891
- bid price = 8.81 bid quantity = 458.797
- bid price = 8.8 bid quantity = 649.826
- bid price = 8.79 bid quantity = 1177.16
- bid price = 8.78 bid quantity = 1333.32
- bid price = 8.77 bid quantity = 115.302
- bid price = 8.76 bid quantity = 0
- bid price = 8.75 bid quantity = 204.686
- bid price = 8.74 bid quantity = 16.306
- bid price = 8.73 bid quantity = 253.635
- 2024/11/20 08:36:18 timeout_metric -> exceeded: tx: 0xee2888058b2e683a3f6a508f75effc74d3db67f6af2b77f0c0607dbbaa9ad782 ; timeout 11000 ms ; first tx: 0x0298981267f4e68917f3127bcd11113c6f19be6553b7d41c2d97e0c912b5cf05
- 2024/11/20 08:36:18 cancel tx 0xee2888058b2e683a3f6a508f75effc74d3db67f6af2b77f0c0607dbbaa9ad782 with increased gas price = 168711049850 while suggested = 84355524925
- 2024/11/20 08:36:18 cancel tx 0xee2888058b2e683a3f6a508f75effc74d3db67f6af2b77f0c0607dbbaa9ad782 with tx 0x8dc98f2efbab665e51b5e22051c77ac6b4c469b0cdaa28537ef5998395ee7d2b; Nonce 216
- 2024/11/20 08:36:18 Failed to send transaction: nonce too low: next nonce 217, tx nonce 216
- 2024/11/20 08:36:18 retry error: nonce too low: next nonce 217, tx nonce 216
- 2024/11/20 08:36:18 0x0298981267f4e68917f3127bcd11113c6f19be6553b7d41c2d97e0c912b5cf05 in history but status = 0
- error: don't know: nonce too low: next nonce 217, tx nonce 216
- [ 2024-11-20-08-36-19 ] MESSAGE: cancel order delta: 21227
- [ 2024-11-20-08-36-19 ] ERROR : cancel order error: 2063514936646933651
- 1732091783023 stream = onForceDexOrdersBookUpdated
- [ 2024-11-20-08-36-23 ] MESSAGE: Orderbook event
- ask price = 8.89 ask quantity = 132
- ask price = 8.9 ask quantity = 1121.59
- ask price = 8.91 ask quantity = 101.2
- ask price = 8.92 ask quantity = 0
- ask price = 8.93 ask quantity = 0
- ask price = 8.94 ask quantity = 0
- ask price = 8.95 ask quantity = 61.1998
- ask price = 8.96 ask quantity = 226.405
- ask price = 8.97 ask quantity = 73.9043
- ask price = 8.98 ask quantity = 0
- bid price = 8.82 bid quantity = 120.891
- bid price = 8.81 bid quantity = 458.797
- bid price = 8.8 bid quantity = 649.826
- bid price = 8.79 bid quantity = 84.2789
- bid price = 8.78 bid quantity = 1333.32
- bid price = 8.77 bid quantity = 115.302
- bid price = 8.76 bid quantity = 0
- bid price = 8.75 bid quantity = 204.686
- bid price = 8.74 bid quantity = 16.306
- bid price = 8.73 bid quantity = 253.635
- 1732091789086 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-36-29 ] DEBUG not accurate trade: {"price": 8.89, "quantity": 5, "side": "BUY"}
- auth token: eyJhbG
- [ 2024-11-20-08-36-29 ] INFO trade: {"price": 8.89, "quantity": 5, "side": "BUY"}
- 1732091789867 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-36-29 ] DEBUG not accurate trade: {"price": 8.82, "quantity": 13.6, "side": "BUY"}
- auth token: eyJhbG
- [ 2024-11-20-08-36-30 ] INFO trade: {"price": 8.82, "quantity": 13.6, "side": "SELL"}
- 1732091790674 stream = onForceDexOrdersBookUpdated
- [ 2024-11-20-08-36-30 ] MESSAGE: Orderbook event
- ask price = 8.88 ask quantity = 100
- ask price = 8.89 ask quantity = 127
- ask price = 8.9 ask quantity = 1121.59
- ask price = 8.91 ask quantity = 101.2
- ask price = 8.92 ask quantity = 0
- ask price = 8.93 ask quantity = 0
- ask price = 8.94 ask quantity = 0
- ask price = 8.95 ask quantity = 61.1998
- ask price = 8.96 ask quantity = 226.405
- ask price = 8.97 ask quantity = 73.9043
- bid price = 8.82 bid quantity = 107.291
- bid price = 8.81 bid quantity = 458.797
- bid price = 8.8 bid quantity = 649.826
- bid price = 8.79 bid quantity = 84.2789
- bid price = 8.78 bid quantity = 1351.43
- bid price = 8.77 bid quantity = 115.302
- bid price = 8.76 bid quantity = 0
- bid price = 8.75 bid quantity = 204.686
- bid price = 8.74 bid quantity = 16.306
- bid price = 8.73 bid quantity = 253.635
- 1732091795666 stream = onMyForceDexOrdersUpdated
- _feed_preprocess ACCOUNT ORDER: {"onMyForceDexOrdersUpdated": {"userId": "1245312", "status": "CANCELLED", "quantity": "1000000000000000000", "pairId": "1100ce7d-7e16-4a40-9aba-1ecc883b1f7e", "price": "8810000000000000000", "id": "002eb69a-f54a-4ac0-9f5b-18510bce77c5", "type": "LIMIT", "orderNumber": "1056671", "direction": "BID", "initialQuantity": "1000000000000000000", "createdAt": "2024-11-20T08:35:28.000Z"}}
- start _update_balances
- get_open_orders_wrapper::request_filler
- auth token: eyJhbG
- end _update_balances
- stream == e_stream::ACCOUNT_ORDER
- _fill_order 8810000000000000000/1000000000000000000/BUY 17041679080562522672
- WebSocketEvent: delta=1.73209e+11, event_time=1732091728000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 135256140900128, "order": {"symbol": "HCDAI", "coid": 17041679080562522672, {"dex_order_id": "1056671", "order_id": "1732091482489003", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 8.810000, "quantity": 1.000000, "filled_quantity": 0.000000, "update_time": 1732091728000}}
- [ 2024-11-20-08-36-36 ] INFO Execution::_process: WebSocketEvent: delta=1.73209e+11, event_time=1732091728000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 135256140900128, "order": {"symbol": "HCDAI", "coid": 17041679080562522672, {"dex_order_id": "1056671", "order_id": "1732091482489003", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 8.810000, "quantity": 1.000000, "filled_quantity": 0.000000, "update_time": 1732091728000}}
- [ 2024-11-20-08-36-36 ] MESSAGE: limit
- [ 2024-11-20-08-36-36 ] DEBUG Event order: : {"symbol": "HCDAI", "coid": 17041679080562522672, {"dex_order_id": "1056671", "order_id": "1732091482489003", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 8.810000, "quantity": 1.000000, "filled_quantity": 0.000000, "update_time": 1732091728000}
- old_it != cur_storage.end()
- [ 2024-11-20-08-36-36 ] DEBUG old order: : {"symbol": "HCDAI", "coid": 17041679080562522672, {"dex_order_id": "1056671", "order_id": "1732091482489003", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 8.810000, "quantity": 1.000000, "filled_quantity": 0.000000, "update_time": 1732091728000}
- [ 2024-11-20-08-36-36 ] MESSAGE: erase
- [ 2024-11-20-08-36-36 ] INFO _process fill event strategy: FillEvent: delta=1.73209e+11, symbol="HCDAI", type="ORDER", delta: 0, order: {"symbol": "HCDAI", "coid": 17041679080562522672, {"dex_order_id": "1056671", "order_id": "1732091482489003", "type": "LIMIT", "side": "BUY", "status": "CANCELED", "price": 8.810000, "quantity": 1.000000, "filled_quantity": 0.000000, "update_time": 1732091728000}, position: {"symbol": "HCDAI", "entry_price": 8.78, "quantity": 1, "position_quote": 8.78}
- [ 2024-11-20-08-36-36 ] MESSAGE: ! HCDAI
- 1732091796944 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-36-36 ] DEBUG not accurate trade: {"price": 8.82, "quantity": 87.2914, "side": "BUY"}
- auth token: eyJhbG
- [ 2024-11-20-08-36-37 ] INFO trade: {"price": 8.82, "quantity": 87.2914, "side": "SELL"}
- [ 2024-11-20-08-36-37 ] DEBUG best book: {"ask_price": 8.88, "ask_quantity": 100, "bid_price": 8.82, "bid_quantity": 107.291}
- [ 2024-11-20-08-36-37 ] DEBUG strat res: OrderEvent: delta=1.732e+11, symbol="HCDAI", type="LIMIT_GRID", priority=default, asks: [], bids: [(8.82, 1); ]
- [ 2024-11-20-08-36-37 ] INFO portfolio: OrderEvent: delta=1.732e+11, symbol="HCDAI", type="LIMIT_GRID", priority=default, asks: [], bids: [(8.82, 1); ]
- [ 2024-11-20-08-36-37 ] INFO execution order event process: OrderEvent: delta=1.732e+11, symbol="HCDAI", type="LIMIT_GRID", priority=default, asks: [], bids: [(8.82, 1); ]
- [ 2024-11-20-08-36-37 ] MESSAGE: LIMIT GRID
- [ 2024-11-20-08-36-37 ] DEBUG in _process_limit_grid: 8.82
- [ 2024-11-20-08-36-37 ] DEBUG in _process_limit_grid: 1
- execution to cancel: id: 2063514936646933651 dex id = 1056574 p = 8.780000 q = 1.000000
- [ 2024-11-20-08-36-37 ] DEBUG @#*&* : {"symbol": "HCDAI", "price": 8.820000, "quantity": 1.000000, "type": "LIMIT", "side": "BUY"}
- [ 2024-11-20-08-36-37 ] MESSAGE: csize: 1
- [ 2024-11-20-08-36-37 ] DEBUG ! cancel: {"symbol": "HCDAI", "coid": 2063514936646933651, {"dex_order_id": "1056574", "order_id": "1732091482489003", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 8.780000, "quantity": 1.000000, "filled_quantity": 0.000000, "update_time": 1732091504000}
- cancel_order_wrapper::execute
- 2024/11/20 08:36:37 extends args: {"timeout": "8000"}
- 2024/11/20 08:36:37 args: {"orderId": "1056574"}
- 2024/11/20 08:36:37 waiting time: 0 ; net timeout after waiting = 8000 ms
- index_order_id 8820000000000000000/1000000000000000000/BUY 16262418492676534865
- [ 2024-11-20-08-36-37 ] DEBUG ! new: {"symbol": "HCDAI", "price": 8.820000, "quantity": 1.000000, "client_order_id": 16262418492676534865, "type": "LIMIT", "side": "BUY"}
- ! new api API 0x57202ecae050
- order_request_t {"symbol": "HCDAI", "price": 8.820000, "quantity": 1.000000, "client_order_id": 16262418492676534865, "type": "LIMIT", "side": "BUY"}
- quantity 10000
- new_order_wrapper::execute
- {"ext_params": {"timeout": "8000", "priority": "0"}, "params": {"quantity": "1000000000000000000", "price": "8820000000000000000", "orderType": "0", "isBid": "true"}, "function_name": "createOrder", "address": "0x6B965968FBc6ff0D2eD7CB1Cb38C1C1bbE0327B4"}
- 1732091797339 stream = onForceDexOrdersBookUpdated
- [ 2024-11-20-08-36-37 ] MESSAGE: Orderbook event
- ask price = 8.88 ask quantity = 100
- ask price = 8.89 ask quantity = 127
- ask price = 8.9 ask quantity = 1121.59
- ask price = 8.91 ask quantity = 101.2
- ask price = 8.92 ask quantity = 0
- ask price = 8.93 ask quantity = 0
- ask price = 8.94 ask quantity = 0
- ask price = 8.95 ask quantity = 61.1998
- ask price = 8.96 ask quantity = 226.405
- ask price = 8.97 ask quantity = 73.9043
- bid price = 8.81 bid quantity = 365.688
- bid price = 8.8 bid quantity = 254.502
- bid price = 8.79 bid quantity = 84.2789
- bid price = 8.78 bid quantity = 1351.43
- bid price = 8.77 bid quantity = 115.302
- bid price = 8.76 bid quantity = 0
- bid price = 8.75 bid quantity = 204.686
- bid price = 8.74 bid quantity = 16.306
- bid price = 8.73 bid quantity = 253.635
- bid price = 8.72 bid quantity = 357.813
- 1732091797347 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-36-37 ] DEBUG not accurate trade: {"price": 8.82, "quantity": 20, "side": "BUY"}
- auth token: eyJhbG
- 2024/11/20 08:36:37 nonce: 217
- 2024/11/20 08:36:37 gas price = 77389489719
- 2024/11/20 08:36:37 TX Hash: 0x7dd9476cfac389f6f7090c24c0d81deab28905196c5d60c9c06280be3fe1f072 ; Nonce: 217
- [ 2024-11-20-08-36-41 ] INFO trade: {"price": 8.82, "quantity": 20, "side": "SELL"}
- 1732091801238 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-36-41 ] DEBUG not accurate trade: {"price": 8.81, "quantity": 32.67, "side": "BUY"}
- auth token: eyJhbG
- [ 2024-11-20-08-36-41 ] INFO trade: {"price": 8.81, "quantity": 32.67, "side": "SELL"}
- 1732091801507 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-36-41 ] DEBUG not accurate trade: {"price": 8.81, "quantity": 2.44, "side": "BUY"}
- auth token: eyJhbG
- [ 2024-11-20-08-36-41 ] INFO trade: {"price": 8.81, "quantity": 2.44, "side": "SELL"}
- 1732091801770 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-36-41 ] DEBUG not accurate trade: {"price": 8.81, "quantity": 23, "side": "BUY"}
- auth token: eyJhbG
- [ 2024-11-20-08-36-42 ] INFO trade: {"price": 8.81, "quantity": 23, "side": "SELL"}
- 1732091802036 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-36-42 ] DEBUG not accurate trade: {"price": 8.81, "quantity": 0.227, "side": "BUY"}
- auth token: eyJhbG
- [ 2024-11-20-08-36-42 ] INFO trade: {"price": 8.81, "quantity": 0.227, "side": "SELL"}
- 1732091802329 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-36-42 ] DEBUG not accurate trade: {"price": 8.81, "quantity": 33.7715, "side": "BUY"}
- auth token: eyJhbG
- [ 2024-11-20-08-36-43 ] INFO trade: {"price": 8.81, "quantity": 33.7715, "side": "SELL"}
- 2024/11/20 08:36:43 timeout_metric -> complete: tx: 0x7dd9476cfac389f6f7090c24c0d81deab28905196c5d60c9c06280be3fe1f072 ; exec_time: 5.370773s ; attempt = 0 ; first tx 0x7dd9476cfac389f6f7090c24c0d81deab28905196c5d60c9c06280be3fe1f072
- 2024/11/20 08:36:43 {
- tx = 0x7dd9476cfac389f6f7090c24c0d81deab28905196c5d60c9c06280be3fe1f072 failed
- exec_time = 5.370812s
- }
- 2024/11/20 08:36:43 extends args: {"timeout": "8000", "priority": "0"}
- error: 2024/11/20 08:36:43 args: {"quantity": "1000000000000000000", "price": "8820000000000000000", "orderType": "0", "isBid": "true"}
- unknown tx error2024/11/20 08:36:43 waiting time: 6166 ; net timeout after waiting = 1834 ms
- [ 2024-11-20-08-36-43 ] MESSAGE: cancel order delta: 6267
- [ 2024-11-20-08-36-43 ] ERROR : cancel order error: 2063514936646933651
- 2024/11/20 08:36:44 nonce: 218
- 2024/11/20 08:36:44 gas price = 75439524756
- 2024/11/20 08:36:44 TX Hash: 0x187895fda7edb700e3b90eb138bb9e8d7c0e3ed1b0fb6a0d5f72d14e8a483ff7 ; Nonce: 218
- 2024/11/20 08:36:46 timeout_metric -> exceeded: tx: 0x187895fda7edb700e3b90eb138bb9e8d7c0e3ed1b0fb6a0d5f72d14e8a483ff7 ; timeout 11000 ms ; first tx: 0x187895fda7edb700e3b90eb138bb9e8d7c0e3ed1b0fb6a0d5f72d14e8a483ff7
- 2024/11/20 08:36:46 nonce: 218
- 2024/11/20 08:36:46 High priority: Suggested gas price 77389489719
- 2024/11/20 08:36:46 gas price = 154778979438
- 2024/11/20 08:36:46 retry tx: 0x187895fda7edb700e3b90eb138bb9e8d7c0e3ed1b0fb6a0d5f72d14e8a483ff7 with 0x73ccde163e0acdf51d69b1a346d9a799c9bf3170372da82356b05ab94d3dd691
- 1732091808609 stream = onForceDexOrderExecutionUpdated
- [ 2024-11-20-08-36-48 ] DEBUG not accurate trade: {"price": 8.88, "quantity": 3.4421, "side": "BUY"}
- auth token: eyJhbG
- ^C
- ubuntu@ip-172-31-31-23:~/dmm_strat/solutions/test$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement