@gitchrisqueen/tdameritrade-api-js-client
Version:
TD Ameritrade API integration for node.js
155 lines (130 loc) • 7.02 kB
JavaScript
/*
* TD Ameritrade API - OAuth2
* This is replication of the TD Ameritrade API.
*
* OpenAPI spec version: 0.1.4
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.4.14
*
* Do not edit the class manually.
*
*/
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD.
define(['expect.js', '../../src/index'], factory);
} else if (typeof module === 'object' && module.exports) {
// CommonJS-like environments that support module.exports, like Node.
factory(require('expect.js'), require('../../src/index'));
} else {
// Browser globals (root is window)
factory(root.expect, root.GitChrisQueen_TDA_JS);
}
}(this, function(expect, GitChrisQueen_TDA_JS) {
'use strict';
var instance;
describe('(package)', function() {
describe('CashAccountInitialBalances', function() {
beforeEach(function() {
instance = new GitChrisQueen_TDA_JS.CashAccountInitialBalances();
});
it('should create an instance of CashAccountInitialBalances', function() {
// TODO: update the code to test CashAccountInitialBalances
expect(instance).to.be.a(GitChrisQueen_TDA_JS.CashAccountInitialBalances);
});
it('should have the property accountValue (base name: "accountValue")', function() {
// TODO: update the code to test the property accountValue
expect(instance).to.have.property('accountValue');
// expect(instance.accountValue).to.be(expectedValueLiteral);
});
it('should have the property accruedInterest (base name: "accruedInterest")', function() {
// TODO: update the code to test the property accruedInterest
expect(instance).to.have.property('accruedInterest');
// expect(instance.accruedInterest).to.be(expectedValueLiteral);
});
it('should have the property bondValue (base name: "bondValue")', function() {
// TODO: update the code to test the property bondValue
expect(instance).to.have.property('bondValue');
// expect(instance.bondValue).to.be(expectedValueLiteral);
});
it('should have the property cashAvailableForTrading (base name: "cashAvailableForTrading")', function() {
// TODO: update the code to test the property cashAvailableForTrading
expect(instance).to.have.property('cashAvailableForTrading');
// expect(instance.cashAvailableForTrading).to.be(expectedValueLiteral);
});
it('should have the property cashAvailableForWithdrawal (base name: "cashAvailableForWithdrawal")', function() {
// TODO: update the code to test the property cashAvailableForWithdrawal
expect(instance).to.have.property('cashAvailableForWithdrawal');
// expect(instance.cashAvailableForWithdrawal).to.be(expectedValueLiteral);
});
it('should have the property cashBalance (base name: "cashBalance")', function() {
// TODO: update the code to test the property cashBalance
expect(instance).to.have.property('cashBalance');
// expect(instance.cashBalance).to.be(expectedValueLiteral);
});
it('should have the property cashDebitCallValue (base name: "cashDebitCallValue")', function() {
// TODO: update the code to test the property cashDebitCallValue
expect(instance).to.have.property('cashDebitCallValue');
// expect(instance.cashDebitCallValue).to.be(expectedValueLiteral);
});
it('should have the property cashReceipts (base name: "cashReceipts")', function() {
// TODO: update the code to test the property cashReceipts
expect(instance).to.have.property('cashReceipts');
// expect(instance.cashReceipts).to.be(expectedValueLiteral);
});
it('should have the property isInCall (base name: "isInCall")', function() {
// TODO: update the code to test the property isInCall
expect(instance).to.have.property('isInCall');
// expect(instance.isInCall).to.be(expectedValueLiteral);
});
it('should have the property liquidationValue (base name: "liquidationValue")', function() {
// TODO: update the code to test the property liquidationValue
expect(instance).to.have.property('liquidationValue');
// expect(instance.liquidationValue).to.be(expectedValueLiteral);
});
it('should have the property longOptionMarketValue (base name: "longOptionMarketValue")', function() {
// TODO: update the code to test the property longOptionMarketValue
expect(instance).to.have.property('longOptionMarketValue');
// expect(instance.longOptionMarketValue).to.be(expectedValueLiteral);
});
it('should have the property longStockValue (base name: "longStockValue")', function() {
// TODO: update the code to test the property longStockValue
expect(instance).to.have.property('longStockValue');
// expect(instance.longStockValue).to.be(expectedValueLiteral);
});
it('should have the property moneyMarketFund (base name: "moneyMarketFund")', function() {
// TODO: update the code to test the property moneyMarketFund
expect(instance).to.have.property('moneyMarketFund');
// expect(instance.moneyMarketFund).to.be(expectedValueLiteral);
});
it('should have the property mutualFundValue (base name: "mutualFundValue")', function() {
// TODO: update the code to test the property mutualFundValue
expect(instance).to.have.property('mutualFundValue');
// expect(instance.mutualFundValue).to.be(expectedValueLiteral);
});
it('should have the property pendingDeposits (base name: "pendingDeposits")', function() {
// TODO: update the code to test the property pendingDeposits
expect(instance).to.have.property('pendingDeposits');
// expect(instance.pendingDeposits).to.be(expectedValueLiteral);
});
it('should have the property shortOptionMarketValue (base name: "shortOptionMarketValue")', function() {
// TODO: update the code to test the property shortOptionMarketValue
expect(instance).to.have.property('shortOptionMarketValue');
// expect(instance.shortOptionMarketValue).to.be(expectedValueLiteral);
});
it('should have the property shortStockValue (base name: "shortStockValue")', function() {
// TODO: update the code to test the property shortStockValue
expect(instance).to.have.property('shortStockValue');
// expect(instance.shortStockValue).to.be(expectedValueLiteral);
});
it('should have the property unsettledCash (base name: "unsettledCash")', function() {
// TODO: update the code to test the property unsettledCash
expect(instance).to.have.property('unsettledCash');
// expect(instance.unsettledCash).to.be(expectedValueLiteral);
});
});
});
}));