Skip to content

A python script to automatically update real-time values of stocks and crypto tickers in a Notion Database.

License

Notifications You must be signed in to change notification settings

ashleymavericks/notion-portfolio-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Notion Portfolio Tracker

A python script to automatically update real-time values of stocks and crypto tickers in a Notion Database.

Features:

  • Auto update the last price, daily % and value change for NSE tickers in the Notion DB
  • Provides auto-populated Screener URL for NSE tickers and CoinMarketCap URL for Cryptos
  • Auto update the current price, 1 hr, 24 hr and 7 day % change in price for Crypto Coins
  • Provides visual indicators for Profit/Loss & Price Change
  • Page icons get auto-populated with respective Crypto project logo

Requirements:

pip3 install requests nsetools

API's Usage:

Coinlore Cryptocurrency Data API

Crypto Icons API

Notion Official API

Script Automation:

Use Cron or any scheduler to run the script in the frequency you want, preferred time period is 30 min or 1 hr

For 30 mins

30 * * * * /usr/bin/python3 /home/.../main.py

For 1 hr

0 * * * * /usr/bin/python3 /home/.../main.py

About

A python script to automatically update real-time values of stocks and crypto tickers in a Notion Database.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages