You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should be current / pervious price
eg (using a df here so let me know this isn't clear)
df[token + "chance"].iloc[i] = str(float(df[token].iloc[i]) / float(df[token].iloc[i-1]))