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]: GetOrdersRequest() does not work properly #259

Open
2 tasks done
sshcli opened this issue Mar 15, 2023 · 0 comments
Open
2 tasks done

[Bug]: GetOrdersRequest() does not work properly #259

sshcli opened this issue Mar 15, 2023 · 0 comments

Comments

@sshcli
Copy link
Contributor

sshcli commented Mar 15, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

GetOrdersRequest() does not work properly.
You can't see "closed short sell orders"

Expected Behavior

You should be able to see "closed short sell orders"

SDK Version I encountered this issue in

alpaca-py0.7.2

Steps To Reproduce

1. Go short with any symbol
2. Try to use GetOrdersRequest() to closed short sell orders only.

For example:
SHORT = 'AAPL
SHORT_GOR = GetOrdersRequest(symbols=[SHORT], side='sell', status='closed')
SHORT_SO = API.get_orders(SHORT_GOR)

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?

This is an old bug

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