Skip to content
These docs describe Tradr v0.17.0. Running an older release? Check the release notes for what changed.

List a position's entry lots for the specific-identification picker.

GET
/api/positions/{id}/lots
curl --request GET \
--url https://api.tradr.cloud/api/positions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/lots

Authed. One row per entry fill, carrying available — the lot’s quantity less every other exit’s current match. Pass exitFillId (an exit of this position) while editing that exit’s selection, and its own slices are added back into available so the dialog sees what it currently holds. method and jurisdiction echo the user’s resolved tax-lot settings, with no stored jurisdiction read as other.

id
required
string format: uuid

The position whose lots are listed.

exitFillId
string format: uuid

An exit fill of this position whose own slices are excluded from available.

The position’s lots, plus the resolved method and jurisdiction.

Media typeapplication/json
object
jurisdiction
string
Allowed values: US CA other
lots
Array<object>
object
available

Decimal.

string
entryFillId
string format: uuid
filledAt
string format: date-time
price

Decimal.

string
quantity

Decimal.

string
method
string
Allowed values: fifo average acb
Example
{
"jurisdiction": "US",
"method": "fifo"
}

No such position for this user