top 20 gainers today (dont use web search. get from DB and dont fetch entire daily data - fetch only last 4-5 days)
top 20 gainers today (dont use web search. get from DB and dont fetch entire daily data - fetch only last 4-5 days)
Calling: load
- start_date="2026-06-05", metrics=["adjusted_close_daily"]
DataFrame 202
OK allstocks_price (9911 rows)
Calling: compute
- dataframe_ids=[202], code="df = df_202.sort_values(['ticker', 'date'])\ndf['pct_change'] = df.groupby('ticker')['adjusted_close_daily'].pct_change()\nlatest_change = df.groupby('ticker').tail(1)\nresult = latest_change.sort_values('pct_change', ascending=False).head(20)"
DataFrame 204
OK result_204 (20 rows)
Calling: show
- dataframe_id=204
Blob 93
DataFrame 204
OK result_204 (20 rows)
The following table lists the top 20 gainers based on the most recent daily price data available (2026-06-08).