Click here to learn about API key placement
-
Verify if mongodb service is running.
- Windows:
Ctrl
+Alt
+Esc
to open the task manager.- Head over to
Services
tab and findMongoDB
service. - Right click and
Start
if service is stopped.
- Linux:
sudo systemctl status mongod
- If service is stopped or disabled, run
sudo systemctl start mongod
sudo systemctl enable mongod
- Windows:
-
Open terminal or CMD and run
mongo
command to open mongoDB shell. -
Create database ->
use stockticker
-
Create Collections
db.createCollection('globalsymbols')
db.createCollection('tickers')
- Verify that the JSON files have the structure
{"key": "<YOUR-TOKEN>"}
- Rename files to
Telegram_token.json
andalpha_vantage_api_key.json
- Place JSON files in
./config
and it's done