UNPKG

@gitchrisqueen/tdameritrade-api-js-client

Version:
239 lines (201 loc) 10 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.FutureQuote(); }); 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('FutureQuote', function() { it('should create an instance of FutureQuote', function() { // uncomment below and update the code to test FutureQuote //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be.a(GitChrisQueen_TDA_JS.FutureQuote); }); 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.FutureQuote(); //expect(instance).to.be(); }); it('should have the property bidPriceInDouble (base name: "bidPriceInDouble")', function() { // uncomment below and update the code to test the property bidPriceInDouble //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property askPriceInDouble (base name: "askPriceInDouble")', function() { // uncomment below and update the code to test the property askPriceInDouble //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property lastPriceInDouble (base name: "lastPriceInDouble")', function() { // uncomment below and update the code to test the property lastPriceInDouble //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property bidId (base name: "bidId")', function() { // uncomment below and update the code to test the property bidId //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property askId (base name: "askId")', function() { // uncomment below and update the code to test the property askId //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property highPriceInDouble (base name: "highPriceInDouble")', function() { // uncomment below and update the code to test the property highPriceInDouble //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property lowPriceInDouble (base name: "lowPriceInDouble")', function() { // uncomment below and update the code to test the property lowPriceInDouble //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property closePriceInDouble (base name: "closePriceInDouble")', function() { // uncomment below and update the code to test the property closePriceInDouble //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property exchange (base name: "exchange")', function() { // uncomment below and update the code to test the property exchange //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property description (base name: "description")', function() { // uncomment below and update the code to test the property description //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property lastId (base name: "lastId")', function() { // uncomment below and update the code to test the property lastId //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property openPriceInDouble (base name: "openPriceInDouble")', function() { // uncomment below and update the code to test the property openPriceInDouble //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property changeInDouble (base name: "changeInDouble")', function() { // uncomment below and update the code to test the property changeInDouble //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property futurePercentChange (base name: "futurePercentChange")', function() { // uncomment below and update the code to test the property futurePercentChange //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property exchangeName (base name: "exchangeName")', function() { // uncomment below and update the code to test the property exchangeName //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property securityStatus (base name: "securityStatus")', function() { // uncomment below and update the code to test the property securityStatus //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property openInterest (base name: "openInterest")', function() { // uncomment below and update the code to test the property openInterest //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property mark (base name: "mark")', function() { // uncomment below and update the code to test the property mark //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property tick (base name: "tick")', function() { // uncomment below and update the code to test the property tick //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property tickAmount (base name: "tickAmount")', function() { // uncomment below and update the code to test the property tickAmount //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property product (base name: "product")', function() { // uncomment below and update the code to test the property product //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property futurePriceFormat (base name: "futurePriceFormat")', function() { // uncomment below and update the code to test the property futurePriceFormat //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property futureTradinghours (base name: "futureTradinghours")', function() { // uncomment below and update the code to test the property futureTradinghours //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property futureIsTradable (base name: "futureIsTradable")', function() { // uncomment below and update the code to test the property futureIsTradable //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property futureMultiplier (base name: "futureMultiplier")', function() { // uncomment below and update the code to test the property futureMultiplier //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property futureIsActive (base name: "futureIsActive")', function() { // uncomment below and update the code to test the property futureIsActive //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property futureSettlementPrice (base name: "futureSettlementPrice")', function() { // uncomment below and update the code to test the property futureSettlementPrice //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property futureActiveSymbol (base name: "futureActiveSymbol")', function() { // uncomment below and update the code to test the property futureActiveSymbol //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); it('should have the property futureExpirationDate (base name: "futureExpirationDate")', function() { // uncomment below and update the code to test the property futureExpirationDate //var instane = new GitChrisQueen_TDA_JS.FutureQuote(); //expect(instance).to.be(); }); }); }));