v3.0.0 - New Features #33
BennyThadikaran
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Stock-Patterns v3 brings many new features.
Don't care about the details? See Quick usage and config
A flexible data loader system
By default, stock data gets loaded from CSV files. Which means you must maintain your data in CSV format. You can now define a custom class to load the data from any local Database/cloud storage or a Web API.
We use simple classes defined in
src/loaders
. The Loader class must implement theAbstractLoader
class. It has just two methods. Add the class name to your JSON config file, and you're ready. The classes are dynamically loaded and called during execution. I'll update the wiki soon with more details.Currently two classes are defined in
src/loaders
-EODFileLoader
andIEODFileLoader
for daily and intraday data.One of the benefits is the decoupling of the data source and the scanner. The scanner knows nothing about the source of the data. The user is free to define the data source.
In the coming weeks, I intend to work on new patterns. Thanks to everyone for your kind words and feedback. 😍
Beta Was this translation helpful? Give feedback.
All reactions