Skip to main content

No project description provided

Project description

woofs

Install


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" ]
]

relevant = [
	[ "FSLR", "Solar" ]
]


coins__call_option_expensiveness ({
	"coins": relevant
});

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.1.tar.gz (109.2 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: woofs-0.0.1.tar.gz
  • Upload date:
  • Size: 109.2 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.1.tar.gz
Algorithm Hash digest
SHA256 e776942f903ea1f91a6ab48954c96038f836bdae174151b668a459b8ebd2a474
MD5 3817c5f47fd3f6f96fad6c0a5b16b5f8
BLAKE2b-256 9acf94a27c74e8d3c49f7529889f1fd8d31f8f5fd6db7ae108f1f93a6423511f

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