mmex_stocks_update
Update an existing stock record in a Money Manager EX database. Modify details such as name, symbol, number of shares, purchase price, current price, and more.
Instructions
Update an existing stock.
Args:
id: The stock ID.
held_at: Account ID where the stock is held.
purchase_date: Purchase date.
name: Stock name.
symbol: Stock symbol.
num_shares: Number of shares.
purchase_price: Purchase price per share.
notes: Notes.
current_price: Current price per share.
value: Current total value.
commission: Commission paid.
db_path: Path to the .mmb database file. Optional if MMEX_DB_PATH env var is set.
db_key: Encryption key for SQLCipher databases. Optional if MMEX_DB_KEY env var is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| held_at | No | ||
| purchase_date | No | ||
| name | No | ||
| symbol | No | ||
| num_shares | No | ||
| purchase_price | No | ||
| notes | No | ||
| current_price | No | ||
| value | No | ||
| commission | No | ||
| db_path | No | ||
| db_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |