Advertisement
den4ik2003

Untitled

Dec 18th, 2024
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.33 KB | None | 0 0
  1. {"ok": "1"}
  2. 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"}
  3. config.zero_quote - quote_balance: 62.6531
  4. base_balance - config.zero_base: 3006.95
  5. ask_bound: 0.0208361
  6. bid_bound: 0.0082255
  7. quote_position: 62.6531
  8. config.offset_quote - quote_balance: 14.974
  9. BUY usage coeff = 0.0017358
  10. base_position: 0
  11. config.offset_base - base_balance: -3074.95
  12. SELL usage coeff = 1
  13. [New Thread 0x7fffdbe00640 (LWP 2120706)]
  14. [New Thread 0x7fffdaa00640 (LWP 2120707)]
  15. Market: MEXC_SPOT
  16. 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}
  17. mira::to_c_string(e_order_type): unknown type: type
  18.  
  19. Thread 30 "tokio-runtime-w" received signal SIGABRT, Aborted.
  20. [Switching to Thread 0x7fffe7200640 (LWP 2120678)]
  21. __pthread_kill_implementation (no_tid=0, signo=6, threadid=140737071023680) at ./nptl/pthread_kill.c:44
  22. 44 ./nptl/pthread_kill.c: No such file or directory.
  23. (gdb) bt
  24. #0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=140737071023680) at ./nptl/pthread_kill.c:44
  25. #1 __pthread_kill_internal (signo=6, threadid=140737071023680) at ./nptl/pthread_kill.c:78
  26. #2 __GI___pthread_kill (threadid=140737071023680, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
  27. #3 0x00007ffff6c42476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
  28. #4 0x00007ffff6c287f3 in __GI_abort () at ./stdlib/abort.c:79
  29. #5 0x00007ffff74d745b in mira::to_c_string (type=<optimized out>)
  30. at /home/ubuntu/_conn/test_strat/solutions/test/../../../connector_debug/parsing/parsing.hpp:81
  31. #6 mira::Portfolio::_log_order (this=0x555555627a40, symbol=<optimized out>, event=...)
  32. at /home/ubuntu/_conn/connector_debug/portfolio/src/portfolio.cpp:87
  33. #7 0x00007ffff74d83e3 in mira::Portfolio::_update_stats (this=0x555555627a40, event=...)
  34. at /home/ubuntu/_conn/connector_debug/portfolio/src/portfolio.cpp:212
  35. #8 0x00007ffff74ddd60 in non-virtual thunk to mira::Portfolio::_process(mira::fill_event const&) ()
  36. at /home/ubuntu/_conn/test_strat/solutions/test/../../../connector_debug/portfolio/portfolio.hpp:111
  37. #9 0x00007ffff74d8f8a in mira::advanced_handler<mira::fill_event const&, mira::order_event&&, true>::handle (this=0x555555627a70,
  38. event=...) at /home/ubuntu/_conn/test_strat/solutions/test/../../../connector_debug/parsing/handler.hpp:66
  39. #10 0x00007ffff7491b1b in mira::callback_storage<mira::fill_event const&>::propagate (event=..., this=<optimized out>)
  40. at /home/ubuntu/_conn/test_strat/solutions/test/../../../connector_debug/parsing/handler.hpp:45
  41. #11 mira::Execution::_process (this=<optimized out>, event=...)
  42. at /home/ubuntu/_conn/connector_debug/execution/src/execution.cpp:216
  43. #12 0x00007ffff74ad802 in operator() (str=<optimized out>, __closure=0x555555627d58)
  44. at /home/ubuntu/_conn/connector_debug/parsing/src/api.cpp:80
  45. #13 std::__invoke_impl<void, mira::basic_api::start_streams()::<lambda(char const*)>&, char const*> (__f=...)
  46. at /usr/include/c++/13/bits/invoke.h:61
  47. #14 std::__invoke_r<void, mira::basic_api::start_streams()::<lambda(char const*)>&, char const*> (__fn=...)
  48. --Type <RET> for more, q to quit, c to continue without paging--
  49. ts/invoke.h:111
  50. #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
  51. #16 0x000055555556cfb1 in std::function<void (char const*)>::operator()(char const*) const (__args#0=<optimized out>,
  52. this=<optimized out>) at /usr/include/c++/13/bits/std_function.h:591
  53. #17 operator() (__closure=<optimized out>, res=<optimized out>)
  54. at /home/ubuntu/_conn/test_strat/solutions/test/linked_file/soft/parsing/mexc_spot/src/api.cpp:668
  55. #18 std::__invoke_impl<void, mira::mexc_spot_api::_run_ws()::<lambda(char const*)>&, char const*> (__f=...)
  56. at /usr/include/c++/13/bits/invoke.h:61
  57. #19 std::__invoke_r<void, mira::mexc_spot_api::_run_ws()::<lambda(char const*)>&, char const*> (__fn=...)
  58. at /usr/include/c++/13/bits/invoke.h:111
  59. #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
  60. #21 0x00007ffff74b394e in std::function<void (char const*)>::operator()(char const*) const (__args#0=<optimized out>,
  61. this=<optimized out>) at /usr/include/c++/13/bits/std_function.h:591
  62. #22 operator() (__closure=0x0,
  63. 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
  64. #23 _FUN () at /home/ubuntu/_conn/connector_debug/parsing/src/core.cpp:176
  65. #24 0x00007ffff75680b5 in rustcore::ffi::ffi_ws_start::{{closure}} ()
  66. from /home/ubuntu/_conn/test_strat/solutions/test/build/libtest.so
  67. #25 0x00007ffff753ddec in tokio::runtime::task::raw::poll () from /home/ubuntu/_conn/test_strat/solutions/test/build/libtest.so
  68. #26 0x00007ffff770f5e1 in tokio::runtime::scheduler::multi_thread::worker::Context::run_task ()
  69. from /home/ubuntu/_conn/test_strat/solutions/test/build/libtest.so
  70. #27 0x00007ffff770d198 in tokio::runtime::scheduler::multi_thread::worker::run ()
  71. from /home/ubuntu/_conn/test_strat/solutions/test/build/libtest.so
  72. #28 0x00007ffff7720712 in tokio::runtime::task::raw::poll () from /home/ubuntu/_conn/test_strat/solutions/test/build/libtest.so
  73. #29 0x00007ffff7701703 in std::sys_common::backtrace::__rust_begin_short_backtrace ()
  74. from /home/ubuntu/_conn/test_strat/solutions/test/build/libtest.so
  75.  
  76.  
  77.  
  78.  
  79. #30 0x00007ffff770142f in core::ops::function::FnOnce::call_once{{vtable.shim}} ()
  80. from /home/ubuntu/_conn/test_strat/solutions/test/build/libtest.so
  81. #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
  82. #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
  83. #33 std::sys::unix::thread::{impl#2}::new::thread_start (main=0x5555556026d0) at library/std/src/sys/unix/thread.rs:108
  84. #34 0x00007ffff6c94ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
  85. #35 0x00007ffff6d26850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
  86. (gdb)
  87. (gdb)
  88. (gdb)
  89. (gdb)
  90. (gdb)
  91. (gdb) frame 6
  92. #6 mira::Portfolio::_log_order (this=0x555555627a40, symbol=<optimized out>, event=...)
  93. at /home/ubuntu/_conn/connector_debug/portfolio/src/portfolio.cpp:87
  94. 87 ptr += sprintf(res + ptr, ",\"t\":\"%c\"", static_cast<char>(std::tolower(to_c_string(event.order->type)[0])));
  95. (gdb) p event
  96. $1 = <optimized out>
  97. (gdb) q
  98. A debugging session is active.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement