UNPKG

@master-chief/alpaca-ts

Version:

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

17 lines (15 loc) 322 B
import type { Order } from "./Order.js"; /** * Represents the result of asking the api to close a position. */ export type PositionClosedReponse = { /** * Symbol name of the asset */ symbol: string; /** * Http status code for the attempt to close this position */ status: string; body?: Order; };