deriv-com / deriv-api

Websocket API for deriv.app
MIT License
53 stars 91 forks source link

feat: Refactor and enhance data point streaming #214

Closed tywotaiwo closed 9 months ago

tywotaiwo commented 9 months ago

In this commit, we refactored the data point streaming functionality to create a more flexible and reusable base class called DataPointStream. This base class can handle both historical and real-time data for data points like Candle and Tick. We also created specific stream classes for Candle and Tick by extending DataPointStream.

These changes lay the foundation for more efficient and maintainable data point streaming in the forked repository.