Skip to main content

Call Option Expensiveness

Project description

woofs

This has call option info.

Install

pip install woofs

Relevant

https://etfdb.com/etfs/sector/#sector-power-rankings__return-leaderboard

Call Option Expensiveness

from woofs.openings.call_option_opening import call_option_opening

Tradier_API_Key = os.environ ['Tradier_API_Key']

def coins__call_option_expensiveness (packet):
	coins = packet ["coins"]
	
	print ("call option day 100 expensiveness");
	for coin in coins:
		call_option = call_option_opening ({
			"Tradier_API_Key": Tradier_API_Key,
			"symbol": coin [0]
		});
		
		expensiveness = call_option ["call_option_expensiveness_day_100"];
		
		print (f"{ expensiveness } for { coin [0] } '{ coin [1] }'");


sectors = [
	[ "ETHA", "Ethereum" ],
	[ "IVV",  "iShares S&P 500" ],
	[ "USRT", "iShares Core US REIT ETF" ]
]


coins__call_option_expensiveness ({
	"coins": sectors
});

Call Option Expensiveness

Show a Plot

import os
Tradier_API_Key = os.environ ['Tradier_API_Key']

from woofs.openings.call_option_opening import call_option_opening
call_option = call_option_opening ({
	"Tradier_API_Key": Tradier_API_Key,
	"symbol": "ETHA"
});

from woofs.shows.call_option_expensiveness.plot_2 import plot_call_option_expensiveness
plot_path = normpath (join (this_directory, 'smoothed_plot.png'));
plt = plot_call_option_expensiveness (
	call_option ["call_option_expensiveness"], 
	call_option ["call_option_expensiveness_smooth"]
);
plt.savefig (plot_path, bbox_inches = 'tight')
plt.close ()

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

woofs-0.0.2.tar.gz (110.1 kB view details)

Uploaded Source

File details

Details for the file woofs-0.0.2.tar.gz.

File metadata

  • Download URL: woofs-0.0.2.tar.gz
  • Upload date:
  • Size: 110.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.12.3 Linux/6.8.0-58-generic

File hashes

Hashes for woofs-0.0.2.tar.gz
Algorithm Hash digest
SHA256 6efc1ff7d54f90de2fc8620273cafce92e71951a9a428ae91681f8c25a14b893
MD5 345023d66392022a629654c9388a2830
BLAKE2b-256 d9efe8cada8a404d2d75aef76beff784ef936a5a1078113b746a64f9b9dd62f3

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