Skip to main content

Welcome friends and fam! The theme park is open! :)

Project description

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

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

theme_park-1.0.0.tar.gz (437.4 kB view details)

Uploaded Source

File details

Details for the file theme_park-1.0.0.tar.gz.

File metadata

  • Download URL: theme_park-1.0.0.tar.gz
  • Upload date:
  • Size: 437.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-35-generic

File hashes

Hashes for theme_park-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c6a6086769ef9d0c596df83acc80dfeaca6f8168bb78f74a700ce90dbf817219
MD5 cefddfb26268864d3515b0aa8fac7d87
BLAKE2b-256 e638c350af8e33b80476a21b5afa95e27ba19bb86986e7ddc26cf2cefd96e50f

See more details on using hashes here.

Supported by

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