tedchou12 / webull

Unofficial APIs for Webull.
MIT License
597 stars 181 forks source link

STP LMT is Not Working - place_option_order failed 500 #329

Open mzaeemnasir opened 2 years ago

ICANTFINDAUSERNAMEATALL commented 2 years ago

I had a similar issue but I realized that paper webull doen't have it because the trading simulator doesn't have trailing stops. :( you'll have to use the actual webull class to do this

mzaeemnasir commented 2 years ago

Yes I am using the actual webull class

wb=webull()
wb.api_login(#cred)
wb.get_trade_token("tradeTokn")
wb.place_order_option(
            optionId=str(tickerID),
            lmtPrice=float(self.price),
            action="STP LMT",
            quant=int(self.quantity),
            stpPrice=float(self.stpPrice),
        )

But its not placing order

bonsaiheart commented 1 year ago

Did you ever figure this out? I'm dealing with the same issue.

stephkre4 commented 1 year ago

I have the same issue as well