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 ()
Metadata
Release files for woofs 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| woofs-0.0.2.tar.gz | 110.1 kB | Details |
Release files / woofs-0.0.2.tar.gz
| Download URL | woofs-0.0.2.tar.gz |
|---|---|
| Size | 110.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6efc1ff7d54f90de2fc8620273cafce92e71951a9a428ae91681f8c25a14b893
|
|
BLAKE2b-256 checksum How to use checksums |
d9efe8cada8a404d2d75aef76beff784ef936a5a1078113b746a64f9b9dd62f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.12.3 Linux/6.8.0-58-generic
|