investment_simulator/demo.ipynb
Harry Stuart a57a6b6ce7 fsd
2024-06-29 21:21:35 +10:00

54 lines
1.1 KiB
Plaintext

{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"from dataclasses import dataclass\n",
"\n",
"@dataclass\n",
"class PropertyParams:\n",
" \"\"\"Tunable parameters that describe a property.\"\"\"\n",
" purchase_price: float\n",
" deposit_percentage: float\n",
" deposit_guarantor: bool\n",
" rental_income: float\n",
" ongoing_costs: float\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"from transitions import Machine"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "investment-simulator-KPfGkdIO-py3.12",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.2"
},
"orig_nbformat": 4
},
"nbformat": 4,
"nbformat_minor": 2
}