GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ashleymavericks/notion-interactive-brokers: A python script to automatically journal NSE stock trades by leveraging Interactive Broker email notifications for the buy/sell trades.

BranchesTags
Open more actions menu

Latest commit

 

History

18 Commits
18 Commits

Folders and files

NameName
Last commit message
Last commit date
assets
assets
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
main.py
main.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Notion IBKR Trading Journal

A python script to automatically journal NSE stock trades by leveraging Interactive Broker email notifications for the buy/sell trades.

Features:

  • Journal provides insights like Stock type (largecap/midcap....etc.), Sector, Industry for a given stock ticker
  • Auto update latest price and percentage change for ongoing trades
  • Display current loss/gain and realised loss/gain for a particular trade
  • Provides holding time period for each trade in Days
  • Classify trades to different categories based on percentage of loss/gain and holding period
  • Manage edge cases like partial buy/sell trades notifications

Requirements:

Interactive Brokers Account

pip3 install requests nsetools yfinance

API's Usage:

Notion Official API

Script Automation:

35 15 * * 1-5

A cron job running at 15:35 on every day-of-week from Monday through Friday, will gather all the buy/sell trades emails and journal them post market-closing.

P.S. In case, you wants to keep the current price updated for the ongoing trades, just grab the relevant section from the main.py and set a recurring cron job during the market hours.

About

A python script to automatically journal NSE stock trades by leveraging Interactive Broker email notifications for the buy/sell trades.

Topics

interactive-brokersnotion-apinotion-automationpython-scriptstocks-trading

Resources

Readme
MIT license
Activity

Stars

17 stars

Watchers

2 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.