https://github.com/adriengivry/numbers-portfolio-exporter
Package to export a stock portfolio from Apple Numbers to Yahoo Finance (CSV) and Ticker (YAML)
https://github.com/adriengivry/numbers-portfolio-exporter
export finance financial numbers portfolio stocks ticker yahoo
Last synced: 7 months ago
JSON representation
Package to export a stock portfolio from Apple Numbers to Yahoo Finance (CSV) and Ticker (YAML)
- Host: GitHub
- URL: https://github.com/adriengivry/numbers-portfolio-exporter
- Owner: adriengivry
- License: mit
- Created: 2022-06-28T14:47:09.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-03T18:12:33.000Z (about 3 years ago)
- Last Synced: 2025-03-10T06:40:21.247Z (7 months ago)
- Topics: export, finance, financial, numbers, portfolio, stocks, ticker, yahoo
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Numbers Portfolio Exporter
Package to export a stock portfolio from [Apple Numbers](https://www.apple.com/numbers/) to [Yahoo Finance](https://finance.yahoo.com) (CSV) and [Ticker](https://github.com/achannarasappa/ticker) (YAML)## Installation
```properties
pip install -r requirements.txt
pip install -e .
```## Python Example
```python
from numbers_portfolio_exporter import Exporterexporter = Exporter('my_portfolio.numbers')
exporter.to_yahoo_csv('output/')
exporter.to_ticker_yaml()
```## Console Scripts
```bash
# Show Help Message
numbers-to-ticker-yaml --help
numbers-to-yahoo-csv --help# Numbers to Ticker YAML
numbers-to-ticker-yaml portfolio.numbers# Numbers to Yahoo CSV
numbers-to-yahoo-csv portfolio.numbers output/
```## Numbers Portfolio Expected Format
Tables made with Apple Numbers should be formatted this way:
|Symbol|Price|Shares|Date|
|-|-|-|-|
|AAPL|140.37|5|2022-06-28|
|AAPL|140.96|-2|2022-06-28|