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 · 1 comment
Open
2 tasks done

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

sshcli opened this issue Mar 15, 2023 · 1 comment

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

@kwilsonmg
Copy link

kwilsonmg commented Sep 23, 2024

I tried to reproduce this today and can't. I think that this is fixed now as you can see closed short sell orders? Or are there extra steps to reproduce that I am missing? What is the expected vs received output?

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

2 participants