webull icon indicating copy to clipboard operation
webull copied to clipboard

A way to pull all tickers available on WeBull and the correct TickerID/#

Open McKlayne opened this issue 4 years ago • 9 comments

It would be really nice to have a way to see all tickers that are on webull to then loop through other functions.

McKlayne avatar Jul 01 '20 17:07 McKlayne

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

alexonab avatar Jul 10 '20 01:07 alexonab

You could also use wb.run_screener with very broad filters.

NathanHRich avatar Jul 10 '20 18:07 NathanHRich

Is there any api to query watchlists and belonging tickers?

Sorry for being off topic

imvinaypatil avatar Jul 11 '20 10:07 imvinaypatil

@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

McKlayne avatar Jul 14 '20 04:07 McKlayne

Is there any api to query watchlists and belonging tickers?

is there a way to pull tickers from watchlist?

tarek-vader avatar Dec 18 '20 14:12 tarek-vader

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

imvinaypatil avatar Dec 20 '20 08:12 imvinaypatil

It asking to pass a 'regional_id' as a parameter. How can we get this?

prashanth742 avatar Dec 26 '20 20:12 prashanth742

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"

amitmahesh99 avatar Dec 27 '21 19:12 amitmahesh99

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: @.***>

prashanth742 avatar Dec 27 '21 19:12 prashanth742

#341

tedchou12 avatar Sep 17 '22 09:09 tedchou12