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
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!
Related
- @pocket-portfolio/importer - Core library
- Pocket Portfolio - Free portfolio tracker
License
MIT