economic estimation
Project description
Bravo! You have received a Mercantilism Diploma in "rollercoaster" from the Orbital Convergence University International Air and Water Embassy of the Tangerine Planet (the planet that is one ellipse further from the Sun than Earth's ellipse).
You are now officially certified to include "rollercoaster" in your practice.
--
rollercoaster
install
pip install rollercoaster
tutorial
This starts a dashboard on port 20000 that can be opened in a browser.
rollercoaster help
rollercoaster help --port 20001
rides (OCHLV)
rides.season_3.super_hero_trend
stats (options)
stats.aggregate_break_even
"""
formula:
for each contract:
Fraction (
summation (contract_price * break_even * open_interest * shares_per_contract),
summation (contract_price * open_interest * shares_per_contract)
)
"""
Tradier_API_authorization = ""
#
# This presumes that the symbol is unique...
#
import rollercoaster.clouds.Tradier.procedures.options.combine as combine_options
import rollercoaster.stats.aggregate_break_even as aggregate_break_even
break_evens = aggregate_break_even.calc ({
"expirations": combine_options.presently ({
"symbol": "SOYB",
"authorization": Tradier_API_authorization
})
})
import rich
rich.print_json (data = break_evens)
stats.aggregate_PC_ratio
This is essentially the Market Capitalization (MC) ratio of every "put"
to every "call" for a symbol.
example:
2 : 1
indicates that:
2/3 of the money is on puts
1/3 of the money is on calls
formula:
for each contract:
summation (contract_price * open_interest * shares_per_contract)
import rollercoaster.stats.aggregate_PC_ratio as aggregate_PC_ratio
import rollercoaster.clouds.Tradier.procedures.options.combine as combine_options
PC_ratios = aggregate_PC_ratio.calc ({
"expirations": combine_options.presently ({
"symbol": "SOYB",
"authorization": Tradier_API_authorization
})
})
import rich
rich.print_json (data = {
"PC ratios": PC_ratios
})
clouds
clouds.Coinbase.API.products.candles
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
Built Distribution
File details
Details for the file rollercoaster-2.1.4.tar.gz
.
File metadata
- Download URL: rollercoaster-2.1.4.tar.gz
- Upload date:
- Size: 436.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-28-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f28de5ea9104d95b993056d83259d24a919780c228a3cd72b631c2543b19dda4 |
|
MD5 | 90662c5175af241bdb8b6843a33ca719 |
|
BLAKE2b-256 | 22b32ade0c274065d5350a045e2e5b796356dc0a3e38f2bf25077d529659309a |
File details
Details for the file rollercoaster-2.1.4-py3-none-any.whl
.
File metadata
- Download URL: rollercoaster-2.1.4-py3-none-any.whl
- Upload date:
- Size: 510.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-28-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b438bfd6af03fc394337f8f8d942ad4517bf23cae9cf750bccf7237b526303f7 |
|
MD5 | b8861d1f9d6db3764f4b6d01bd266689 |
|
BLAKE2b-256 | 3a468ab9f5d3ab3da91032b2fcf2c20272d3997b5b30a531a29e46dbe1ecf60b |