alpacahq / alpacahq/alpaca-py

[Bug]: GetOrdersRequest() does not work properly

Ouverte
#259 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
1.5k
Forks
397
Merge moyen
1 j 16 h
PR mergées (30 j)
6

Description

### Is there an existing issue for this?

- [X] 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

```markdown
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?

- [X] 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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.