Skip to content

Commit 173d920

Browse files
committed
[EN-1980] Order type crash fix
1 parent cbd0b6c commit 173d920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dxfeed/core/listeners/listener.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ cdef void order_default_listener(int event_type,
244244
scope=order[i].scope,
245245
side=order[i].side,
246246
exchange_code=unicode_from_dxf_const_string_t(&order[i].exchange_code),
247-
source=unicode_from_dxf_const_string_t(&order[i].source[DXF_RECORD_SUFFIX_SIZE]),
247+
source=unicode_from_dxf_const_string_t(&order[i].source[0]),
248248
market_maker=unicode_from_dxf_const_string_t(order[i].market_maker),
249249
spread_symbol=unicode_from_dxf_const_string_t(order[i].spread_symbol))
250250
py_data.cython_internal_update_method(events)

0 commit comments

Comments
 (0)