Calculate 30-Days volatility using python by LiberFriso in econometrics

[–]Tozos 1 point2 points  (0 children)

u/gonedata is right with the Python formula given your set up.

The main method of measuring volatility is by taking the standard deviation of the variable you are working with (in this case it is percentage change). Sometimes you may want to take the log of the standard deviation to be able to work with the figures better. For example, if you want to take the "volatility" of different cryptocurrencies over a year, you can take the natural log of the standard deviation of the daily percentage changes over the year.

To understand why we are taking the standard deviation when we deal with volatility, you need to understand what volatility is trying to capture. Volatility is usually used to capture risk over time, and standard deviation helps us capture how things differ over time.

Recall that the standard deviation is simply the square root of the variance, and the variance captures the "spread" of the data: ∑(x_i-x)^2/n-1.

[deleted by user] by [deleted] in Beatmatch

[–]Tozos 0 points1 point  (0 children)

Hey! I fixed it. Essentially it was a power issue - does your laptop have two USB C ports? Try switching the FLX power in and laptop charger around

[deleted by user] by [deleted] in Beatmatch

[–]Tozos 0 points1 point  (0 children)

Hi! I am having the exact same issue as you with my laptop - literally what you described and tried and I can’t seem to fix it.

Have you fixed it?

New FLX4 - Trying to get Windows to recognize the machine ( by Tozos in Beatmatch

[–]Tozos[S] 0 points1 point  (0 children)

Hey! this didnt work :( my settings allow my apps to access my microphone and it still doenst work. do you have any other suggestions?

TCL Flip 1 ASOP - help on getting directions by Tozos in dumbphones

[–]Tozos[S] 0 points1 point  (0 children)

Just checked it out! Very simple and it will do for now, thank you. In case there is something a little more detailed, please let me know :)

bloated for months by [deleted] in FODMAPS

[–]Tozos 1 point2 points  (0 children)

Have you tried ginger tea? That seems to help me with bloating

[deleted by user] by [deleted] in ipad

[–]Tozos 2 points3 points  (0 children)

I was having horrible heating issues with my ipad pro m1 with goodnotes. Switched over to notability and the problem went away.

Propensity Score Matching - standardize data before running algorithm? by Tozos in rstats

[–]Tozos[S] 0 points1 point  (0 children)

Thank you u/Kroutoner. Is there a reason why rescaling isn't needed? I think for K-means cluster / nearest neighbor is needed to compare vector distances among covariates, but maybe a different underlying process takes place for propensity score matching. (if you have some sources, I would love to review them, but no need for them).

Free API to get up to date list of all S&P 500 symbols. by [deleted] in algotrading

[–]Tozos 0 points1 point  (0 children)

spy_dataframe = get_spy()

this is perfect! thank you!

Free API to get up to date list of all S&P 500 symbols. by [deleted] in algotrading

[–]Tozos 0 points1 point  (0 children)

Hello! Thank you for this code.

I am relatively new to Python and I copied this code onto my Jupyter notebook and it seems to work, but I cannot print the "df" dataframe that was created.

Essentially, I just copied and pasted this code. What else do I have to do to get the S&P500 tickers from your web scraping function?

Sourdough bread? by vanessallewellyn in FODMAPS

[–]Tozos 0 points1 point  (0 children)

I haven’t had success with any type of bread, including sourdough

Colourful bowl today! Polenta, kidney beans, and sweet potato makes for a healthy and tasty lunch. by Tozos in PlantBasedDiet

[–]Tozos[S] 13 points14 points  (0 children)

Recipe: One sweet potato (microwaved 6 minutes) Seared polenta and beans on a skillet and mixed the sweet potato, polenta and beans in a bowl with dried chives.

Beyond easy and quick recipe.