Package Exports
- @pocket-portfolio/trading212-to-json
- @pocket-portfolio/trading212-to-json/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@pocket-portfolio/trading212-to-json) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Pocket Portfolio
The Local-First Investment Tracker
🚨 LAUNCH SPECIAL: Join the UK Founder's Club before Batch 1 sells out.
trading212-to-json
Convert Trading212 CSV exports to JSON format
Installation
npm install @pocket-portfolio/trading212-to-jsonUsage
import { parseCSV } from '@pocket-portfolio/trading212-to-json';
const file = // ... File object
const result = await parseCSV(file, 'en-US');
console.log(`Parsed ${result.trades.length} trades`);Visualize Your Data
After parsing, visualize your portfolio instantly at pocketportfolio.app - no signup required!
Support the Project
This package is 100% free and open-source. Help us keep the servers running:
Support the work → pocketportfolio.app/sponsor
Every contribution helps us maintain and improve this tool for the community.
Related
- @pocket-portfolio/importer - Core library
- Pocket Portfolio - Free portfolio tracker
License
MIT