Skip to content
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

[Bug]: Cannot fill order for a short sale with a trailing stop #681

Open
2 tasks done
jus3q opened this issue Feb 3, 2023 · 0 comments
Open
2 tasks done

[Bug]: Cannot fill order for a short sale with a trailing stop #681

jus3q opened this issue Feb 3, 2023 · 0 comments

Comments

@jus3q
Copy link

jus3q commented Feb 3, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Submitting a short sale on a stock with a trailing stop does not work

api.submit_order(
symbol=‘SPY’,
qty=1,
side=‘sell’,
type=‘trailing_stop’,
trail_percent=4.0,
time_in_force=‘day’,
)

Expected Behavior

I expect the order to fill and the trailing stop to be above the current price.

SDK Version I encountered this issue in

v2

Steps To Reproduce

in juptyer notebook on web input and through vscode.

Filled out the Steps to Reproduce section?

  • I have entered valid steps to reproduce my issue or have attached a minimally reproducible case in code that shows my issue happening; and understand that without this my issue will be flagged as invalid and closed after 30 days.

Anything else?

no

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant