@investingwolf/alpaca-broker-api
Version:
Node.js client for alpaca broker API
219 lines (218 loc) • 5.13 kB
JavaScript
;
/**
* 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.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.InlineResponse200 = void 0;
class InlineResponse200 {
static getAttributeTypeMap() {
return InlineResponse200.attributeTypeMap;
}
}
exports.InlineResponse200 = InlineResponse200;
InlineResponse200.discriminator = undefined;
InlineResponse200.attributeTypeMap = [
{
"name": "id",
"baseName": "id",
"type": "string"
},
{
"name": "account_number",
"baseName": "account_number",
"type": "string"
},
{
"name": "status",
"baseName": "status",
"type": "AccountStatus"
},
{
"name": "currency",
"baseName": "currency",
"type": "string"
},
{
"name": "buying_power",
"baseName": "buying_power",
"type": "string"
},
{
"name": "regt_buying_power",
"baseName": "regt_buying_power",
"type": "string"
},
{
"name": "daytrading_buying_power",
"baseName": "daytrading_buying_power",
"type": "string"
},
{
"name": "cash",
"baseName": "cash",
"type": "string"
},
{
"name": "cash_withdrawable",
"baseName": "cash_withdrawable",
"type": "string"
},
{
"name": "cash_transferable",
"baseName": "cash_transferable",
"type": "string"
},
{
"name": "pending_transfer_out",
"baseName": "pending_transfer_out",
"type": "string"
},
{
"name": "portfolio_value",
"baseName": "portfolio_value",
"type": "string"
},
{
"name": "pattern_day_trader",
"baseName": "pattern_day_trader",
"type": "boolean"
},
{
"name": "trading_blocked",
"baseName": "trading_blocked",
"type": "boolean"
},
{
"name": "transfers_blocked",
"baseName": "transfers_blocked",
"type": "boolean"
},
{
"name": "account_blocked",
"baseName": "account_blocked",
"type": "boolean"
},
{
"name": "created_at",
"baseName": "created_at",
"type": "string"
},
{
"name": "trade_suspended_by_user",
"baseName": "trade_suspended_by_user",
"type": "boolean"
},
{
"name": "multiplier",
"baseName": "multiplier",
"type": "string"
},
{
"name": "shorting_enabled",
"baseName": "shorting_enabled",
"type": "boolean"
},
{
"name": "equity",
"baseName": "equity",
"type": "string"
},
{
"name": "last_equity",
"baseName": "last_equity",
"type": "string"
},
{
"name": "long_market_value",
"baseName": "long_market_value",
"type": "string"
},
{
"name": "short_market_value",
"baseName": "short_market_value",
"type": "string"
},
{
"name": "initial_margin",
"baseName": "initial_margin",
"type": "string"
},
{
"name": "maintenance_margin",
"baseName": "maintenance_margin",
"type": "string"
},
{
"name": "last_maintenance_margin",
"baseName": "last_maintenance_margin",
"type": "string"
},
{
"name": "sma",
"baseName": "sma",
"type": "string"
},
{
"name": "daytrade_count",
"baseName": "daytrade_count",
"type": "number"
},
{
"name": "previous_close",
"baseName": "previous_close",
"type": "string"
},
{
"name": "last_long_market_value",
"baseName": "last_long_market_value",
"type": "string"
},
{
"name": "last_short_market_value",
"baseName": "last_short_market_value",
"type": "string"
},
{
"name": "last_cash",
"baseName": "last_cash",
"type": "string"
},
{
"name": "last_initial_margin",
"baseName": "last_initial_margin",
"type": "string"
},
{
"name": "last_regt_buying_power",
"baseName": "last_regt_buying_power",
"type": "string"
},
{
"name": "last_daytrading_buying_power",
"baseName": "last_daytrading_buying_power",
"type": "string"
},
{
"name": "last_buying_power",
"baseName": "last_buying_power",
"type": "string"
},
{
"name": "last_daytrade_count",
"baseName": "last_daytrade_count",
"type": "number"
},
{
"name": "clearing_broker",
"baseName": "clearing_broker",
"type": "string"
}
];