Closed Bruno-TT closed 6 months ago
Anymore context to this? Code used etc.
it's happening like 3/4 of the time I run flumine, my strategy doesn't touch event_id or anything internal to flumine, this happens right at the start when framework.run() is called
removing streaming_timeout seems to fix it
Which markets? / What is your market and data filter?
filter=streaming_market_filter(
event_type_ids=["7"],
market_types=["WIN"],
# country_codes=["GB"]
)
strategy = PlaceSomeBets(market_filter=filter,
# streaming_timeout=.5,
conflate_ms=400
)
framework.add_strategy(strategy)
framework.run()
uncomment the streaming timeout and play around with the values you should be able to recreate the error
Ok, I can replicate, looks like a race condition due to the conflation and a snap which is sending out data with no data
Fixed in this bflw commit