upload_account_balance_history
Type: post
Uploads the account balance history csv for a given account.
Signature
async def upload_account_balance_history(
account_id: str,
csv_content: str
) -> Dict[str, Any]
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
account_id | str | Yes | The account ID to apply the history to. |
csv_content | str | Yes | CSV representation of the balance history. |
Example
from monarchmoney import MonarchMoney
mm = MonarchMoney()
await mm.login(email, password)
result = await mm.upload_account_balance_history("example_account_id", "example_csv_content")
print(result)
Try It Out
To test this API method locally:
- Install the package:
pip install monarchmoney - Create a Python script with the example code above
- Replace
emailandpasswordwith your Monarch Money credentials - Run the script
See the Authentication Guide for details on logging in.