UNPKG

@master-chief/alpaca-ts

Version:

A TypeScript Node.js library for the https://alpaca.markets REST API and WebSocket streams.

21 lines (20 loc) 469 B
import type { Trade } from "./Trade.js"; /** * A model representing the result of hitting the Trades api. * * Represents multiple Trades for a single symbol with support for paging. */ export declare type TradesResponse = { /** * Array of trades */ trades: Array<Trade>; /** * Symbol that was queried */ symbol: string; /** * Token that can be used to query the next page */ next_page_token?: string | null; };