d3an / finviz

Go API for Finviz
https://github.com/d3an/finviz/wiki
MIT License
20 stars 3 forks source link

Add CLI Finviz commands #14

Closed d3an closed 4 years ago

d3an commented 4 years ago

Create a base command finviz and add subcommands as functionality increases. Create a screener subcommand to run screens against Finviz. Create a help sub-subcommand for screener to help with displaying valid options.

Examples:

$ finviz screener -s TopGainers -o -ChangeFromOpen -f Industry:gold,airlines  Price:PriceOver1
# Same as running the RunScreen function and printing the dataframe to screen
$ finviz screener help
# Returns general help for all options (basically lists possible values and syntax)
$ finviz screener help signal filter:industry,sector
# Returns general help for signal and filter, along with specific help for industry, sector filters