@investingwolf/alpaca-broker-api
Version:
Node.js client for alpaca broker API
57 lines (56 loc) • 1.39 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.PortfolioHistory = void 0;
/**
* Portfolio history
*/
class PortfolioHistory {
static getAttributeTypeMap() {
return PortfolioHistory.attributeTypeMap;
}
}
exports.PortfolioHistory = PortfolioHistory;
PortfolioHistory.discriminator = undefined;
PortfolioHistory.attributeTypeMap = [
{
"name": "timestamp",
"baseName": "timestamp",
"type": "Array<number>"
},
{
"name": "equity",
"baseName": "equity",
"type": "Array<number>"
},
{
"name": "profit_loss",
"baseName": "profit_loss",
"type": "Array<number>"
},
{
"name": "profit_loss_pct",
"baseName": "profit_loss_pct",
"type": "Array<number>"
},
{
"name": "base_value",
"baseName": "base_value",
"type": "number"
},
{
"name": "timeframe",
"baseName": "timeframe",
"type": "string"
}
];