You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 23, 2022. It is now read-only.
I believe that the current API version has a fundamental error in which it enumerates positions by symbol.
In my humble opinion each position should be unique with its own financial analysis data and be accessible via a unique position id.
So it is possible to have multiple long and short positions of the same symbol manageable with different dates and prices.
So it is possible to:
GET a specific position by id instead of symbol
DELETE a specific position by id instead of symbol
Looking at the documentation at https://alpaca.markets/docs/api-documentation/api-v2/positions/ it seems as if the concept of multiple positions per symbol (varied by long/short, date, price, expiry, etc..) is not yet taken care of.
This is but a fundamental feature of stock trading and implemented in all major open stock trading API's. For example FIX.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I believe that the current API version has a fundamental error in which it enumerates positions by symbol.
In my humble opinion each position should be unique with its own financial analysis data and be accessible via a unique position id.
So it is possible to have multiple long and short positions of the same symbol manageable with different dates and prices.
So it is possible to:
Looking at the documentation at https://alpaca.markets/docs/api-documentation/api-v2/positions/ it seems as if the concept of multiple positions per symbol (varied by long/short, date, price, expiry, etc..) is not yet taken care of.
This is but a fundamental feature of stock trading and implemented in all major open stock trading API's. For example FIX.
The text was updated successfully, but these errors were encountered: