webull
webull copied to clipboard
A way to pull all tickers available on WeBull and the correct TickerID/#
It would be really nice to have a way to see all tickers that are on webull to then loop through other functions.
The get_active_gainer_loser function defaults to 20 records but it can return all active tickers if you set the count high enough.
len(wb.get_active_gainer_loser('active', 9999)) 5124
You could also use wb.run_screener
with very broad filters.
Is there any api to query watchlists and belonging tickers?
Sorry for being off topic
@alexonab That is a great idea. However, I am getting the following error when I paste in the line of code you wrote.
TypeError: get_active_gainer_loser() takes from 1 to 2 positional arguments but 3 were given
Is there any api to query watchlists and belonging tickers?
is there a way to pull tickers from watchlist?
Is there any api to query watchlists and belonging tickers?
is there a way to pull tickers from watchlist?
Yes. You can find it in recent commit
It asking to pass a 'regional_id' as a parameter. How can we get this?
I am a Year late . lol . I have just started to use webull and found it useful. Here is url that can be used to pull list of all stocks
https://securitiesapi.webullfintech.com/api/securities/market/v5/card/stockActivityPc.advanced/list?regionId=12&userRegionId=1&hasNum=0&pageSize=9999
region id:1 "China" region id:2 "Hong Kong" region id:3 "Canada" region id:4 "United Kingdom" region id:5 "Japan" region id:6 "United States" region id:8 "Italy" region id:12 "India" region id:13 "Singapore" region id:14 "Germany" region id:50 "Denmark" region id:59 "Finland" region id:77 "Iceland" region id:83 "Israel" region id:105 "Malaysia" region id:144 "Russia" region id:166 "Sweden" region id:169 "Taiwan"
Thanks you it's still helpful
On Mon, Dec 27, 2021, 2:55 PM amitmahesh99 @.***> wrote:
I am a Year late . lol . I have just started to use webull and found it useful. Here is url that can be used to pull list of all stocks
https://securitiesapi.webullfintech.com/api/securities/market/v5/card/stockActivityPc.advanced/list?regionId=12&userRegionId=1&hasNum=0&pageSize=9999
region id:1 "China" region id:2 "Hong Kong" region id:3 "Canada" region id:4 "United Kingdom" region id:5 "Japan" region id:6 "United States" region id:8 "Italy" region id:12 "India" region id:13 "Singapore" region id:14 "Germany" region id:50 "Denmark" region id:59 "Finland" region id:77 "Iceland" region id:83 "Israel" region id:105 "Malaysia" region id:144 "Russia" region id:166 "Sweden" region id:169 "Taiwan"
— Reply to this email directly, view it on GitHub https://github.com/tedchou12/webull/issues/62#issuecomment-1001719686, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACI7TBZYPLXO325GJZSMRLLUTDABJANCNFSM4ONTVHFA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID: @.***>
#341