Spaces:
Build error
Build error
Download config.py from Subham9126/stockdata: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/spaces/Subham9126/stockdata/resolve/main/config.py
- Command line
-
hf download hf://spaces/Subham9126/stockdata/config.py
-
curl -L -o config.py https://huggingface.co/spaces/Subham9126/stockdata/resolve/main/config.py
1.03 kB
| from tradingview_ta import Interval | |
| SCREENER = { | |
| "None": "Select an option", | |
| "america": "United States", | |
| "indonesia": "Indonesia", | |
| "india": "India", | |
| "italy": "Italy", | |
| "uk": "United Kingdom", | |
| "brazil": "Brazil", | |
| "vietnam": "Vietnam", | |
| "rsa": "South Africa", | |
| "ksa": "Saudi Arabia", | |
| "australia": "Australia", | |
| "russia": "Russia", | |
| "thailand": "Thailand", | |
| "philippines": "Philippines", | |
| "taiwan": "Taiwan", | |
| "sweden": "Sweden", | |
| "france": "France", | |
| "turkey": "Turkey", | |
| "euronext": "Euronext", | |
| "germany": "Germany", | |
| "spain": "Spain", | |
| "hongkong": "Hong Kong", | |
| "korea": "South Korea", | |
| "malaysia": "Malaysia", | |
| "canada": "Canada", | |
| } | |
| interval_options = [ | |
| Interval.INTERVAL_1_DAY, | |
| Interval.INTERVAL_1_MONTH, | |
| Interval.INTERVAL_1_MINUTE, | |
| Interval.INTERVAL_5_MINUTES, | |
| Interval.INTERVAL_15_MINUTES, | |
| Interval.INTERVAL_30_MINUTES, | |
| Interval.INTERVAL_1_HOUR, | |
| Interval.INTERVAL_4_HOURS, | |
| Interval.INTERVAL_1_WEEK, | |
| ] |