Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_parser: BINANCE_FUTURES
- add_parser: BITMART_SPOT
- add_parser: MEXC_SPOT
- /home/ubuntu/keys/mexc_spot/test_1.account
- shared_parser: MEXC_SPOT
- has: BINANCE_FUTURES
- has: BITMART_SPOT
- has: MEXC_SPOT
- [New Thread 0x7fffe2200640 (LWP 3387562)]
- run forever balance 0x555555679ea0
- {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 480089, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 17.9483, "locked": 0, "update_time": 0}]}
- [New Thread 0x7fffe1e00640 (LWP 3387570)]
- Initializing orderbook
- [New Thread 0x7fffe1400640 (LWP 3387571)]
- {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 480089, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 17.9483, "locked": 0, "update_time": 0}]}
- {"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}
- {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}
- {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}
- {"asset": "MCC", "free": 480089, "locked": 0, "update_time": 0}
- {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}
- {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}
- {"asset": "USDT", "free": 17.9483, "locked": 0, "update_time": 0}
- [New Thread 0x7fffe1000640 (LWP 3387572)]
- {"symbol": "MCCUSDT", "market": "MEXC_SPOT", "account": "TEST_1"}
- {"name": "VANILLA", "separate": "0", "labels": ["50"], "symbols": [{"account": "TEST_1", "market": "MEXC_SPOT", "symbol": "MCCUSDT"}]}
- [New Thread 0x7fffd7e00640 (LWP 3387573)]
- get balance indicator 0x555555679fc8
- {"ok": "1"}
- [ 2025-01-09-08-04-35 ] MESSAGE: starts taker test!
- [ 2025-01-09-08-04-35 ] DEBUG taker test completed: OrderEvent: symbol="MCCUSDT", type="TAKER_SELL", quantity: 55985.3
- [ 2025-01-09-08-04-35 ] INFO execution order event process: OrderEvent: symbol="MCCUSDT", type="TAKER_SELL", quantity: 55985.3
- req.quantity: 55985.34
- new order request["quantity"]: 55985.34
- _account_order_filler feed: {"sym": "MCCUSDT", "cv": "55985.34", "ap": "0.00009824", "i": "C02__505948990827696128049", "lv": "55985.34", "c": "142473898230525", "p": "0.00009074", "o": "5", "S": "2", "a": "0", "ca": "5.4999998016", "V": "0", "m": "0", "A": "0", "v": "55985.34", "s": "2", "O": "1736409875357"}
- v != 0 && V == 0
- feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__505948990827696128049","c":"142473898230525","o":5,"p":"0.00009074","v":"55985.34","S":2,"a":"0","m":0,"A":"0","V":"0","lv":"55985.34","s":2,"O":1736409875357,"ap":"0.00009824","cv":"55985.34","ca":"5.4999998016"},"s":"MCCUSDT","t":1736409875371}
- [ 2025-01-09-08-04-35 ] INFO : WebSocketEvent: , event_time=1736409875371", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 14861391491577155582, "order": {"symbol": "MCCUSDT", "coid": 142473898230525, "order_id": "", "type": "MARKET", "side": "SELL", "status": "FILLED", "price": 0.00009824, "quantity": 55985.34, "filled_quantity": 55985.34, "update_time": 0}}
- feed_process: {"c":"spot@private.account.v3.api","d":{"a":"MCC","c":1736409875360,"cd":"c225025f88e547d486c77d2ed8e568e8","f":"424104.06","fd":"-55985.34","l":"55985.34","ld":"55985.34","o":"ENTRUST_PLACE"},"t":1736409875372}
- $ tlm_MCC
- feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.00009824","v":"55985.34","a":"5.4999998016","S":2,"m":0,"st":0,"t":"505948990827696128X1","c":"142473898230525","i":"C02__505948990827696128049","n":"0.0027499999008","N":"USDT","T":1736409875370},"s":"MCCUSDT","t":1736409875394}
- [ 2025-01-09-08-04-35 ] INFO : WebSocketEvent: , event_time=1736409875394", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 0, "is_maker": false, "is_self_trade": false, "client_order_id": 142473898230525, "commission": {"asset": "USDT", "fee": 0.00275}, "trade": {"symbol": "MCCUSDT", "price": 0.00009824, "quantity": 55985.34, "trade_side": SELL, "trade_time": 1736409875370}}
- feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736409875393,"cd":"128f589271cb4951b03e71e6323eb7be","f":"23.44552059486955","fd":"5.4972498016992","l":"0","ld":"0","o":"ENTRUST"},"t":1736409875398}
- $ tlm_USDT
- feed_process: {"c":"spot@private.account.v3.api","d":{"a":"MCC","c":1736409875393,"cd":"c225025f88e547d486c77d2ed8e568e8","f":"424104.06","fd":"0","l":"0","ld":"-55985.34","o":"ENTRUST"},"t":1736409875398}
- ^C
- Thread 1 "test" received signal SIGINT, Interrupt.
- 0x00007ffff6ce57f8 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0x7fffffffdc40, rem=0x7fffffffdc40) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:78
- 78 ../sysdeps/unix/sysv/linux/clock_nanosleep.c: No such file or directory.
- (gdb) run taker/launch.config
- The program being debugged has been started already.
- Start it from the beginning? (y or n) y
- Starting program: /home/ubuntu/_conn/test_strat/solutions/test/linked_file/test taker/launch.config
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
- [New Thread 0x7ffff6a00640 (LWP 3387685)]
- [New Thread 0x7fffee600640 (LWP 3387686)]
- [New Thread 0x7ffff6600640 (LWP 3387687)]
- [New Thread 0x7ffff6200640 (LWP 3387688)]
- [New Thread 0x7ffff5e00640 (LWP 3387689)]
- [New Thread 0x7ffff5a00640 (LWP 3387690)]
- [New Thread 0x7ffff5600640 (LWP 3387691)]
- [New Thread 0x7ffff5200640 (LWP 3387692)]
- [New Thread 0x7ffff4e00640 (LWP 3387693)]
- [New Thread 0x7ffff4a00640 (LWP 3387694)]
- [New Thread 0x7ffff4600640 (LWP 3387695)]
- [New Thread 0x7fffefe00640 (LWP 3387696)]
- [New Thread 0x7fffefa00640 (LWP 3387697)]
- [New Thread 0x7fffef600640 (LWP 3387698)]
- [New Thread 0x7fffef200640 (LWP 3387699)]
- [New Thread 0x7fffeee00640 (LWP 3387700)]
- [New Thread 0x7fffeea00640 (LWP 3387701)]
- [New Thread 0x7fffee200640 (LWP 3387702)]
- [New Thread 0x7fffede00640 (LWP 3387703)]
- [New Thread 0x7fffeda00640 (LWP 3387704)]
- [New Thread 0x7fffed600640 (LWP 3387705)]
- [New Thread 0x7fffed200640 (LWP 3387706)]
- [New Thread 0x7fffece00640 (LWP 3387707)]
- [New Thread 0x7fffeca00640 (LWP 3387708)]
- [New Thread 0x7fffec600640 (LWP 3387709)]
- [New Thread 0x7fffe7e00640 (LWP 3387710)]
- [New Thread 0x7fffe7a00640 (LWP 3387711)]
- [New Thread 0x7fffe7600640 (LWP 3387712)]
- [New Thread 0x7fffe7200640 (LWP 3387713)]
- [New Thread 0x7fffe6e00640 (LWP 3387714)]
- [New Thread 0x7fffe6a00640 (LWP 3387715)]
- [New Thread 0x7fffe6600640 (LWP 3387716)]
- add_parser: BINANCE_FUTURES
- add_parser: BITMART_SPOT
- add_parser: MEXC_SPOT
- /home/ubuntu/keys/mexc_spot/test_1.account
- shared_parser: MEXC_SPOT
- has: BINANCE_FUTURES
- has: BITMART_SPOT
- has: MEXC_SPOT
- [New Thread 0x7fffe6200640 (LWP 3387717)]
- run forever balance 0x555555679ea0
- {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 424104, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 23.4455, "locked": 0, "update_time": 0}]}
- [New Thread 0x7fffe5e00640 (LWP 3387729)]
- Initializing orderbook
- [New Thread 0x7fffe5400640 (LWP 3387730)]
- [New Thread 0x7fffe5000640 (LWP 3387731)]
- {"symbol": "MCCUSDT", "market": "MEXC_SPOT", "account": "TEST_1"}
- {"name": "VANILLA", "separate": "0", "labels": ["50"], "symbols": [{"account": "TEST_1", "market": "MEXC_SPOT", "symbol": "MCCUSDT"}]}
- {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 424104, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 23.4455, "locked": 0, "update_time": 0}]}
- {"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}
- {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}
- {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}
- {"asset": "MCC", "free": 424104, "locked": 0, "update_time": 0}
- {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}
- {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}
- {"asset": "USDT", "free": 23.4455, "locked": 0, "update_time": 0}
- [New Thread 0x7fffdbe00640 (LWP 3387732)]
- get balance indicator 0x555555679fc8
- {"ok": "1"}
- [ 2025-01-09-08-06-00 ] MESSAGE: starts taker test!
- [ 2025-01-09-08-06-00 ] DEBUG taker test completed: OrderEvent: symbol="MCCUSDT", type="TAKER_SELL", quantity: 101792
- [ 2025-01-09-08-06-00 ] INFO execution order event process: OrderEvent: symbol="MCCUSDT", type="TAKER_SELL", quantity: 101792
- req.quantity: 101791.53
- new order request["quantity"]: 101791.53
- feed_process: {"c":"spot@private.account.v3.api","d":{"a":"MCC","c":1736409960842,"cd":"c225025f88e547d486c77d2ed8e568e8","f":"322312.53","fd":"-101791.53","l":"101791.53","ld":"101791.53","o":"ENTRUST_PLACE"},"t":1736409960849}
- $ tlm_MCC
- _account_order_filler feed: {"sym": "MCCUSDT", "cv": "101791.53", "ap": "0.00009824", "i": "C02__505949349369376768049", "lv": "101791.53", "c": "142473898315651", "p": "0.00008855", "o": "5", "S": "2", "a": "0", "ca": "9.9999999072", "V": "0", "m": "0", "A": "0", "v": "101791.53", "s": "2", "O": "1736409960840"}
- v != 0 && V == 0
- feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__505949349369376768049","c":"142473898315651","o":5,"p":"0.00008855","v":"101791.53","S":2,"a":"0","m":0,"A":"0","V":"0","lv":"101791.53","s":2,"O":1736409960840,"ap":"0.00009824","cv":"101791.53","ca":"9.9999999072"},"s":"MCCUSDT","t":1736409960852}
- [ 2025-01-09-08-06-00 ] INFO : WebSocketEvent: , event_time=1736409960852", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 0, "order": {"symbol": "MCCUSDT", "coid": 142473898315651, "order_id": "", "type": "MARKET", "side": "SELL", "status": "FILLED", "price": 0.00009824, "quantity": 101791.53, "filled_quantity": 101791.53, "update_time": 0}}
- feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.00009824","v":"101791.53","a":"9.9999999072","S":2,"m":0,"st":0,"t":"505949349369376768X1","c":"142473898315651","i":"C02__505949349369376768049","n":"0.0049999999536","N":"USDT","T":1736409960850},"s":"MCCUSDT","t":1736409960868}
- [ 2025-01-09-08-06-00 ] INFO : WebSocketEvent: , event_time=1736409960868", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 0, "is_maker": false, "is_self_trade": false, "client_order_id": 142473898315651, "commission": {"asset": "USDT", "fee": 0.005}, "trade": {"symbol": "MCCUSDT", "price": 0.00009824, "quantity": 101791.53, "trade_side": SELL, "trade_time": 1736409960850}}
- feed_process: {"c":"spot@private.account.v3.api","d":{"a":"MCC","c":1736409960867,"cd":"c225025f88e547d486c77d2ed8e568e8","f":"322312.53","fd":"0","l":"0","ld":"-101791.53","o":"ENTRUST"},"t":1736409960871}
- feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736409960867,"cd":"128f589271cb4951b03e71e6323eb7be","f":"33.44052050211595","fd":"9.9949999072464","l":"0","ld":"0","o":"ENTRUST"},"t":1736409960871}
- $ tlm_USDT
- ^C
- Thread 1 "test" received signal SIGINT, Interrupt.
- 0x00007ffff6ce57f8 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0x7fffffffdc40, rem=0x7fffffffdc40) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:78
- 78 ../sysdeps/unix/sysv/linux/clock_nanosleep.c: No such file or directory.
- (gdb) run taker/launch.config
- The program being debugged has been started already.
- Start it from the beginning? (y or n) y
- Starting program: /home/ubuntu/_conn/test_strat/solutions/test/linked_file/test taker/launch.config
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
- [New Thread 0x7ffff6a00640 (LWP 3387834)]
- [New Thread 0x7fffefe00640 (LWP 3387835)]
- [New Thread 0x7ffff6600640 (LWP 3387836)]
- [New Thread 0x7ffff6200640 (LWP 3387837)]
- [New Thread 0x7ffff5e00640 (LWP 3387838)]
- [New Thread 0x7ffff5a00640 (LWP 3387839)]
- [New Thread 0x7ffff5600640 (LWP 3387840)]
- [New Thread 0x7ffff5200640 (LWP 3387841)]
- [New Thread 0x7ffff4e00640 (LWP 3387842)]
- [New Thread 0x7ffff4a00640 (LWP 3387843)]
- [New Thread 0x7ffff4600640 (LWP 3387844)]
- [New Thread 0x7fffefa00640 (LWP 3387845)]
- [New Thread 0x7fffef600640 (LWP 3387846)]
- [New Thread 0x7fffef200640 (LWP 3387847)]
- [New Thread 0x7fffeee00640 (LWP 3387848)]
- [New Thread 0x7fffeea00640 (LWP 3387849)]
- [New Thread 0x7fffee600640 (LWP 3387850)]
- [New Thread 0x7fffee200640 (LWP 3387851)]
- [New Thread 0x7fffede00640 (LWP 3387852)]
- [New Thread 0x7fffeda00640 (LWP 3387853)]
- [New Thread 0x7fffed600640 (LWP 3387854)]
- [New Thread 0x7fffed200640 (LWP 3387855)]
- [New Thread 0x7fffece00640 (LWP 3387856)]
- [New Thread 0x7fffeca00640 (LWP 3387857)]
- [New Thread 0x7fffec600640 (LWP 3387858)]
- [New Thread 0x7fffe7e00640 (LWP 3387859)]
- [New Thread 0x7fffe7a00640 (LWP 3387860)]
- [New Thread 0x7fffe7600640 (LWP 3387861)]
- [New Thread 0x7fffe7200640 (LWP 3387862)]
- [New Thread 0x7fffe6e00640 (LWP 3387863)]
- [New Thread 0x7fffe6a00640 (LWP 3387864)]
- [New Thread 0x7fffe6600640 (LWP 3387865)]
- add_parser: BINANCE_FUTURES
- add_parser: BITMART_SPOT
- add_parser: MEXC_SPOT
- /home/ubuntu/keys/mexc_spot/test_1.account
- shared_parser: MEXC_SPOT
- has: BINANCE_FUTURES
- has: BITMART_SPOT
- has: MEXC_SPOT
- [New Thread 0x7fffe6200640 (LWP 3387866)]
- run forever balance 0x55555567a0a0
- {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 322313, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 33.4405, "locked": 0, "update_time": 0}]}
- [New Thread 0x7fffe5e00640 (LWP 3387878)]
- Initializing orderbook
- [New Thread 0x7fffe5400640 (LWP 3387879)]
- {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 322313, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 33.4405, "locked": 0, "update_time": 0}]}
- {"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}
- {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}
- {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}
- {"asset": "MCC", "free": 322313, "locked": 0, "update_time": 0}
- {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}
- {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}
- {"asset": "USDT", "free": 33.4405, "locked": 0, "update_time": 0}
- [New Thread 0x7fffe5000640 (LWP 3387880)]
- {"symbol": "MCCUSDT", "market": "MEXC_SPOT", "account": "TEST_1"}
- {"name": "VANILLA", "separate": "0", "labels": ["50"], "symbols": [{"account": "TEST_1", "market": "MEXC_SPOT", "symbol": "MCCUSDT"}]}
- [New Thread 0x7fffdbe00640 (LWP 3387881)]
- get balance indicator 0x55555567a1c8
- {"ok": "1"}
- [ 2025-01-09-08-06-39 ] MESSAGE: starts taker test!
- [ 2025-01-09-08-06-39 ] DEBUG taker test completed: OrderEvent: symbol="MCCUSDT", type="TAKER_BUY", amount: 16
- [ 2025-01-09-08-06-39 ] INFO execution order event process: OrderEvent: symbol="MCCUSDT", type="TAKER_BUY", amount: 16
- req.amount: 16
- feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736409999349,"cd":"128f589271cb4951b03e71e6323eb7be","f":"17.43252050211595","fd":"-16.008","l":"16.008","ld":"16.008","o":"ENTRUST_PLACE"},"t":1736409999373}
- $ tlm_USDT
- _account_order_filler feed: {"sym": "MCCUSDT", "cv": "131416.83", "ap": "0.00010168", "i": "C02__505949510875246592049", "lv": "131416.83", "c": "142473898354190", "p": "0.00010822", "o": "5", "S": "1", "a": "16", "ca": "13.3624632744", "V": "0", "m": "0", "A": "2.6375367256", "v": "0", "s": "3", "O": "1736409999346"}
- v == 0 && V == 0
- feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__505949510875246592049","c":"142473898354190","o":5,"p":"0.00010822","v":"0","S":1,"a":"16","m":0,"A":"2.6375367256","V":"0","lv":"131416.83","s":3,"O":1736409999346,"ap":"0.00010168","cv":"131416.83","ca":"13.3624632744"},"s":"MCCUSDT","t":1736409999372}
- [ 2025-01-09-08-06-39 ] INFO : WebSocketEvent: , event_time=1736409999372", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 6072069823740575852, "order": {"symbol": "MCCUSDT", "coid": 142473898354190, "order_id": "", "type": "MARKET", "side": "BUY", "status": "PARTIALLY_FILLED", "price": 0.00010168, "quantity": 157356.41, "filled_quantity": 131416.83, "update_time": 0}}
- _account_order_filler feed: {"sym": "MCCUSDT", "cv": "156278.14", "ap": "0.000102381559265422", "i": "C02__505949510875246592049", "lv": "24861.31", "c": "142473898354190", "p": "0.00010822", "o": "5", "S": "1", "a": "16", "ca": "15.9999996523", "V": "0", "m": "0", "A": "0.0000003477", "v": "0", "s": "2", "O": "1736409999346"}
- v == 0 && V == 0
- feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__505949510875246592049","c":"142473898354190","o":5,"p":"0.00010822","v":"0","S":1,"a":"16","m":0,"A":"0.0000003477","V":"0","lv":"24861.31","s":2,"O":1736409999346,"ap":"0.000102381559265422","cv":"156278.14","ca":"15.9999996523"},"s":"MCCUSDT","t":1736409999372}
- [ 2025-01-09-08-06-39 ] INFO : WebSocketEvent: , event_time=1736409999372", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 35, "order": {"symbol": "MCCUSDT", "coid": 142473898354190, "order_id": "", "type": "MARKET", "side": "BUY", "status": "FILLED", "price": 0.00010238, "quantity": 156278.14, "filled_quantity": 24861.31, "update_time": 0}}
- feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.00010168","v":"131416.83","a":"13.3624632744","S":1,"m":0,"st":0,"t":"505949510875246592X1","c":"142473898354190","i":"C02__505949510875246592049","n":"0.0066812316372","N":"USDT","T":1736409999371},"s":"MCCUSDT","t":1736409999396}
- [ 2025-01-09-08-06-39 ] INFO : WebSocketEvent: , event_time=1736409999396", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 0, "is_maker": false, "is_self_trade": false, "client_order_id": 142473898354190, "commission": {"asset": "USDT", "fee": 0.00668123}, "trade": {"symbol": "MCCUSDT", "price": 0.00010168, "quantity": 131416.83, "trade_side": BUY, "trade_time": 1736409999371}}
- feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736409999394,"cd":"128f589271cb4951b03e71e6323eb7be","f":"17.43252050211595","fd":"0","l":"2.6388554939628","ld":"-13.3691445060372","o":"ENTRUST"},"t":1736409999399}
- feed_process: {"c":"spot@private.account.v3.api","d":{"a":"MCC","c":1736409999394,"cd":"c225025f88e547d486c77d2ed8e568e8","f":"478590.67","fd":"131416.83","l":"0","ld":"0","o":"ENTRUST"},"t":1736409999399}
- $ tlm_MCC
- feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.00010609","v":"24861.31","a":"2.6375363779","S":1,"m":0,"st":0,"t":"505949510875246592X2","c":"142473898354190","i":"C02__505949510875246592049","n":"0.00131876818895","N":"USDT","T":1736409999371},"s":"MCCUSDT","t":1736409999407}
- [ 2025-01-09-08-06-39 ] INFO : WebSocketEvent: , event_time=1736409999407", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 18932823032135788, "is_maker": false, "is_self_trade": false, "client_order_id": 142473898354190, "commission": {"asset": "USDT", "fee": 0.00131877}, "trade": {"symbol": "MCCUSDT", "price": 0.00010609, "quantity": 24861.31, "trade_side": BUY, "trade_time": 1736409999371}}
- feed_process: {"c":"spot@private.account.v3.api","d":{"a":"MCC","c":1736409999406,"cd":"c225025f88e547d486c77d2ed8e568e8","f":"503451.98","fd":"24861.31","l":"0","ld":"0","o":"ENTRUST"},"t":1736409999409}
- feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736409999406,"cd":"128f589271cb4951b03e71e6323eb7be","f":"17.4325208499898","fd":"0.00000034787385","l":"0","ld":"-2.6388554939628","o":"ENTRUST"},"t":1736409999409}
- [Thread 0x7fffe6600640 (LWP 3387865) exited]
- [Thread 0x7fffe5400640 (LWP 3387879) exited]
- ^C
- Thread 1 "test" received signal SIGINT, Interrupt.
- 0x00007ffff6ce57f8 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0x7fffffffdc40, rem=0x7fffffffdc40) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:78
- 78 ../sysdeps/unix/sysv/linux/clock_nanosleep.c: No such file or directory.
- (gdb) run taker/launch.config
- The program being debugged has been started already.
- Start it from the beginning? (y or n) y
- Starting program: /home/ubuntu/_conn/test_strat/solutions/test/linked_file/test taker/launch.config
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
- [New Thread 0x7ffff6a00640 (LWP 3388015)]
- [New Thread 0x7fffefe00640 (LWP 3388016)]
- [New Thread 0x7ffff6600640 (LWP 3388017)]
- [New Thread 0x7ffff6200640 (LWP 3388018)]
- [New Thread 0x7ffff5e00640 (LWP 3388019)]
- [New Thread 0x7ffff5a00640 (LWP 3388020)]
- [New Thread 0x7ffff5600640 (LWP 3388021)]
- [New Thread 0x7ffff5200640 (LWP 3388022)]
- [New Thread 0x7ffff4e00640 (LWP 3388023)]
- [New Thread 0x7ffff4a00640 (LWP 3388024)]
- [New Thread 0x7ffff4600640 (LWP 3388025)]
- [New Thread 0x7fffefa00640 (LWP 3388026)]
- [New Thread 0x7fffef600640 (LWP 3388027)]
- [New Thread 0x7fffef200640 (LWP 3388028)]
- [New Thread 0x7fffeee00640 (LWP 3388029)]
- [New Thread 0x7fffeea00640 (LWP 3388030)]
- [New Thread 0x7fffee600640 (LWP 3388031)]
- [New Thread 0x7fffee200640 (LWP 3388032)]
- [New Thread 0x7fffede00640 (LWP 3388033)]
- [New Thread 0x7fffeda00640 (LWP 3388034)]
- [New Thread 0x7fffed600640 (LWP 3388035)]
- [New Thread 0x7fffed200640 (LWP 3388036)]
- [New Thread 0x7fffece00640 (LWP 3388037)]
- [New Thread 0x7fffeca00640 (LWP 3388038)]
- [New Thread 0x7fffec600640 (LWP 3388039)]
- [New Thread 0x7fffe7e00640 (LWP 3388040)]
- [New Thread 0x7fffe7a00640 (LWP 3388041)]
- [New Thread 0x7fffe7600640 (LWP 3388042)]
- [New Thread 0x7fffe7200640 (LWP 3388043)]
- [New Thread 0x7fffe6e00640 (LWP 3388044)]
- [New Thread 0x7fffe6a00640 (LWP 3388045)]
- [New Thread 0x7fffe6600640 (LWP 3388046)]
- add_parser: BINANCE_FUTURES
- add_parser: BITMART_SPOT
- add_parser: MEXC_SPOT
- /home/ubuntu/keys/mexc_spot/test_1.account
- shared_parser: MEXC_SPOT
- has: BINANCE_FUTURES
- has: BITMART_SPOT
- has: MEXC_SPOT
- [New Thread 0x7fffe6200640 (LWP 3388047)]
- run forever balance 0x55555567a0a0
- {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 478591, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 17.4325, "locked": 0, "update_time": 0}]}
- [New Thread 0x7fffe5e00640 (LWP 3388059)]
- Initializing orderbook
- [New Thread 0x7fffe5400640 (LWP 3388060)]
- {"type": "SPOT", "maker_commission": 0, "taker_commission": 0, "balances": [{"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}, {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}, {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}, {"asset": "MCC", "free": 478591, "locked": 0, "update_time": 0}, {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}, {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}, {"asset": "USDT", "free": 17.4325, "locked": 0, "update_time": 0}]}
- {"asset": "PNK", "free": 0.02, "locked": 0, "update_time": 0}
- {"asset": "ORDITT", "free": 288.29, "locked": 0, "update_time": 0}
- {"asset": "LAI", "free": 4250.31, "locked": 0, "update_time": 0}
- {"asset": "MCC", "free": 478591, "locked": 0, "update_time": 0}
- {"asset": "LOTT", "free": 15681, "locked": 0, "update_time": 0}
- {"asset": "ABDS", "free": 110, "locked": 0, "update_time": 0}
- {"asset": "USDT", "free": 17.4325, "locked": 0, "update_time": 0}
- [New Thread 0x7fffe5000640 (LWP 3388061)]
- {"symbol": "MCCUSDT", "market": "MEXC_SPOT", "account": "TEST_1"}
- {"name": "VANILLA", "separate": "0", "labels": ["50"], "symbols": [{"account": "TEST_1", "market": "MEXC_SPOT", "symbol": "MCCUSDT"}]}
- [New Thread 0x7fffdbe00640 (LWP 3388062)]
- get balance indicator 0x55555567a1c8
- {"ok": "1"}
- [ 2025-01-09-08-07-11 ] MESSAGE: starts taker test!
- [ 2025-01-09-08-07-11 ] DEBUG taker test completed: OrderEvent: symbol="MCCUSDT", type="TAKER_SELL", quantity: 180270
- [ 2025-01-09-08-07-11 ] INFO execution order event process: OrderEvent: symbol="MCCUSDT", type="TAKER_SELL", quantity: 180270
- req.quantity: 180270.41
- new order request["quantity"]: 180270.41
- feed_process: {"c":"spot@private.account.v3.api","d":{"a":"MCC","c":1736410031350,"cd":"c225025f88e547d486c77d2ed8e568e8","f":"323181.57","fd":"-180270.41","l":"180270.41","ld":"180270.41","o":"ENTRUST_PLACE"},"t":1736410031379}
- $ tlm_MCC
- _account_order_filler feed: {"sym": "MCCUSDT", "cv": "150210.29", "ap": "0.00009986", "i": "C02__505949645101375488049", "lv": "150210.29", "c": "142473898386447", "p": "0.00009548", "o": "5", "S": "2", "a": "0", "ca": "14.9999995594", "V": "30060.12", "m": "0", "A": "0", "v": "180270.41", "s": "3", "O": "1736410031348"}
- v != 0 && V != 0
- feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__505949645101375488049","c":"142473898386447","o":5,"p":"0.00009548","v":"180270.41","S":2,"a":"0","m":0,"A":"0","V":"30060.12","lv":"150210.29","s":3,"O":1736410031348,"ap":"0.00009986","cv":"150210.29","ca":"14.9999995594"},"s":"MCCUSDT","t":1736410031390}
- [ 2025-01-09-08-07-11 ] INFO : WebSocketEvent: , event_time=1736410031390", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 1471800080420291606, "order": {"symbol": "MCCUSDT", "coid": 142473898386447, "order_id": "", "type": "MARKET", "side": "SELL", "status": "PARTIALLY_FILLED", "price": 0.00009986, "quantity": 180270.41, "filled_quantity": 150210.29, "update_time": 0}}
- _account_order_filler feed: {"sym": "MCCUSDT", "cv": "180270.41", "ap": "0.000099858332498383", "i": "C02__505949645101375488049", "lv": "30060.12", "c": "142473898386447", "p": "0.00009548", "o": "5", "S": "2", "a": "0", "ca": "18.0015025414", "V": "0", "m": "0", "A": "0", "v": "180270.41", "s": "2", "O": "1736410031348"}
- v != 0 && V == 0
- feed_process: {"c":"spot@private.orders.v3.api","d":{"i":"C02__505949645101375488049","c":"142473898386447","o":5,"p":"0.00009548","v":"180270.41","S":2,"a":"0","m":0,"A":"0","V":"0","lv":"30060.12","s":2,"O":1736410031348,"ap":"0.000099858332498383","cv":"180270.41","ca":"18.0015025414"},"s":"MCCUSDT","t":1736410031390}
- [ 2025-01-09-08-07-11 ] INFO : WebSocketEvent: , event_time=1736410031390", type="ACCOUNT_ORDER", event: {"stream": ACCOUNT_ORDER, "event_time": 140737331063456, "order": {"symbol": "MCCUSDT", "coid": 142473898386447, "order_id": "", "type": "MARKET", "side": "SELL", "status": "FILLED", "price": 0.00009986, "quantity": 180270.41, "filled_quantity": 30060.12, "update_time": 0}}
- feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.00009986","v":"150210.29","a":"14.9999995594","S":2,"m":0,"st":0,"t":"505949645101375488X1","c":"142473898386447","i":"C02__505949645101375488049","n":"0.0074999997797","N":"USDT","T":1736410031381},"s":"MCCUSDT","t":1736410031427}
- [ 2025-01-09-08-07-11 ] INFO : WebSocketEvent: , event_time=1736410031427", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 0, "is_maker": false, "is_self_trade": false, "client_order_id": 142473898386447, "commission": {"asset": "USDT", "fee": 0.0075}, "trade": {"symbol": "MCCUSDT", "price": 0.00009986, "quantity": 150210.29, "trade_side": SELL, "trade_time": 1736410031381}}
- feed_process: {"c":"spot@private.deals.v3.api","d":{"p":"0.00009985","v":"30060.12","a":"3.001502982","S":2,"m":0,"st":0,"t":"505949645101375488X2","c":"142473898386447","i":"C02__505949645101375488049","n":"0.001500751491","N":"USDT","T":1736410031381},"s":"MCCUSDT","t":1736410031427}
- [ 2025-01-09-08-07-11 ] INFO : WebSocketEvent: , event_time=1736410031427", type="ACCOUNT_TRADE", event: {"stream": ACCOUNT_TRADE, "event_time": 1471800080420291606, "is_maker": false, "is_self_trade": false, "client_order_id": 142473898386447, "commission": {"asset": "USDT", "fee": 0.00150075}, "trade": {"symbol": "MCCUSDT", "price": 0.00009985, "quantity": 30060.12, "trade_side": SELL, "trade_time": 1736410031381}}
- feed_process: {"c":"spot@private.account.v3.api","d":{"a":"MCC","c":1736410031424,"cd":"c225025f88e547d486c77d2ed8e568e8","f":"323181.57","fd":"0","l":"0","ld":"-180270.41","o":"ENTRUST"},"t":1736410031428}
- feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736410031424,"cd":"128f589271cb4951b03e71e6323eb7be","f":"38.4250248706281","fd":"17.9925017901293","l":"0","ld":"0","o":"ENTRUST"},"t":1736410031428}
- $ tlm_USDT
- feed_process: {"c":"spot@private.account.v3.api","d":{"a":"USDT","c":1736410031424,"cd":"128f589271cb4951b03e71e6323eb7be","f":"35.4250226401191","fd":"17.9925017901293","l":"0","ld":"0","o":"ENTRUST"},"t":1736410031428}
- ^C
- Thread 1 "test" received signal SIGINT, Interrupt.
- 0x00007ffff6ce57f8 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0x7fffffffdc40, rem=0x7fffffffdc40) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:78
- 78 ../sysdeps/unix/sysv/linux/clock_nanosleep.c: No such file or directory.
- (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement