Fixed Asset

from absbox import API,EnginePath

localAPI = API(EnginePath.DEV, lang='english',check=False)
Connecting engine server -> https://absbox.org/api/dev
/home/docs/checkouts/readthedocs.org/user_builds/absbox-doc/envs/stable/lib/python3.11/site-packages/urllib3/connectionpool.py:1097: InsecureRequestWarning: Unverified HTTPS request is being made to host 'absbox.org'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
✅Connected, local lib:0.52.3, server:0.52.3
fixedAsset = ["FixedAsset" ,{"start":"2023-11-01","originBalance":100_0000,"originTerm":20
                             ,"residual":10_0000,"period":"Monthly","amortize":"Straight"
                             ,"capacity":("Fixed",24*25*120*30)}
                            ,{"remainTerm":10,"currentBalance":50_0000}]
r = localAPI.runAsset("2022-01-02"
                     ,[fixedAsset]
                     ,poolAssump=("Pool"
                                    ,("Fixed", [["2022-01-01",0.8]]
                                             , [["2022-01-01",400]])
                                    ,None
                                    ,None)
                     ,read=True)

r[0]
/home/docs/checkouts/readthedocs.org/user_builds/absbox-doc/envs/stable/lib/python3.11/site-packages/urllib3/connectionpool.py:1097: InsecureRequestWarning: Unverified HTTPS request is being made to host 'absbox.org'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
  warnings.warn(
Balance Depreciation CumuDepreciation Unit Cash
Date
2024-10-01 460000 40000 540000 1728000 691200000
2024-11-01 420000 40000 580000 1728000 691200000
2024-12-01 380000 40000 620000 1728000 691200000
2025-01-01 340000 40000 660000 1728000 691200000
2025-02-01 300000 40000 700000 1728000 691200000
2025-03-01 260000 40000 740000 1728000 691200000
2025-04-01 220000 40000 780000 1728000 691200000
2025-05-01 180000 40000 820000 1728000 691200000
2025-06-01 140000 40000 860000 1728000 691200000
2025-07-01 100000 40000 900000 1728000 691200000