betcode-org / flumine

flūmine - Betting trading framework
MIT License
177 stars 60 forks source link

Add max_inplay_seconds to HistoricListener #765

Closed mberk closed 1 month ago

mberk commented 2 months ago

This adds a new listener kwarg max_inplay_seconds which caps the number of seconds after turning in play that updates will be processed

Will need some testing before being ready to merge

mberk commented 1 month ago

Will need some testing before being ready to merge

I have since added a unit test to provide 100% coverage of the patch. Have also been using it in real world scenarios. @liampauling please merge if you're happy