James Maslek

Results 327 comments of James Maslek

Issue on load from yfinance: ``` 2023 Jan 13, 08:39 (🦋) /stocks/options/ $ load aapl Loaded option chain from YahooFinance Error: string indices must be integers ``` Also thought: for...

Small comment on the `voi` command: On the y axis, technically the puts are not negative. I think this is what I used in the tradier view previously just to...

We can also let chains take in an -e argument. ``` 2023 Jan 13, 08:52 (🦋) /stocks/options/ $ chains -e 2025-06-20 The following args couldn't be interpreted: ['-e', '2025-06-20'] No...

Stumbled on another bug: ``` 2023 Jan 13, 08:54 (🦋) /stocks/options/ $ load aapl --source Nasdaq Loaded option chain from Nasdaq 2023 Jan 13, 08:54 (🦋) /stocks/options/ $ exp 0...

Hey! Sorry for removing this on you. Our options menu is in need of some refactoring in how we pass data around the terminal. I intentionally dropped this function from...

So your example can be close to replicated with the following: ``` import seaborn as sns import matplotlib.pyplot as plt from openbb_terminal.sdk import openbb chain = openbb.stocks.options.chains("AMZN",expiration="2022-12-02") chain[["p_Openinterest","p_Volume"]] = chain[["p_Openinterest","p_Volume"]]*-1...

You can add the current price by adding this to the above code: ``` from bisect import bisect_left current_price = float(openbb.stocks.quote("AMZN").loc["Price"].values[0]) s = [float(strike.get_text()) for strike in ax.get_yticklabels()] spot_index =...

Hey! I just picked those numbers to match the chart you initially put. The calculation for max pain involves the entire option chain and can be found here: https://github.com/OpenBB-finance/OpenBBTerminal/blob/main/openbb_terminal/stocks/options/op_helpers.py. (line...

Hey! Sorry to not follow up, but this command was added to the SDK in the last few updates :)

So I am digging in and this is actually the response from the finviz library we use (https://github.com/mariostoev/finviz) : ``` import finviz finviz.get_insider("INTC") ``` This prints out the date format...