|
|
|
@ -221,18 +221,19 @@ Deprecated: `GET http://localhost:3333/api/v1/auth/anonymous/<INSERT_SECURITY_TO |
|
|
|
} |
|
|
|
``` |
|
|
|
|
|
|
|
| Field | Type | Description | |
|
|
|
| ------------ | ------------------- | ------------------------------------------------------------------- | |
|
|
|
| `accountId` | `string` (optional) | Id of the account | |
|
|
|
| `comment` | `string` (optional) | Comment of the activity | |
|
|
|
| `currency` | `string` | `CHF` \| `EUR` \| `USD` etc. | |
|
|
|
| `dataSource` | `string` | `COINGECKO` \| `MANUAL` \| `YAHOO` | |
|
|
|
| `date` | `string` | Date in the format `ISO-8601` | |
|
|
|
| `fee` | `number` | Fee of the activity | |
|
|
|
| `quantity` | `number` | Quantity of the activity | |
|
|
|
| `symbol` | `string` | Symbol of the activity (suitable for `dataSource`) | |
|
|
|
| `type` | `string` | `BUY` \| `DIVIDEND` \| `FEE` \| `INTEREST` \| `LIABILITY` \| `SELL` | |
|
|
|
| `unitPrice` | `number` | Price per unit of the activity | |
|
|
|
| Field | Type | Description | |
|
|
|
| ------------ | --------------------- | ------------------------------------------------------------------- | |
|
|
|
| `accountId` | `string` (optional) | Id of the account | |
|
|
|
| `comment` | `string` (optional) | Comment of the activity | |
|
|
|
| `currency` | `string` | `CHF` \| `EUR` \| `USD` etc. | |
|
|
|
| `dataSource` | `string` | `COINGECKO` \| `MANUAL` \| `YAHOO` | |
|
|
|
| `date` | `string` | Date in the format `ISO-8601` | |
|
|
|
| `fee` | `number` | Fee of the activity | |
|
|
|
| `quantity` | `number` | Quantity of the activity | |
|
|
|
| `symbol` | `string` | Symbol of the activity (suitable for `dataSource`) | |
|
|
|
| `tagIds` | `string[]` (optional) | Ids of the tags | |
|
|
|
| `type` | `string` | `BUY` \| `DIVIDEND` \| `FEE` \| `INTEREST` \| `LIABILITY` \| `SELL` | |
|
|
|
| `unitPrice` | `number` | Price per unit of the activity | |
|
|
|
|
|
|
|
#### Response |
|
|
|
|
|
|
|
|