@master-chief/alpaca-ts
Version:
A TypeScript Node.js library for the https://alpaca.markets REST API and WebSocket streams.
16 lines (15 loc) • 347 B
TypeScript
import type { Order } from "./Order.js";
/**
* Represents the result of asking the api to close a position.
*/
export declare type PositionClosedReponse = {
/**
* Symbol name of the asset
*/
symbol: string;
/**
* Http status code for the attempt to close this position
*/
status: string;
body?: Order;
};