@investingwolf/alpaca-broker-api
Version:
Node.js client for alpaca broker API
61 lines (60 loc) • 1.66 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.JournalData = void 0;
class JournalData {
static getAttributeTypeMap() {
return JournalData.attributeTypeMap;
}
}
exports.JournalData = JournalData;
JournalData.discriminator = undefined;
JournalData.attributeTypeMap = [
{
"name": "entry_type",
"baseName": "entry_type",
"type": "JournalData.EntryTypeEnum"
},
{
"name": "from_account",
"baseName": "from_account",
"type": "string"
},
{
"name": "to_account",
"baseName": "to_account",
"type": "string"
},
{
"name": "amount",
"baseName": "amount",
"type": "string"
},
{
"name": "symbol",
"baseName": "symbol",
"type": "string"
},
{
"name": "qty",
"baseName": "qty",
"type": "string"
}
];
(function (JournalData) {
let EntryTypeEnum;
(function (EntryTypeEnum) {
EntryTypeEnum[EntryTypeEnum["Jnlc"] = 'JNLC'] = "Jnlc";
EntryTypeEnum[EntryTypeEnum["Jnls"] = 'JNLS'] = "Jnls";
})(EntryTypeEnum = JournalData.EntryTypeEnum || (JournalData.EntryTypeEnum = {}));
})(JournalData = exports.JournalData || (exports.JournalData = {}));