Query for any matching results
Authorizations
Parameters
Path Parameters
A UUID newtype
Unique identifier of the cost
Query Parameters
The upper bound (exclusive) for the datetime range
The lower bound (inclusive) for the datetime range
Responses
200
The paginated response to a datetime query
This structure provides a standard format for returning time-based paginated results, including both the results and pagination metadata for retrieving the next page.
object
Optional pagination metadata for retrieving the next page of results. If present, indicates there are more results available.
object
The lower bound (inclusive) for the datetime range
The upper bound (exclusive) for the datetime range
The collection of results matching the query
A record of the cost’s data at the time it was updated or defined
This provides historical versioning of cost data, allowing the system to track changes to cost definitions over time.
object
A representation of a piecewise-linear, weakly monotone decreasing demand curve
Demand curves define a bidder’s willingness to pay for different quantities of a good. In flow trading, these curves must be:
- Piecewise-linear (defined by a sequence of points)
- Weakly monotone decreasing (price non-increasing as rate increases)
- Include the point rate=0 in their domain (must allow zero trade)
A representation of a point for use in defining piecewise-linear curves
Each point consists of:
- A rate (quantity per time unit)
- A price (value per unit)
Points are used to define the vertices of piecewise-linear demand curves.
object
The price (value per unit) coordinate
The rate (quantity per time) coordinate
A representation of a flat demand curve supporting interval, half-line, and full-line trading domains
A constant curve represents a fixed price for trades within a specified rate range. This can be used to express indifference to (potentially unbounded) trade rates at a specific price.
The sign convention follows flow trading standards:
- min_rate ≤ 0 (non-positive): maximum selling rate
- max_rate ≥ 0 (non-negative): maximum buying rate
object
The fastest rate at which the portfolio may buy (non-negative)
The fastest rate at which the portfolio may sell (non-positive)
The fixed price at which trades within the rate range are valued
The timestamp when this version was created