UNPKG

@gitchrisqueen/tdameritrade-api-js-client

Version:
137 lines (116 loc) 5.24 kB
/** * 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 * 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; beforeEach(function() { instance = new GitChrisQueen_TDA_JS.OptionChain(); }); var getProperty = function(object, getter, property) { // Use getter method if present; otherwise, get the property directly. if (typeof object[getter] === 'function') return object[getter](); else return object[property]; } var setProperty = function(object, setter, property, value) { // Use setter method if present; otherwise, set the property directly. if (typeof object[setter] === 'function') object[setter](value); else object[property] = value; } describe('OptionChain', function() { it('should create an instance of OptionChain', function() { // uncomment below and update the code to test OptionChain //var instane = new GitChrisQueen_TDA_JS.OptionChain(); //expect(instance).to.be.a(GitChrisQueen_TDA_JS.OptionChain); }); it('should have the property symbol (base name: "symbol")', function() { // uncomment below and update the code to test the property symbol //var instane = new GitChrisQueen_TDA_JS.OptionChain(); //expect(instance).to.be(); }); it('should have the property status (base name: "status")', function() { // uncomment below and update the code to test the property status //var instane = new GitChrisQueen_TDA_JS.OptionChain(); //expect(instance).to.be(); }); it('should have the property underlying (base name: "underlying")', function() { // uncomment below and update the code to test the property underlying //var instane = new GitChrisQueen_TDA_JS.OptionChain(); //expect(instance).to.be(); }); it('should have the property strategy (base name: "strategy")', function() { // uncomment below and update the code to test the property strategy //var instane = new GitChrisQueen_TDA_JS.OptionChain(); //expect(instance).to.be(); }); it('should have the property interval (base name: "interval")', function() { // uncomment below and update the code to test the property interval //var instane = new GitChrisQueen_TDA_JS.OptionChain(); //expect(instance).to.be(); }); it('should have the property isDelayed (base name: "isDelayed")', function() { // uncomment below and update the code to test the property isDelayed //var instane = new GitChrisQueen_TDA_JS.OptionChain(); //expect(instance).to.be(); }); it('should have the property isIndex (base name: "isIndex")', function() { // uncomment below and update the code to test the property isIndex //var instane = new GitChrisQueen_TDA_JS.OptionChain(); //expect(instance).to.be(); }); it('should have the property daysToExpiration (base name: "daysToExpiration")', function() { // uncomment below and update the code to test the property daysToExpiration //var instane = new GitChrisQueen_TDA_JS.OptionChain(); //expect(instance).to.be(); }); it('should have the property interestRate (base name: "interestRate")', function() { // uncomment below and update the code to test the property interestRate //var instane = new GitChrisQueen_TDA_JS.OptionChain(); //expect(instance).to.be(); }); it('should have the property underlyingPrice (base name: "underlyingPrice")', function() { // uncomment below and update the code to test the property underlyingPrice //var instane = new GitChrisQueen_TDA_JS.OptionChain(); //expect(instance).to.be(); }); it('should have the property volatility (base name: "volatility")', function() { // uncomment below and update the code to test the property volatility //var instane = new GitChrisQueen_TDA_JS.OptionChain(); //expect(instance).to.be(); }); it('should have the property callExpDateMap (base name: "callExpDateMap")', function() { // uncomment below and update the code to test the property callExpDateMap //var instane = new GitChrisQueen_TDA_JS.OptionChain(); //expect(instance).to.be(); }); it('should have the property putExpDateMap (base name: "putExpDateMap")', function() { // uncomment below and update the code to test the property putExpDateMap //var instane = new GitChrisQueen_TDA_JS.OptionChain(); //expect(instance).to.be(); }); }); }));