vsaveris / trading-technical-indicators

Trading Technical Indicators python library
https://www.trading-technical-indicators.org/
MIT License
121 stars 34 forks source link

Implement concurrency in the _createMLDataFeatures function of the MachineLearningData class. #24

Closed vsaveris closed 3 years ago

vsaveris commented 3 years ago

_createMLDataFeatures function can be time consuming depending the amount of trading technical indicators used as features for the ML data. Concurrency should be implemented.

vsaveris commented 3 years ago

Concurrency implemented.

Without concurrency, all technical indicators as features: Execution time for all indicators: 203.193 seconds

With concurrency, all technical indicators as features: Execution time for all indicators: 30.831 seconds