@gitchrisqueen/tdameritrade-api-js-client
Version:
TD Ameritrade API integration for node.js
107 lines (88 loc) • 3.33 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('Strategy', function() {
beforeEach(function() {
instance = GitChrisQueen_TDA_JS.Strategy;
});
it('should create an instance of Strategy', function() {
// TODO: update the code to test Strategy
expect(instance).to.be.a('object');
});
it('should have the property SINGLE', function() {
expect(instance).to.have.property('SINGLE');
expect(instance.SINGLE).to.be("SINGLE");
});
it('should have the property ANALYTICAL', function() {
expect(instance).to.have.property('ANALYTICAL');
expect(instance.ANALYTICAL).to.be("ANALYTICAL");
});
it('should have the property COVERED', function() {
expect(instance).to.have.property('COVERED');
expect(instance.COVERED).to.be("COVERED");
});
it('should have the property VERTICAL', function() {
expect(instance).to.have.property('VERTICAL');
expect(instance.VERTICAL).to.be("VERTICAL");
});
it('should have the property CALENDAR', function() {
expect(instance).to.have.property('CALENDAR');
expect(instance.CALENDAR).to.be("CALENDAR");
});
it('should have the property STRANGLE', function() {
expect(instance).to.have.property('STRANGLE');
expect(instance.STRANGLE).to.be("STRANGLE");
});
it('should have the property STRADDLE', function() {
expect(instance).to.have.property('STRADDLE');
expect(instance.STRADDLE).to.be("STRADDLE");
});
it('should have the property BUTTERFLY', function() {
expect(instance).to.have.property('BUTTERFLY');
expect(instance.BUTTERFLY).to.be("BUTTERFLY");
});
it('should have the property CONDOR', function() {
expect(instance).to.have.property('CONDOR');
expect(instance.CONDOR).to.be("CONDOR");
});
it('should have the property DIAGONAL', function() {
expect(instance).to.have.property('DIAGONAL');
expect(instance.DIAGONAL).to.be("DIAGONAL");
});
it('should have the property COLLAR', function() {
expect(instance).to.have.property('COLLAR');
expect(instance.COLLAR).to.be("COLLAR");
});
it('should have the property ROLL', function() {
expect(instance).to.have.property('ROLL');
expect(instance.ROLL).to.be("ROLL");
});
});
});
}));