alpacahq / alpacahq/alpaca-py

[Bug]: GetOrdersRequest.nested = False, does not change the result

Ouverte
#574 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
1.5k
Forks
398
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

When setting nested = False for GetOrdersRequest, it does not change the result.

https://github.com/alpacahq/alpaca-py/blob/master/alpaca/trading/requests.py#L207

### Expected Behavior

A different result, not really sure what this toggle does?

### SDK Version I encountered this issue in

0.39.1

### Steps To Reproduce

```markdown
Make request using `nested` = False and compare to `nested` = True.
```

### 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?

_No response_

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.