webull
webull copied to clipboard
Unofficial APIs for Webull.
webull.get_options(stock="SPY", expireDate="2022-02-17") returns data including the greeks(delta,gamma,rho, etc.) (webull.get_options("SPY")[0]) returns no greeks: {'strikePrice': '330', 'call': {'strikePrice': '330', 'volume': '0', 'latestPriceVol': '0', 'expireDate': '2023-02-21', 'tickerId': 1037409846, 'belongTickerId': 913243251, 'activeLevel': 50, 'cycle':...
When I download 4h candles, I get only 2 candles per trading session (I don't want extended hours). Is there a way I can get those 3 candles: 9:30-11:00-15:00?
Hi, I'm having a problem when i'll place an order with options. It happens this error: "File "c:\Users\Proje\OneDrive\Documentos\GitHub\webull\webull\endpoints.py", line 10, in result = wb.place_order_option(optionId='1035911289', lmtPrice='0.1', action="BUY" , orderType="LMT", quant=1) File...
I'm trying to place an order, but get the below error in the screenshot. It's returning true when sending in my trade token using get_trade_token(), so I assume that doesn't...
500 issues with options. I have been having issues with place_option_orders. I'm not sure what the issue is. I can get it to work by matching the API I see...
The "get_positions" function doesn't return all of the options positions, so I have attempted to get this through the following URL (found from sniffing): https://ustrade.webullfinance.com/api/trading/v1/webull/account/accountAssetSummary/v2?secAccountId=(your account ID) This returns all...
If you're looking to get the prices per contract for a particular derivative ID, you can use the endpoint.py file and add the following code: `def options_prices(self, derivativeIds): return f'{self.base_options_gw_url}/quote/option/quotes/queryBatch?derivativeIds={derivativeIds}'`...
Hello, the get_bars call no longer grabs the premarket bars.. Please add a fix. I noticed the commit on September 27th is where it broke
get_positions() always returns my individual margin account positions. But I also have an IRA account with in the same login. How do I get the position details of IRA?
level 108 no longer works - and on_order_message also doesn't work With 108 nothing streams. I've moved to 105, but I didn't want to query for a bid/ask price, rather...