@investingwolf/alpaca-broker-api
Version:
Node.js client for alpaca broker API
41 lines (40 loc) • 1.14 kB
TypeScript
/**
* Alpaca Broker API
* Open brokerage accounts, enable commission-free trading, and manage the ongoing user experience with Alpaca Broker API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export declare class Position {
'asset_id'?: string;
'symbol'?: string;
'exchange'?: string;
'asset_class'?: string;
'avg_entry_price'?: string;
'qty'?: string;
'side'?: string;
'market_value'?: string;
'cost_basis'?: string;
'unrealized_pl'?: string;
'unrealized_plpc'?: string;
'unrealized_intraday_pl'?: string;
'unrealized_intraday_plpc'?: string;
'current_price'?: string;
'lastday_price'?: string;
'change_today'?: string;
static discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}