alienbrett / PyAlly

Ally Invest API Module for Python3
https://alienbrett.github.io/PyAlly/
MIT License
57 stars 28 forks source link

order details/status #51

Closed granzyme closed 4 years ago

granzyme commented 4 years ago

Can you provide an example for retrieving details for recent orders, including fill status, side, quantity, price, and symbol. I have tried ally.Ally.orders(), but the response is not comprehensive.

alienbrett commented 4 years ago

try examining [ str(x) for x in a.orders() ]

granzyme commented 4 years ago

Thank you for your reply. This is what I am able to retrieve per your suggestion:

(OType.Order) Side.BuyCover 1 units of "AAPL" TimeInForce.GTC, Limit $250.5

Is PyAlly able to retrieve a more comprehensive response that includes each order's timestamp, fill/cancel/reject status, and id?

alienbrett commented 4 years ago

I added some documentation to make this clearer. Please check out the new section and let me know if you think any additional documentation would be helpful.