Bravo! You have received a Mercantilism Diploma in "theme_park" 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 "theme_park" in your practice.
--
# theme_park
## install
```
pip install theme_park
```
## tutorial
This starts a dashboard on port 20000 that can be opened in a browser.
```
theme_park help
```
```
theme_park 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 theme_park.clouds.Tradier.procedures.options.combine as combine_options
import theme_park.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 theme_park.stats.aggregate_PC_ratio as aggregate_PC_ratio
import theme_park.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
Raw data
{
"_id": null,
"home_page": null,
"name": "theme_park",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.13,>=3.10",
"maintainer_email": null,
"keywords": "rollercoaster through layer 9, non-repulsive, attractive, vortex, rain & pour, economic estimation, finance, commerce, wealth, money, treasures, treasury, subconscious trading, implicit trading",
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/43/4d/f3dd808f96f3ab0dd79c00f527d4ca2b202e39b874048effca6c3f0425b0/theme_park-2.0.0.tar.gz",
"platform": null,
"description": "\n\nBravo! You have received a Mercantilism Diploma in \"theme_park\" 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).\n\nYou are now officially certified to include \"theme_park\" in your practice.\n\n--\n# theme_park\n\n## install\n```\npip install theme_park\n```\n\n## tutorial\nThis starts a dashboard on port 20000 that can be opened in a browser.\n```\ntheme_park help\n```\n```\ntheme_park help --port 20001\n```\n\n\n## rides (OCHLV)\nrides.season_3.super_hero_trend\n\n## stats (options)\n### stats.aggregate_break_even\n```\n\"\"\"\n\tformula:\n\t\tfor each contract:\n\t\t\tFraction (\n\t\t\t\tsummation (contract_price * break_even * open_interest * shares_per_contract),\n\t\t\t\tsummation (contract_price * open_interest * shares_per_contract) \n\t\t\t)\n\"\"\"\n\nTradier_API_authorization = \"\"\n\t\t\n#\n#\tThis presumes that the symbol is unique...\n#\nimport theme_park.clouds.Tradier.procedures.options.combine as combine_options \nimport theme_park.stats.aggregate_break_even as aggregate_break_even\nbreak_evens = aggregate_break_even.calc ({\n\t\"expirations\": combine_options.presently ({\n\t\t\"symbol\": \"SOYB\",\n\t\t\"authorization\": Tradier_API_authorization\n\t})\n})\n\nimport rich\nrich.print_json (data = break_evens)\n\n```\n\n### stats.aggregate_PC_ratio\nThis is essentially the Market Capitalization (MC) ratio of every \"put\" \nto every \"call\" for a symbol. \n\n```\n\texample:\n\t\t2 : 1\n\n\t\tindicates that:\n\t\t\t2/3 of the money is on puts \n\t\t\t1/3 of the money is on calls\n```\n\n\n```\n\tformula:\n\t\tfor each contract:\n\t\t\tsummation (contract_price * open_interest * shares_per_contract)\n```\n\n```\nimport theme_park.stats.aggregate_PC_ratio as aggregate_PC_ratio\nimport theme_park.clouds.Tradier.procedures.options.combine as combine_options \nPC_ratios = aggregate_PC_ratio.calc ({\n\t\"expirations\": combine_options.presently ({\n\t\t\"symbol\": \"SOYB\",\n\t\t\"authorization\": Tradier_API_authorization\n\t})\n})\n\nimport rich\nrich.print_json (data = {\n\t\"PC ratios\": PC_ratios\n})\n```\n\n\n## clouds\nclouds.Coinbase.API.products.candles\n",
"bugtrack_url": null,
"license": "GPL 3.0 + CC BY-NC-SA 4.0 + Mongo SSPL",
"summary": "Welcome friends and fam! The theme park is open! :)",
"version": "2.0.0",
"project_urls": {
"GitLab": "https://gitlab.com/reptilian_climates/modules_series_4/apoplast"
},
"split_keywords": [
"rollercoaster through layer 9",
" non-repulsive",
" attractive",
" vortex",
" rain & pour",
" economic estimation",
" finance",
" commerce",
" wealth",
" money",
" treasures",
" treasury",
" subconscious trading",
" implicit trading"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "434df3dd808f96f3ab0dd79c00f527d4ca2b202e39b874048effca6c3f0425b0",
"md5": "4ee10162ae013067cce12d3a05931cb7",
"sha256": "13e36675fef4188bb500381a717732087d0889055b20553a328e3a465612e1dd"
},
"downloads": -1,
"filename": "theme_park-2.0.0.tar.gz",
"has_sig": false,
"md5_digest": "4ee10162ae013067cce12d3a05931cb7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.13,>=3.10",
"size": 856876,
"upload_time": "2024-05-27T03:26:42",
"upload_time_iso_8601": "2024-05-27T03:26:42.446070Z",
"url": "https://files.pythonhosted.org/packages/43/4d/f3dd808f96f3ab0dd79c00f527d4ca2b202e39b874048effca6c3f0425b0/theme_park-2.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-27 03:26:42",
"github": false,
"gitlab": true,
"bitbucket": false,
"codeberg": false,
"gitlab_user": "reptilian_climates",
"gitlab_project": "modules_series_4",
"lcname": "theme_park"
}