@master-chief/alpaca-ts
Version:
A TypeScript Node.js library for the https://alpaca.markets REST API and WebSocket streams.
26 lines (25 loc) • 710 B
TypeScript
import type { Assets } from "./Assets.js";
/**
* The watchlist API provides CRUD operation for the account’s watchlist. An account can have multiple watchlists and each is uniquely identified by id but can also be addressed by user-defined name. Each watchlist is an ordered list of assets.
*
*/
export declare type Watchlist = {
/**
* watchlist id
*/
id: string;
/**
* account ID
*/
account_id: string;
created_at: string;
updated_at: string;
/**
* user-defined watchlist name (up to 64 characters)
*/
name: string;
/**
* the content of this watchlist, in the order as registered by the client
*/
assets?: Array<Assets>;
};