Skip to main content

Tools for monitoring my Lifetime ISA portfolio.

Project description

lisatools

Tools for monitoring my Lifetime ISA portfolio.

Installation

$ pip install lisatools

Usage

lisatools provides classes and functions that help me manage my Lifetime ISA fund portfolio. For example, I can calculate the trades required to obtain my target portfolio as in the following snippet:

import lisatools
import datetime

ftse_global = lisatools.Fund(
    "FTSE Global All Cap Index Fund",
    172.14,
    isin="GB00BD3RZ582",
    date=datetime.date(2022, 11, 21)
)
gilts = lisatools.Fund(
    "U.K. Gilt UCITS ETF (VGOV)",
    18.58,
    isin="IE00B42WWV65",
    date=datetime.date(2022, 11, 21)
)
holding1 = lisatools.Holding(ftse_global, 1.0, 0.6)
holding2 = lisatools.Holding(gilts, 5.0, 0.4)
pf = lisatools.Portfolio([holding1, holding2])

buy, sell = pf.trade_to_target()
print("Buy:\n=====", buy, "\nSell:\n=====", sell, sep = "\n")

A more elaborate example is provided in the /docs/ folder.

License

lisatools was created by Istvan Kleijn. It is licensed under the terms of the MIT license.

Credits

lisatools was created with cookiecutter and the py-pkgs-cookiecutter template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lisatools-0.5.1.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lisatools-0.5.1-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file lisatools-0.5.1.tar.gz.

File metadata

  • Download URL: lisatools-0.5.1.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for lisatools-0.5.1.tar.gz
Algorithm Hash digest
SHA256 e77cb026d81d4bcea56a6b087074974b461f8dc92e7a4b83579aa5a05774d3a8
MD5 3bcb59ae58ca788bdce6274a5be192ef
BLAKE2b-256 fb2cff8e558690ca131297f7bfa85815e919eb4ff33b059ba50cc98a81ff48f1

See more details on using hashes here.

File details

Details for the file lisatools-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: lisatools-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for lisatools-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3208dbd1b1987f5bdc2fda59d3e5318a86d7317bcf4d7c71fbc9a69a0fdd15e6
MD5 1b913c366ed0ddef28c67dbff9474bde
BLAKE2b-256 8e3419cb7a9f2bc7e81739c7a20e1f465e1bd121943db14f45ed6a86b6824a99

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page