Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ubuntu@ip-172-31-31-23:~/dmm_strat/solutions/test$ gdb ./test
- GNU gdb (Ubuntu 12.1-0ubuntu1~22.04.2) 12.1
- Copyright (C) 2022 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law.
- Type "show copying" and "show warranty" for details.
- This GDB was configured as "x86_64-linux-gnu".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <https://www.gnu.org/software/gdb/bugs/>.
- Find the GDB manual and other documentation resources online at:
- <http://www.gnu.org/software/gdb/documentation/>.
- For help, type "help".
- Type "apropos word" to search for commands related to "word"...
- Reading symbols from ./test...
- (gdb) run volume/volume_launch.config > volume_mfs.txt
- Starting program: /home/ubuntu/dmm_strat/solutions/test/test volume/volume_launch.config > volume_mfs.txt
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
- [New Thread 0x7ffff6800640 (LWP 631089)]
- warning: File "/usr/local/go/src/runtime/runtime-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
- To enable execution of this file add
- add-auto-load-safe-path /usr/local/go/src/runtime/runtime-gdb.py
- line to your configuration file "/home/ubuntu/.config/gdb/gdbinit".
- To completely disable this security protection add
- set auto-load safe-path /
- line to your configuration file "/home/ubuntu/.config/gdb/gdbinit".
- For more information about this security protection see the
- "Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
- info "(gdb)Auto-loading safe path"
- [New Thread 0x7ffff5a00640 (LWP 631090)]
- [New Thread 0x7fffede00640 (LWP 631091)]
- [New Thread 0x7fffed400640 (LWP 631092)]
- [New Thread 0x7fff9fe00640 (LWP 631094)]
- [New Thread 0x7fffeca00640 (LWP 631093)]
- [New Thread 0x7fff9f400640 (LWP 631095)]
- [New Thread 0x7fff9ea00640 (LWP 631102)]
- [New Thread 0x7fff9e000640 (LWP 631103)]
- 2024/11/06 12:37:56 init Nonce: 22
- 2024/11/06 12:37:56 bind contract 0x6b965968fbc6ff0d2ed7cb1cb38c1c1bbe0327b4
- 2024/11/06 12:37:56 bind contract 0x1a9f5fd1b36f8d1e03f0ff6eabbbb268f053033e
- 2024/11/06 12:37:56 bind contract 0x6fcb55c09671bd0d28b5a0e9d303793ac005f19c
- 2024/11/06 12:37:56 bind contract 0x762d3d096b9a74f4d3adf2b0824456ef8fce5daa
- 2024/11/06 12:37:56 bind contract 0x8f3cf7ad23cd3cadbd9735aff958023239c6a063
- [New Thread 0x7ffff4800640 (LWP 631104)]
- run forever balance 0x5555559729b0
- {"type": "DEX", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "HC", "free": 64.399, "locked": 0, "wallet": 0, "update_time": 1730896678420}, {"asset": "DAI", "free": 499.817, "locked": 0, "wallet": 0, "update_time": 1730896678420}]}
- [New Thread 0x7fff9d600640 (LWP 631112)]
- get balance indicator 0x555555972b50
- trader {"symbol": "HCDAI", "account": "MFS_2", "market": "MFS_DEX", "logger": {"severity_level": "DEBUG"}, "execution": {"print_ws_events": "1", "cancel_on_start": "0", "timeout": "30000"}, "data": {"print_ws_events": "0", "use_part_depth": "true", "events": ["ORDER_BOOK"]}}
- >:)
- [New Thread 0x7fff9cc00640 (LWP 631137)]
- [ 2024-11-06-12-38-01 ] MESSAGE: no volume price file
- [New Thread 0x7fff8fe00640 (LWP 631138)]
- [New Thread 0x7fff8f400640 (LWP 631139)]
- no account balance subscription
- [New Thread 0x7fff8ea00640 (LWP 631140)]
- [New Thread 0x7fff8e000640 (LWP 631141)]
- feed.at("type").s() != ping{"type": "connection_ack"}
- feed.at("type").s() != ping{"type": "connection_ack"}
- [Thread 0x7ffff4800640 (LWP 631104) exited]
- [ 2024-11-06-12-38-07 ] INFO data ask price: 7.700000
- [ 2024-11-06-12-38-07 ] INFO data bid price: 7.640000
- [ 2024-11-06-12-38-07 ] MESSAGE: sleep time = 120882
- [ 2024-11-06-12-38-07 ] MESSAGE: ask price 7.700000 bid price: 7.640000
- [ 2024-11-06-12-38-07 ] MESSAGE: current_volume: 6.715249 previous price = 7.670000
- [ 2024-11-06-12-38-07 ] MESSAGE: start calculating new normal distributed price
- [ 2024-11-06-12-38-07 ] MESSAGE: calculate deviated price (new) = 7.666433 current price = 7.670000
- [ 2024-11-06-12-38-07 ] MESSAGE: delta = -0.003567
- [ 2024-11-06-12-38-07 ] MESSAGE: new price after = 7.666433
- [ 2024-11-06-12-38-07 ] MESSAGE: price: 7.666433
- quantity: 0.875929
- [ 2024-11-06-12-38-07 ] INFO portfolio: OrderEvent: delta=1.73076e+11, symbol="HCDAI", type="SELF_TRADE", priority=default
- [ 2024-11-06-12-38-07 ] DEBUG base balance: {"asset": "HC", "free": 64.399, "locked": 0, "wallet": 0, "update_time": 1730896679041}
- [ 2024-11-06-12-38-07 ] DEBUG quote balance: {"asset": "DAI", "free": 499.817, "locked": 0, "wallet": 0, "update_time": 1730896679041}
- [ 2024-11-06-12-38-07 ] MESSAGE: balances_ratio: 0.987784
- [ 2024-11-06-12-38-07 ] INFO execution order event process: OrderEvent: delta=1.73076e+11, symbol="HCDAI", type="SELF_TRADE", priority=default
- [New Thread 0x7fff8d600640 (LWP 631166)]
- [ 2024-11-06-12-38-07 ] DEBUG ! new: {"symbol": "HCDAI", "price": 7.670000, "quantity": 0.875900, "client_order_id": 8163630517471433714, "type": "LIMIT", "side": "BUY"}
- ! new api API 0x5555559729b0
- [New Thread 0x7fff8cc00640 (LWP 631167)]
- 2024/11/06 12:38:07 extends args: {"timeout": "30000", "priority": "0"}
- 2024/11/06 12:38:07 args: {"quantity": "875900000000000000", "price": "7670000000000000000", "orderType": "0", "isBid": "true"}
- 2024/11/06 12:38:07 start cancelation
- 2024/11/06 12:38:07 finish cancelation
- [ 2024-11-06-12-38-07 ] DEBUG ! new: {"symbol": "HCDAI", "price": 7.670000, "quantity": 0.875900, "client_order_id": 14451579120201194125, "type": "LIMIT", "side": "SELL"}
- ! new api API 0x5555559729b0
- 2024/11/06 12:38:07 extends args: {"timeout": "30000", "priority": "0"}
- 2024/11/06 12:38:07 args: {"quantity": "875900000000000000", "price": "7670000000000000000", "orderType": "0", "isBid": "false"}
- 2024/11/06 12:38:07 start cancelation
- 2024/11/06 12:38:07 finish cancelation
- 2024/11/06 12:38:07 gas price = 65176997796
- 2024/11/06 12:38:07 gas price = 65176997796
- 2024/11/06 12:38:08 TX Hash: 0xc3db3d73a03cc932949b7d3aac31604de5de9f43c669720fdb7ebd89f908d59c ; Nonce: 22
- 2024/11/06 12:38:08 TX Hash: 0xd61f97bcd91fb7790ad6f336cc4d1a6e9fb58a4ba3252cdb7d0efcf57c8278b8 ; Nonce: 23
- 2024/11/06 12:38:13 golang tx log: {
- tx = 0xc3db3d73a03cc932949b7d3aac31604de5de9f43c669720fdb7ebd89f908d59c ok;
- status = 1
- block = 63954798
- usedGas = 478049
- exec_time = 5.632877s
- }
- [ 2024-11-06-12-38-13 ] MESSAGE: new order delta: 5634
- [ 2024-11-06-12-38-13 ] DEBUG ? new: empty order
- [Thread 0x7fff8d600640 (LWP 631166) exited]
- [ 2024-11-06-12-38-14 ] INFO data ask price: 7.700000
- [ 2024-11-06-12-38-14 ] INFO data bid price: 7.640000
- 2024/11/06 12:38:19 golang tx log: {
- tx = 0xd61f97bcd91fb7790ad6f336cc4d1a6e9fb58a4ba3252cdb7d0efcf57c8278b8 ok;
- status = 1
- block = 63954800
- usedGas = 461791
- exec_time = 11.637034s
- }
- [ 2024-11-06-12-38-19 ] MESSAGE: new order delta: 11637
- [ 2024-11-06-12-38-19 ] DEBUG ? new: empty order
- [Thread 0x7fff8cc00640 (LWP 631167) exited]
- [ 2024-11-06-12-38-25 ] INFO data ask price: 7.700000
- [ 2024-11-06-12-38-25 ] INFO data bid price: 7.640000
- [ 2024-11-06-12-38-32 ] INFO data ask price: 7.700000
- [ 2024-11-06-12-38-32 ] INFO data bid price: 7.640000
- [ 2024-11-06-12-38-38 ] INFO data ask price: 7.700000
- [ 2024-11-06-12-38-38 ] INFO data bid price: 7.690000
- stream == e_stream::ACCOUNT_ORDER
- [ 2024-11-06-12-38-44 ] INFO Execution::_process: WebSocketEvent: delta=1.7309e+11, event_time=1730896692000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140737337059104, "order": {"symbol": "HCDAI", "coid": 8163630517471433714, {"dex_order_id": "906167", "order_id": "1730896681347002", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 7.670000, "quantity": 0.875900, "filled_quantity": 0.000000, "update_time": 1730896692000}}
- [ 2024-11-06-12-38-44 ] MESSAGE: limit
- [ 2024-11-06-12-38-44 ] DEBUG Event order: : {"symbol": "HCDAI", "coid": 8163630517471433714, {"dex_order_id": "906167", "order_id": "1730896681347002", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 7.670000, "quantity": 0.875900, "filled_quantity": 0.000000, "update_time": 1730896692000}
- [ 2024-11-06-12-38-44 ] DEBUG old order: : {"symbol": "HCDAI", "coid": 8163630517471433714, {"dex_order_id": "0", "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PENDING", "price": 7.670000, "quantity": 0.875900, "update_time": 0}
- [ 2024-11-06-12-38-44 ] MESSAGE: (execution) filled quantity is not initialized
- [ 2024-11-06-12-38-44 ] MESSAGE: ! HCDAI
- stream == e_stream::ACCOUNT_ORDER
- [ 2024-11-06-12-38-44 ] INFO Execution::_process: WebSocketEvent: delta=1.7309e+11, event_time=1730896698000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140737337059104, "order": {"symbol": "HCDAI", "coid": 14451579120201194125, {"dex_order_id": "906168", "order_id": "1730896681347002", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 7.670000, "quantity": 0.875900, "filled_quantity": 0.000000, "update_time": 1730896698000}}
- [ 2024-11-06-12-38-44 ] MESSAGE: limit
- [ 2024-11-06-12-38-44 ] DEBUG Event order: : {"symbol": "HCDAI", "coid": 14451579120201194125, {"dex_order_id": "906168", "order_id": "1730896681347002", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 7.670000, "quantity": 0.875900, "filled_quantity": 0.000000, "update_time": 1730896698000}
- [ 2024-11-06-12-38-44 ] DEBUG old order: : {"symbol": "HCDAI", "coid": 14451579120201194125, {"dex_order_id": "0", "order_id": "", "type": "LIMIT", "side": "SELL", "status": "PENDING", "price": 7.670000, "quantity": 0.875900, "update_time": 0}
- [ 2024-11-06-12-38-44 ] MESSAGE: (execution) filled quantity is not initialized
- [ 2024-11-06-12-38-44 ] MESSAGE: ! HCDAI
- stream == e_stream::ACCOUNT_ORDER
- [ 2024-11-06-12-38-44 ] INFO Execution::_process: WebSocketEvent: delta=1.7309e+11, event_time=1730896698000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140737337059104, "order": {"symbol": "HCDAI", "coid": 14451579120201194125, {"dex_order_id": "906168", "order_id": "1730896681347002", "type": "LIMIT", "side": "SELL", "status": "CLOSED", "price": 7.670000, "quantity": 0.875900, "filled_quantity": 0.875900, "update_time": 1730896698000}}
- [ 2024-11-06-12-38-44 ] MESSAGE: limit
- [ 2024-11-06-12-38-44 ] DEBUG Event order: : {"symbol": "HCDAI", "coid": 14451579120201194125, {"dex_order_id": "906168", "order_id": "1730896681347002", "type": "LIMIT", "side": "SELL", "status": "CLOSED", "price": 7.670000, "quantity": 0.875900, "filled_quantity": 0.875900, "update_time": 1730896698000}
- [ 2024-11-06-12-38-44 ] DEBUG old order: : {"symbol": "HCDAI", "coid": 14451579120201194125, {"dex_order_id": "906168", "order_id": "1730896681347002", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 7.670000, "quantity": 0.875900, "filled_quantity": 0.000000, "update_time": 1730896698000}
- $$$ {"symbol": "HCDAI", "price": 7.670000, "quantity": 0.875900, "trade_side": SELL, "trade_time": 1730896698000}
- open_position for order
- [ 2024-11-06-12-38-44 ] INFO Open position: : {"symbol": "HCDAI", "price": 7.670000, "quantity": 0.875900, "trade_side": SELL, "trade_time": 1730896698000}
- [ 2024-11-06-12-38-44 ] INFO new position: {"symbol": "HCDAI", "entry_price": 7.67, "quantity": -0.8759, "position_quote": -6.71815}
- [ 2024-11-06-12-38-44 ] MESSAGE: erase
- [ 2024-11-06-12-38-44 ] MESSAGE: ! HCDAI
- [ 2024-11-06-12-38-45 ] INFO data ask price: 7.700000
- [ 2024-11-06-12-38-45 ] INFO data bid price: 7.690000
- [ 2024-11-06-12-38-51 ] INFO data ask price: 7.680000
- [ 2024-11-06-12-38-51 ] INFO data bid price: 7.670000
- [ 2024-11-06-12-38-58 ] INFO data ask price: 7.680000
- [ 2024-11-06-12-38-58 ] INFO data bid price: 7.670000
- [ 2024-11-06-12-39-03 ] INFO data ask price: 7.700000
- [ 2024-11-06-12-39-03 ] INFO data bid price: 7.670000
- stream == e_stream::ACCOUNT_ORDER
- [ 2024-11-06-12-39-09 ] INFO Execution::_process: WebSocketEvent: delta=1.7309e+11, event_time=1730896692000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140737337059104, "order": {"symbol": "HCDAI", "coid": 8163630517471433714, {"dex_order_id": "906167", "order_id": "1730896681347002", "type": "LIMIT", "side": "BUY", "status": "CLOSED", "price": 7.670000, "quantity": 0.875900, "filled_quantity": 0.875900, "update_time": 1730896692000}}
- [ 2024-11-06-12-39-09 ] MESSAGE: limit
- [ 2024-11-06-12-39-09 ] DEBUG Event order: : {"symbol": "HCDAI", "coid": 8163630517471433714, {"dex_order_id": "906167", "order_id": "1730896681347002", "type": "LIMIT", "side": "BUY", "status": "CLOSED", "price": 7.670000, "quantity": 0.875900, "filled_quantity": 0.875900, "update_time": 1730896692000}
- [ 2024-11-06-12-39-09 ] DEBUG old order: : {"symbol": "HCDAI", "coid": 8163630517471433714, {"dex_order_id": "906167", "order_id": "1730896681347002", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 7.670000, "quantity": 0.875900, "filled_quantity": 0.000000, "update_time": 1730896692000}
- $$$ {"symbol": "HCDAI", "price": 7.670000, "quantity": 0.875900, "trade_side": BUY, "trade_time": 1730896692000}
- open_position for order
- [ 2024-11-06-12-39-09 ] INFO Open position: : {"symbol": "HCDAI", "price": 7.670000, "quantity": 0.875900, "trade_side": BUY, "trade_time": 1730896692000}
- [ 2024-11-06-12-39-09 ] INFO new position: {"symbol": "HCDAI", "entry_price": 0, "quantity": 0, "position_quote": 0}
- [ 2024-11-06-12-39-09 ] MESSAGE: erase
- [ 2024-11-06-12-39-09 ] MESSAGE: ! HCDAI
- [ 2024-11-06-12-39-10 ] INFO data ask price: 7.700000
- [ 2024-11-06-12-39-10 ] INFO data bid price: 7.640000
- [ 2024-11-06-12-39-21 ] INFO data ask price: 7.700000
- [ 2024-11-06-12-39-21 ] INFO data bid price: 7.640000
- [ 2024-11-06-12-39-28 ] INFO data ask price: 7.700000
- [ 2024-11-06-12-39-28 ] INFO data bid price: 7.690000
- [ 2024-11-06-12-39-49 ] INFO data ask price: 7.700000
- [ 2024-11-06-12-39-49 ] INFO data bid price: 7.690000
- [ 2024-11-06-12-39-55 ] INFO data ask price: 7.700000
- [ 2024-11-06-12-39-55 ] INFO data bid price: 7.690000
- [ 2024-11-06-12-40-02 ] INFO data ask price: 7.700000
- [ 2024-11-06-12-40-02 ] INFO data bid price: 7.680000
- [ 2024-11-06-12-40-08 ] INFO data ask price: 7.700000
- [ 2024-11-06-12-40-08 ] INFO data bid price: 7.680000
- [ 2024-11-06-12-40-15 ] INFO data ask price: 7.700000
- [ 2024-11-06-12-40-15 ] INFO data bid price: 7.680000
- [ 2024-11-06-12-40-15 ] MESSAGE: sleep time = 130122
- [ 2024-11-06-12-40-15 ] MESSAGE: ask price 7.700000 bid price: 7.680000
- [ 2024-11-06-12-40-15 ] MESSAGE: current_volume: 7.680853 previous price = 7.666433
- [ 2024-11-06-12-40-15 ] MESSAGE: start calculating new normal distributed price
- [ 2024-11-06-12-40-15 ] MESSAGE: calculate deviated price (new) = 7.668504 current price = 7.666433
- [ 2024-11-06-12-40-15 ] MESSAGE: delta = 0.002071
- [ 2024-11-06-12-40-15 ] MESSAGE: new_price < lower_bound
- [ 2024-11-06-12-40-15 ] MESSAGE: new price after = 7.690000
- [ 2024-11-06-12-40-15 ] MESSAGE: price: 7.690000
- quantity: 0.998811
- [ 2024-11-06-12-40-15 ] INFO portfolio: OrderEvent: delta=1.73076e+11, symbol="HCDAI", type="SELF_TRADE", priority=default
- [ 2024-11-06-12-40-15 ] DEBUG base balance: {"asset": "HC", "free": 64.3973, "locked": 0, "wallet": 0, "update_time": 1730896806561}
- [ 2024-11-06-12-40-15 ] DEBUG quote balance: {"asset": "DAI", "free": 499.821, "locked": 0, "wallet": 0, "update_time": 1730896806561}
- [ 2024-11-06-12-40-15 ] MESSAGE: balances_ratio: 0.990785
- [ 2024-11-06-12-40-15 ] INFO execution order event process: OrderEvent: delta=1.73076e+11, symbol="HCDAI", type="SELF_TRADE", priority=default
- [New Thread 0x7fff8cc00640 (LWP 631679)]
- [ 2024-11-06-12-40-15 ] DEBUG ! new: {"symbol": "HCDAI", "price": 7.690000, "quantity": 0.998800, "client_order_id": 13341833415181474564, "type": "LIMIT", "side": "BUY"}
- ! new api API 0x5555559729b0
- [New Thread 0x7fff8d600640 (LWP 631680)]
- 2024/11/06 12:40:15 extends args: {"timeout": "30000", "priority": "0"}
- 2024/11/06 12:40:15 args: {"quantity": "998800000000000000", "price": "7690000000000000000", "orderType": "0", "isBid": "true"}
- 2024/11/06 12:40:15 start cancelation
- 2024/11/06 12:40:15 finish cancelation
- [ 2024-11-06-12-40-15 ] DEBUG ! new: {"symbol": "HCDAI", "price": 7.690000, "quantity": 0.998800, "client_order_id": 1989887496931069173, "type": "LIMIT", "side": "SELL"}
- ! new api API 0x5555559729b0
- 2024/11/06 12:40:15 extends args: {"timeout": "30000", "priority": "0"}
- 2024/11/06 12:40:15 args: {"quantity": "998800000000000000", "price": "7690000000000000000", "orderType": "0", "isBid": "false"}
- 2024/11/06 12:40:15 start cancelation
- 2024/11/06 12:40:15 finish cancelation
- 2024/11/06 12:40:15 gas price = 68146891656
- 2024/11/06 12:40:15 gas price = 68146891656
- 2024/11/06 12:40:15 TX Hash: 0xb95a27c10134efa5fc41fbb33acfa2b4ddc960fe82976b16ce3efd350741a224 ; Nonce: 25
- 2024/11/06 12:40:15 TX Hash: 0xd7ee87b6a1787ddcd011082f06cea53bb659c5c2425db4c934f1ec498f063a6c ; Nonce: 24
- 2024/11/06 12:40:20 golang tx log: {
- tx = 0xd7ee87b6a1787ddcd011082f06cea53bb659c5c2425db4c934f1ec498f063a6c ok;
- status = 1
- block = 63954858
- usedGas = 470255
- exec_time = 5.639336s
- }
- [ 2024-11-06-12-40-20 ] MESSAGE: new order delta: 5640
- [ 2024-11-06-12-40-20 ] DEBUG ? new: empty order
- [Thread 0x7fff8cc00640 (LWP 631679) exited]
- 2024/11/06 12:40:26 golang tx log: {
- tx = 0xb95a27c10134efa5fc41fbb33acfa2b4ddc960fe82976b16ce3efd350741a224 ok;
- status = 1
- block = 63954861
- usedGas = 442433
- exec_time = 11.689161s
- }
- [ 2024-11-06-12-40-26 ] MESSAGE: new order delta: 11689
- [ 2024-11-06-12-40-26 ] DEBUG ? new: empty order
- [Thread 0x7fff8d600640 (LWP 631680) exited]
- [ 2024-11-06-12-40-27 ] INFO data ask price: 7.700000
- [ 2024-11-06-12-40-27 ] INFO data bid price: 7.640000
- [ 2024-11-06-12-40-33 ] INFO data ask price: 7.690000
- [ 2024-11-06-12-40-33 ] INFO data bid price: 7.640000
- stream == e_stream::ACCOUNT_ORDER
- [ 2024-11-06-12-40-49 ] INFO Execution::_process: WebSocketEvent: delta=1.7309e+11, event_time=1730896820000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140737337059104, "order": {"symbol": "HCDAI", "coid": 13341833415181474564, {"dex_order_id": "906193", "order_id": "1730896681347002", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 7.690000, "quantity": 0.998800, "filled_quantity": 0.000000, "update_time": 1730896820000}}
- [ 2024-11-06-12-40-49 ] MESSAGE: limit
- [ 2024-11-06-12-40-49 ] DEBUG Event order: : {"symbol": "HCDAI", "coid": 13341833415181474564, {"dex_order_id": "906193", "order_id": "1730896681347002", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 7.690000, "quantity": 0.998800, "filled_quantity": 0.000000, "update_time": 1730896820000}
- [ 2024-11-06-12-40-49 ] DEBUG old order: : {"symbol": "HCDAI", "coid": 13341833415181474564, {"dex_order_id": "0", "order_id": "", "type": "LIMIT", "side": "BUY", "status": "PENDING", "price": 7.690000, "quantity": 0.998800, "update_time": 0}
- [ 2024-11-06-12-40-49 ] MESSAGE: (execution) filled quantity is not initialized
- [ 2024-11-06-12-40-49 ] MESSAGE: ! HCDAI
- [ 2024-11-06-12-40-51 ] INFO data ask price: 7.700000
- [ 2024-11-06-12-40-51 ] INFO data bid price: 7.690000
- stream == e_stream::ACCOUNT_ORDER
- [ 2024-11-06-12-40-56 ] INFO Execution::_process: WebSocketEvent: delta=1.7309e+11, event_time=1730896826000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140737337059104, "order": {"symbol": "HCDAI", "coid": 1989887496931069173, {"dex_order_id": "906195", "order_id": "1730896681347002", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 7.690000, "quantity": 0.998800, "filled_quantity": 0.000000, "update_time": 1730896826000}}
- [ 2024-11-06-12-40-56 ] MESSAGE: limit
- [ 2024-11-06-12-40-56 ] DEBUG Event order: : {"symbol": "HCDAI", "coid": 1989887496931069173, {"dex_order_id": "906195", "order_id": "1730896681347002", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 7.690000, "quantity": 0.998800, "filled_quantity": 0.000000, "update_time": 1730896826000}
- [ 2024-11-06-12-40-56 ] DEBUG old order: : {"symbol": "HCDAI", "coid": 1989887496931069173, {"dex_order_id": "0", "order_id": "", "type": "LIMIT", "side": "SELL", "status": "PENDING", "price": 7.690000, "quantity": 0.998800, "update_time": 0}
- [ 2024-11-06-12-40-56 ] MESSAGE: (execution) filled quantity is not initialized
- [ 2024-11-06-12-40-56 ] MESSAGE: ! HCDAI
- stream == e_stream::ACCOUNT_ORDER
- [ 2024-11-06-12-40-56 ] INFO Execution::_process: WebSocketEvent: delta=1.7309e+11, event_time=1730896820000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140737337059104, "order": {"symbol": "HCDAI", "coid": 13341833415181474564, {"dex_order_id": "906193", "order_id": "1730896681347002", "type": "LIMIT", "side": "BUY", "status": "CLOSED", "price": 7.690000, "quantity": 0.998800, "filled_quantity": 0.998800, "update_time": 1730896820000}}
- [ 2024-11-06-12-40-56 ] MESSAGE: limit
- [ 2024-11-06-12-40-56 ] DEBUG Event order: : {"symbol": "HCDAI", "coid": 13341833415181474564, {"dex_order_id": "906193", "order_id": "1730896681347002", "type": "LIMIT", "side": "BUY", "status": "CLOSED", "price": 7.690000, "quantity": 0.998800, "filled_quantity": 0.998800, "update_time": 1730896820000}
- [ 2024-11-06-12-40-56 ] DEBUG old order: : {"symbol": "HCDAI", "coid": 13341833415181474564, {"dex_order_id": "906193", "order_id": "1730896681347002", "type": "LIMIT", "side": "BUY", "status": "NEW", "price": 7.690000, "quantity": 0.998800, "filled_quantity": 0.000000, "update_time": 1730896820000}
- $$$ {"symbol": "HCDAI", "price": 7.690000, "quantity": 0.998800, "trade_side": BUY, "trade_time": 1730896820000}
- open_position for order
- [ 2024-11-06-12-40-56 ] INFO Open position: : {"symbol": "HCDAI", "price": 7.690000, "quantity": 0.998800, "trade_side": BUY, "trade_time": 1730896820000}
- [ 2024-11-06-12-40-56 ] INFO new position: {"symbol": "HCDAI", "entry_price": 7.69, "quantity": 0.9988, "position_quote": 7.68077}
- [ 2024-11-06-12-40-56 ] MESSAGE: erase
- [ 2024-11-06-12-40-56 ] MESSAGE: ! HCDAI
- stream == e_stream::ACCOUNT_ORDER
- [ 2024-11-06-12-40-56 ] INFO Execution::_process: WebSocketEvent: delta=1.7309e+11, event_time=1730896826000", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140737337059104, "order": {"symbol": "HCDAI", "coid": 1989887496931069173, {"dex_order_id": "906195", "order_id": "1730896681347002", "type": "LIMIT", "side": "SELL", "status": "CLOSED", "price": 7.690000, "quantity": 0.998800, "filled_quantity": 0.998800, "update_time": 1730896826000}}
- [ 2024-11-06-12-40-56 ] MESSAGE: limit
- [ 2024-11-06-12-40-56 ] DEBUG Event order: : {"symbol": "HCDAI", "coid": 1989887496931069173, {"dex_order_id": "906195", "order_id": "1730896681347002", "type": "LIMIT", "side": "SELL", "status": "CLOSED", "price": 7.690000, "quantity": 0.998800, "filled_quantity": 0.998800, "update_time": 1730896826000}
- [ 2024-11-06-12-40-56 ] DEBUG old order: : {"symbol": "HCDAI", "coid": 1989887496931069173, {"dex_order_id": "906195", "order_id": "1730896681347002", "type": "LIMIT", "side": "SELL", "status": "NEW", "price": 7.690000, "quantity": 0.998800, "filled_quantity": 0.000000, "update_time": 1730896826000}
- $$$ {"symbol": "HCDAI", "price": 7.690000, "quantity": 0.998800, "trade_side": SELL, "trade_time": 1730896826000}
- open_position for order
- [ 2024-11-06-12-40-56 ] INFO Open position: : {"symbol": "HCDAI", "price": 7.690000, "quantity": 0.998800, "trade_side": SELL, "trade_time": 1730896826000}
- [ 2024-11-06-12-40-56 ] INFO new position: {"symbol": "HCDAI", "entry_price": 0, "quantity": 0, "position_quote": 0}
- [ 2024-11-06-12-40-56 ] MESSAGE: erase
- [ 2024-11-06-12-40-56 ] MESSAGE: ! HCDAI
- [ 2024-11-06-12-40-56 ] INFO data ask price: 7.670000
- [ 2024-11-06-12-40-56 ] INFO data bid price: 7.640000
- [ 2024-11-06-12-41-03 ] INFO data ask price: 7.670000
- [ 2024-11-06-12-41-03 ] INFO data bid price: 7.640000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement