Scan all the stocks in a folder #107
Closed
cotton1234
started this conversation in
General
Replies: 2 comments 1 reply
-
It is mandatory to setup a watchlist file and specify it in user.json. Setting the default behaviour to scan the entire folder seems like a good idea. It would make the setup simpler. (Additional checks would have to be put in place to avoid folders and non csv files.) I will consider this in one of the future updates though my current focus is bug fix only. A few things to point out:
{
"DATA_PATH": "/Users/saurabhgarg/shivshakti/eod2/src/eod2_data/daily",
"POST_SCAN_PLOT": false
} |
Beta Was this translation helpful? Give feedback.
1 reply
-
@cotton1234 I have added this feature in v4.0.10. Make sure to update to the latest fast-csv-loader |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Benny,
I am trying to use scan so that i dont have to give the file containing the stocks.
Where am I wrong or its mandatory to specify the file.
This is what i have in user.json file.
(.venv) saurabhgarg@MacBook-Pro src % cat user.json
{
"DATA_PATH": "/Users/saurabhgarg/shivshakti/eod2/src/eod2_data/daily",
"LOADER": "EODFileLoader",
"DEFAULT_TF": "daily",
"POST_SCAN_PLOT": false,
"WEEKEND_WARN": true,
"SAVE_FOLDER": "/Users/saurabhgarg/shivshakti/stock-pattern/src/images",
"SCREEN_SIZE": false
}
(.venv) saurabhgarg@MacBook-Pro src % python3 init.py -c user.json
usage: init.py [-h] [-c filepath] [-d str] [--tf TF] [-p str] [-l int] [-r int] [--save [SAVE]] [--idx IDX] (-f filepath | --sym SYM [SYM ...] | -v | --plot PLOT)
init.py: error: one of the arguments -f/--file --sym -v/--version --plot is required
(.venv) saurabhgarg@MacBook-Pro src %
Thanks
Saurabh
Beta Was this translation helpful? Give feedback.
All reactions