-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Stop limit order requested, but no stop price provided #429
Comments
I'm also experiencing this issue on my mac. I'm also unable to specify the 24hr market in that method call. |
I dove into the code and think that there's a mistake on how they arranged their positional arguments.
The positional arguments don't align with the order method
If you use keyword arguments according to how the order method is, you get the following which is incorrect:
The correct order of the arguments should be
@jmfernandes Would it be unreasonable to refactor and use keyword arguments instead of positional arguments for whenever Thanks! |
@jmfernandes @henryzhangpku - Where possible, I refactored method calls to explicitly use keyword arguments instead of positional arguments. Those changes are found here #441 :) |
data = r.orders.order_buy_limit("TSLA",16,100,timeInForce='gtc',extendedHours=True)
print(data)
error -
{'non_field_errors': ['Stop limit order requested, but no stop price provided.']}
hi everyone, I am placing buy limit order but getting error related to stop limit order. My robin_stocks is updated to latest version 6
The text was updated successfully, but these errors were encountered: