1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "symbols",
10 "settlements": 1,
11 "minAvgDailyVolume": 500000,
12 "minShortInterest": 100000,
13 "sortBy": "short_interest",
14 "symbols": [
15 "TSLA",
16 "NVDA",
17 "GME",
18 ],
19 "days": 5,
20 "minTotalVolume": 2000000,
21 "minShortPercent": 0,
22 "maxRows": 50,
23}
24
25
26run = client.actor("scrapemint/short-selling-data-tracker").call(run_input=run_input)
27
28
29print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
30for item in client.dataset(run["defaultDatasetId"]).iterate_items():
31 print(item)
32
33