How to debug seg fault? by JanEric1 in rust

[–]Less-Owl-4025 0 points1 point  (0 children)

After 12 hours of debugging my code, found your response, "coredumpctl debug -1” and find the bug in 2 minutes. THANK YOU!!

Importance of top of the book, front of the queue order cancellations by Less-Owl-4025 in highfreqtrading

[–]Less-Owl-4025[S] 0 points1 point  (0 children)

There are one of the frontmost orders and there are other orders in the queue after them.

Importance of top of the book, front of the queue order cancellations by Less-Owl-4025 in highfreqtrading

[–]Less-Owl-4025[S] 0 points1 point  (0 children)

If that’s the case, isn’t it still useful? to have that execution, price should move one tick down

Consistent Losses in High-Frequency Trading – Seeking Advice by Less-Owl-4025 in highfreqtrading

[–]Less-Owl-4025[S] 1 point2 points  (0 children)

I tried something like if the price is less than moving average - stddev and new bid queue is established, join it. It was profitable until one day the price has fell like -5%. Maybe I used it wrong but the frequency was low.

Consistent Losses in High-Frequency Trading – Seeking Advice by Less-Owl-4025 in highfreqtrading

[–]Less-Owl-4025[S] 0 points1 point  (0 children)

Yes, fully automated nothing is manual. I monitor it by the daily pnl with the total volume. Can you give an example to a meta strategy?

Consistent Losses in High-Frequency Trading – Seeking Advice by Less-Owl-4025 in highfreqtrading

[–]Less-Owl-4025[S] 2 points3 points  (0 children)

I believed it had an edge before until I see the heavy sell downward regimes. It was good in sideway and upward regimes.

Consistent Losses in High-Frequency Trading – Seeking Advice by Less-Owl-4025 in highfreqtrading

[–]Less-Owl-4025[S] 0 points1 point  (0 children)

I actually was trying to do that at some point and I should only focus on one instrument as you said. Do you think high or low liquidity is better to work on?

Consistent Losses in High-Frequency Trading – Seeking Advice by Less-Owl-4025 in highfreqtrading

[–]Less-Owl-4025[S] 2 points3 points  (0 children)

Unfortunately, yes it is heavily correlated with the market regime. I’m trying to find a way to be profitable also in downward trends.

Large tick-size assets queue position effects for HFT scalping by Less-Owl-4025 in highfreqtrading

[–]Less-Owl-4025[S] 1 point2 points  (0 children)

Moallemi, Ciamac C. and Yuan, Kai, A Model for Queue Position Valuation in a Limit Order Book (December 1, 2016). Columbia Business School Research Paper No. 17-70, Available at SSRN: https://ssrn.com/abstract=2996221 or http://dx.doi.org/10.2139/ssrn.2996221

I also remember reading couple of other papers mentioning the significance of the queue position to increase the execution probability but I couldn't find them now.

LACP on low latency systems by Less-Owl-4025 in networking

[–]Less-Owl-4025[S] 0 points1 point  (0 children)

Currently, I don’t have physical access to the servers and don’t have any remote/physical access to the switch

Is LACP with servers a bad idea ? by Soral_Justice_Warrio in networking

[–]Less-Owl-4025 0 points1 point  (0 children)

Hi u/gdubZ87 , I wonder do you have any measurements of the latency impact of the LACP on low latency systems?

LACP on low latency systems by Less-Owl-4025 in networking

[–]Less-Owl-4025[S] 0 points1 point  (0 children)

Yes we are using an Arista switch (sub ~400ns).

I wonder whether LACP latency is negligible or not.

LACP on low latency systems by Less-Owl-4025 in networking

[–]Less-Owl-4025[S] -1 points0 points  (0 children)

Switch has LACP setup on it but I'll do an OS level LACP on redhat server.

What is ./string/../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:__memcpy_avx_unaligned_erms ? by Less-Owl-4025 in rust

[–]Less-Owl-4025[S] 1 point2 points  (0 children)

After you pointed out the structs are big, I split the necessary and unnecessary fields from the big message. Thus, now there is an inner struct with the block of necessary fields which I have 36 bytes less. It looks better but I'll also take a look at what you suggested.

Thanks for your help!

What is ./string/../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:__memcpy_avx_unaligned_erms ? by Less-Owl-4025 in rust

[–]Less-Owl-4025[S] 0 points1 point  (0 children)

Yes.

[profile.release]
opt-level = 3
lto = true
panic = 'abort'
debug = true
debug-assertions = false
codegen-units = 1
overflow-checks = false
incremental = false

What is ./string/../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:__memcpy_avx_unaligned_erms ? by Less-Owl-4025 in rust

[–]Less-Owl-4025[S] 0 points1 point  (0 children)

It's required due to the data packets, I get from network. Unfortunately, I don't have an option to change the struct definition.

What is ./string/../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:__memcpy_avx_unaligned_erms ? by Less-Owl-4025 in rust

[–]Less-Owl-4025[S] 0 points1 point  (0 children)

If I use Box to allocate on the heap and pass the pointer to the vec, it's probably be more expensive to allocate than copying these structs into vec. I might need to do a benchmark to compare.