|
|
@ -241,7 +241,7 @@ Deprecated: `GET http://localhost:3333/api/v1/auth/anonymous/<INSERT_SECURITY_TO |
|
|
| `accountId` | `string` (optional) | Id of the account | |
|
|
| `accountId` | `string` (optional) | Id of the account | |
|
|
| `comment` | `string` (optional) | Comment of the activity | |
|
|
| `comment` | `string` (optional) | Comment of the activity | |
|
|
| `currency` | `string` | `CHF` \| `EUR` \| `USD` etc. | |
|
|
| `currency` | `string` | `CHF` \| `EUR` \| `USD` etc. | |
|
|
| `dataSource` | `string` | `COINGECKO` \| `MANUAL` \| `YAHOO` | |
|
|
| `dataSource` | `string` | `COINGECKO` \| `GHOSTFOLIO` [^1] \| `MANUAL` \| `YAHOO` | |
|
|
| `date` | `string` | Date in the format `ISO-8601` | |
|
|
| `date` | `string` | Date in the format `ISO-8601` | |
|
|
| `fee` | `number` | Fee of the activity | |
|
|
| `fee` | `number` | Fee of the activity | |
|
|
| `quantity` | `number` | Quantity of the activity | |
|
|
| `quantity` | `number` | Quantity of the activity | |
|
|
@ -249,6 +249,8 @@ Deprecated: `GET http://localhost:3333/api/v1/auth/anonymous/<INSERT_SECURITY_TO |
|
|
| `type` | `string` | `BUY` \| `DIVIDEND` \| `FEE` \| `INTEREST` \| `LIABILITY` \| `SELL` | |
|
|
| `type` | `string` | `BUY` \| `DIVIDEND` \| `FEE` \| `INTEREST` \| `LIABILITY` \| `SELL` | |
|
|
| `unitPrice` | `number` | Price per unit of the activity | |
|
|
| `unitPrice` | `number` | Price per unit of the activity | |
|
|
|
|
|
|
|
|
|
|
|
[^1]: Available with [**Ghostfolio Premium**](https://ghostfol.io/en/pricing). |
|
|
|
|
|
|
|
|
#### Response |
|
|
#### Response |
|
|
|
|
|
|
|
|
##### Success |
|
|
##### Success |
|
|
|