Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {"ok": "1"}
- feed preprocess: {"id":0,"code":0,"msg":"spot@private.deals.v3.api,spot@public.bookTicker.v3.api@LOTTUSDT,spot@private.orders.v3.api,spot@private.account.v3.api"}
- config.zero_quote - quote_balance: 62.6531
- base_balance - config.zero_base: 3006.95
- ask_bound: 0.0208361
- bid_bound: 0.0082255
- quote_position: 62.6531
- config.offset_quote - quote_balance: 14.974
- BUY usage coeff = 0.0017358
- base_position: 0
- config.offset_base - base_balance: -3074.95
- SELL usage coeff = 1
- [New Thread 0x7fffdbe00640 (LWP 2120706)]
- [New Thread 0x7fffdaa00640 (LWP 2120707)]
- Market: MEXC_SPOT
- feed preprocess: {"c":"spot@private.orders.v3.api","d":{"i":"C02__498067582671237120049","c":"142472019153486","o":2,"p":"0.020836","v":"1000","S":2,"a":"20.836","m":0,"A":"20.836","V":"1000","s":1,"O":1734530801223,"ap":"0","cv":"0","ca":"0"},"s":"LOTTUSDT","t":1734530801237}
- mira::to_c_string(e_order_type): unknown type: type
- Thread 30 "tokio-runtime-w" received signal SIGABRT, Aborted.
- [Switching to Thread 0x7fffe7200640 (LWP 2120678)]
- __pthread_kill_implementation (no_tid=0, signo=6, threadid=140737071023680) at ./nptl/pthread_kill.c:44
- 44 ./nptl/pthread_kill.c: No such file or directory.
- (gdb) bt
- #0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=140737071023680) at ./nptl/pthread_kill.c:44
- #1 __pthread_kill_internal (signo=6, threadid=140737071023680) at ./nptl/pthread_kill.c:78
- #2 __GI___pthread_kill (threadid=140737071023680, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
- #3 0x00007ffff6c42476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
- #4 0x00007ffff6c287f3 in __GI_abort () at ./stdlib/abort.c:79
- #5 0x00007ffff74d745b in mira::to_c_string (type=<optimized out>)
- at /home/ubuntu/_conn/test_strat/solutions/test/../../../connector_debug/parsing/parsing.hpp:81
- #6 mira::Portfolio::_log_order (this=0x555555627a40, symbol=<optimized out>, event=...)
- at /home/ubuntu/_conn/connector_debug/portfolio/src/portfolio.cpp:87
- #7 0x00007ffff74d83e3 in mira::Portfolio::_update_stats (this=0x555555627a40, event=...)
- at /home/ubuntu/_conn/connector_debug/portfolio/src/portfolio.cpp:212
- #8 0x00007ffff74ddd60 in non-virtual thunk to mira::Portfolio::_process(mira::fill_event const&) ()
- at /home/ubuntu/_conn/test_strat/solutions/test/../../../connector_debug/portfolio/portfolio.hpp:111
- #9 0x00007ffff74d8f8a in mira::advanced_handler<mira::fill_event const&, mira::order_event&&, true>::handle (this=0x555555627a70,
- event=...) at /home/ubuntu/_conn/test_strat/solutions/test/../../../connector_debug/parsing/handler.hpp:66
- #10 0x00007ffff7491b1b in mira::callback_storage<mira::fill_event const&>::propagate (event=..., this=<optimized out>)
- at /home/ubuntu/_conn/test_strat/solutions/test/../../../connector_debug/parsing/handler.hpp:45
- #11 mira::Execution::_process (this=<optimized out>, event=...)
- at /home/ubuntu/_conn/connector_debug/execution/src/execution.cpp:216
- #12 0x00007ffff74ad802 in operator() (str=<optimized out>, __closure=0x555555627d58)
- at /home/ubuntu/_conn/connector_debug/parsing/src/api.cpp:80
- #13 std::__invoke_impl<void, mira::basic_api::start_streams()::<lambda(char const*)>&, char const*> (__f=...)
- at /usr/include/c++/13/bits/invoke.h:61
- #14 std::__invoke_r<void, mira::basic_api::start_streams()::<lambda(char const*)>&, char const*> (__fn=...)
- --Type <RET> for more, q to quit, c to continue without paging--
- ts/invoke.h:111
- #15 std::_Function_handler<void(char const*), mira::basic_api::start_streams()::<lambda(char const*)> >::_M_invoke(const std::_Any_data &, const char *&&) (__functor=..., __args#0=<optimized out>) at /usr/include/c++/13/bits/std_function.h:290
- #16 0x000055555556cfb1 in std::function<void (char const*)>::operator()(char const*) const (__args#0=<optimized out>,
- this=<optimized out>) at /usr/include/c++/13/bits/std_function.h:591
- #17 operator() (__closure=<optimized out>, res=<optimized out>)
- at /home/ubuntu/_conn/test_strat/solutions/test/linked_file/soft/parsing/mexc_spot/src/api.cpp:668
- #18 std::__invoke_impl<void, mira::mexc_spot_api::_run_ws()::<lambda(char const*)>&, char const*> (__f=...)
- at /usr/include/c++/13/bits/invoke.h:61
- #19 std::__invoke_r<void, mira::mexc_spot_api::_run_ws()::<lambda(char const*)>&, char const*> (__fn=...)
- at /usr/include/c++/13/bits/invoke.h:111
- #20 std::_Function_handler<void(char const*), mira::mexc_spot_api::_run_ws()::<lambda(char const*)> >::_M_invoke(const std::_Any_data &, const char *&&) (__functor=..., __args#0=<optimized out>) at /usr/include/c++/13/bits/std_function.h:290
- #21 0x00007ffff74b394e in std::function<void (char const*)>::operator()(char const*) const (__args#0=<optimized out>,
- this=<optimized out>) at /usr/include/c++/13/bits/std_function.h:591
- #22 operator() (__closure=0x0,
- res=0x7ffff002d280 "{\"c\":\"spot@private.orders.v3.api\",\"d\":{\"i\":\"C02__498067582671237120049\",\"c\":\"142472019153486\",\"o\":2,\"p\":\"0.020836\",\"v\":\"1000\",\"S\":2,\"a\":\"20.836\",\"m\":0,\"A\":\"20.836\",\"V\":\"1000\",\"s\":1,\"O\":1734530801223,\""..., cb=<optimized out>) at /home/ubuntu/_conn/connector_debug/parsing/src/core.cpp:164
- #23 _FUN () at /home/ubuntu/_conn/connector_debug/parsing/src/core.cpp:176
- #24 0x00007ffff75680b5 in rustcore::ffi::ffi_ws_start::{{closure}} ()
- from /home/ubuntu/_conn/test_strat/solutions/test/build/libtest.so
- #25 0x00007ffff753ddec in tokio::runtime::task::raw::poll () from /home/ubuntu/_conn/test_strat/solutions/test/build/libtest.so
- #26 0x00007ffff770f5e1 in tokio::runtime::scheduler::multi_thread::worker::Context::run_task ()
- from /home/ubuntu/_conn/test_strat/solutions/test/build/libtest.so
- #27 0x00007ffff770d198 in tokio::runtime::scheduler::multi_thread::worker::run ()
- from /home/ubuntu/_conn/test_strat/solutions/test/build/libtest.so
- #28 0x00007ffff7720712 in tokio::runtime::task::raw::poll () from /home/ubuntu/_conn/test_strat/solutions/test/build/libtest.so
- #29 0x00007ffff7701703 in std::sys_common::backtrace::__rust_begin_short_backtrace ()
- from /home/ubuntu/_conn/test_strat/solutions/test/build/libtest.so
- #30 0x00007ffff770142f in core::ops::function::FnOnce::call_once{{vtable.shim}} ()
- from /home/ubuntu/_conn/test_strat/solutions/test/build/libtest.so
- #31 0x00007ffff76c9fc6 in alloc::boxed::{impl#47}::call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> (self=..., args=<optimized out>) at library/alloc/src/boxed.rs:2007
- #32 alloc::boxed::{impl#47}::call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global> (self=0x5555556026d0, args=<optimized out>) at library/alloc/src/boxed.rs:2007
- #33 std::sys::unix::thread::{impl#2}::new::thread_start (main=0x5555556026d0) at library/std/src/sys/unix/thread.rs:108
- #34 0x00007ffff6c94ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
- #35 0x00007ffff6d26850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
- (gdb)
- (gdb)
- (gdb)
- (gdb)
- (gdb)
- (gdb) frame 6
- #6 mira::Portfolio::_log_order (this=0x555555627a40, symbol=<optimized out>, event=...)
- at /home/ubuntu/_conn/connector_debug/portfolio/src/portfolio.cpp:87
- 87 ptr += sprintf(res + ptr, ",\"t\":\"%c\"", static_cast<char>(std::tolower(to_c_string(event.order->type)[0])));
- (gdb) p event
- $1 = <optimized out>
- (gdb) q
- A debugging session is active.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement