Skip to content

Full personal order history extraction, portfolio analysis and PnL calculation from Trading 212's API.

License

Notifications You must be signed in to change notification settings

MaiqTheHonest/Trading212-PnL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

103 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rust CLI tool for Trading 212 portoflio analysis.

Clarifies (un)realised P&L, money-weighted returns, dividends and calculates a few other metrics.

Trading 212 API allows 6x50 requests per minute, so mind the 1 minute wait if you have more than 300 orders.

smallcroppedur smalldiv3 image

Usage

Place a .txt file with your valid Trading212 API key into the same folder as t212.exe and launch executable (ideally via PowerShell or any other terminal that supports colour and UTF-8).

Alternatively, download rust_version, insert api key into the existing .txt file and cargo run.


Credits

loony-bean - textplots
Jakob Hellermann - piechart

About

Full personal order history extraction, portfolio analysis and PnL calculation from Trading 212's API.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages