Portfolios. Made Better.
Project description
Portformer: Portfolios. Made Better.
Welcome to the documentation for the wrapper for of Portformer’s API https://analysis.portformer.com/docs
This is a product of Portformer by Astrocyte Research
Install
portformer is released on PyPI, so all you need is:
$ pip install portformer
To upgrade to latest version:
$ pip install --upgrade portformer
Usage
from portformer import BreakpointAPI
api = BreakpointAPI(api_key="ENTER_YOUR_KEY")
# Get the latest breakpoint risks and forecasts for TSLA
breakpoint_forecast = api.forecast("TSLA")
Development
$ # create venv
$ virtualenv -p python3.8 venv
$ # Install
$ pip install -r requirements.txt
$ pip install -r requirements-dev.txt
$ pip install -e .
Test
$ python ./tests/all.py
Build
$ python3 -m pip install --user --upgrade setuptools wheel
$ python3 setup.py sdist bdist_wheel
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
portformer-1.0.0.tar.gz
(17.3 kB
view hashes)
Built Distribution
portformer-1.0.0-py3-none-any.whl
(22.4 kB
view hashes)
Close
Hashes for portformer-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50265ecd03ae2273961379c724663d0ad8c1f40782a5f5ba68c390256a826ec1 |
|
MD5 | 9c0a24fd52a8a1493e939fe9ea4e5c3a |
|
BLAKE2b-256 | 3779664a80b1038bdbf45e541ff27448ba322c41601e5af194f530afaf9efdef |