alpacahq / alpacahq/alpaca-py

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

Aperta
#574 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
1.5k
Fork
398
Merge medio
1g 16h
PR unite (30g)
6

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.