import_transactions
Import a batch of buy/sell transactions into your Ghostfolio portfolio for bulk data import or migration from other platforms.
Instructions
Import transactions into your portfolio. This is a write operation.
Imports a batch of transactions (buy/sell orders) into your Ghostfolio portfolio. This is useful for bulk importing historical data or transactions from other platforms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Transaction data in the format expected by Ghostfolio API. Should contain an 'activities' list. Each activity must have: 'currency', 'dataSource', 'date' (ISO-8601, e.g. 2021-09-15T00:00:00.000Z), 'quantity', 'symbol', 'type' (BUY, SELL, etc), 'unitPrice', and usually 'fee' (can be 0). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||