Socket
Socket
Sign inDemoInstall

@factset/sdk-quotesapifordigitalportals

Package Overview
Dependencies
49
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @factset/sdk-quotesapifordigitalportals

Quotes API for Digital Portals client library for JavaScript


Version published
Weekly downloads
0
decreased by-100%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

FactSet

Quotes API for Digital Portals client library for JavaScript

npm Apache-2 license

The Quotes API combines endpoints for retrieving security end-of-day, delayed, and realtime prices with performance key figures and basic reference data on the security and market level.

The API supports over 20 different price types for each quote and comes with basic search endpoints based on security identifiers and instrument names. Market coverage is included in the Sample Use Cases section below.

The Digital Portal use case is focused on high-performance applications that are

  • serving millions of end-users,
  • accessible by client browsers via the internet,
  • supporting subscriptions for streamed updates out-of-the-box,
  • typically combining a wide variety of for Digital Portals-APIs into a highly use-case specific solution for customers,
  • integrated into complex infrastructures such as existing frontend frameworks, authentication services.

All APIs labelled for Digital Portals have been designed for direct use by client web applications and feature extreme low latency: The average response time across all endpoints is 30 ms whereas 99% of all requests are answered in close to under 300ms.

See the Time Series API for Digital Portals for direct access to price histories, and the News API for Digital Portals for searching and fetching related news.

This TypeScript/JavaScript package is automatically generated by the OpenAPI Generator project:

  • API version: 2
  • Package version: 0.11.1
  • Build package: org.openapitools.codegen.languages.JavascriptClientCodegen

Requirements

  • Node.js >= 14

Installation

npm

npm install @factset/sdk-utils @factset/sdk-quotesapifordigitalportals@0.11.1

yarn

yarn add @factset/sdk-utils @factset/sdk-quotesapifordigitalportals@0.11.1

Usage

  1. Generate authentication credentials.
  2. Setup Node.js environment
    1. Install and activate Node.js >=14. If you're using nvm:

      nvm install 16
      nvm use 16
      
    2. (optional) Install yarn.

  3. Install dependencies.
  4. Run the following:
const { ApiClient, BasicApi } = require('@factset/sdk-quotesapifordigitalportals');
const { ConfidentialClient } = require('@factset/sdk-utils');

const apiClient = ApiClient.instance;

// Examples for each supported authentication method are below,
// choose one that satisfies your use case.

// (Preferred) OAuth 2.0: FactSetOAuth2
// See https://github.com/FactSet/enterprise-sdk#oauth-20
// for information on how to create the app-config.json file
// See https://github.com/FactSet/enterprise-sdk-utils-typescript#authentication
// for more information on using the ConfidentialClient class
apiClient.factsetOauth2Client = new ConfidentialClient('/path/to/app-config.json');

// Basic authentication: FactSetApiKey
// See https://github.com/FactSet/enterprise-sdk#api-key
// for information how to create an API key
// const FactSetApiKey = apiClient.authentications['FactSetApiKey'];
// FactSetApiKey.username = 'USERNAME-SERIAL';
// FactSetApiKey.password = 'API-KEY';

const apiInstance = new BasicApi();
const opts = {
  'attributes': ["null"] // [String] | Limit the attributes returned in the response to the specified set.
};

// Call api endpoint
apiInstance.getBasicAssetClassList(opts).then(
  data => {

    console.log('API called successfully. Returned data:');
    console.log(data);
  },
  error => {
    console.error(error);
  },
);

Documentation for API Endpoints

All URIs are relative to https://api.factset.com/wealth/v1

ClassMethodHTTP requestDescription
quotesapifordigitalportals.BasicApigetBasicAssetClassListGET /basic/assetClass/listList of asset classes.
quotesapifordigitalportals.BasicApigetBasicBenchmarkTypeListGET /basic/benchmark/type/listList of benchmark types.
quotesapifordigitalportals.BasicApigetBasicFrequencyTypeListGET /basic/frequency/type/listList of frequency types.
quotesapifordigitalportals.BasicApigetBasicLanguageGetGET /basic/language/getDetails for a language.
quotesapifordigitalportals.BasicApigetBasicLanguageGetByCodeGET /basic/language/getByCodeDetails for a language identified by code.
quotesapifordigitalportals.BasicApigetBasicLanguageListGET /basic/language/listList of languages.
quotesapifordigitalportals.BasicApigetBasicMarketGetGET /basic/market/getDetails of a market.
quotesapifordigitalportals.BasicApigetBasicMarketGroupListGET /basic/market/group/listList of market groups.
quotesapifordigitalportals.BasicApigetBasicMarketTypeListGET /basic/market/type/listList of market types.
quotesapifordigitalportals.BasicApigetBasicMediaKindListGET /basic/media/kind/listList of media kinds.
quotesapifordigitalportals.BasicApigetBasicRegionContinentGetGET /basic/region/continent/getDetails for a continent.
quotesapifordigitalportals.BasicApigetBasicRegionContinentListGET /basic/region/continent/listList of continents.
quotesapifordigitalportals.BasicApigetBasicRegionCountryGetGET /basic/region/country/getDetails for a country.
quotesapifordigitalportals.BasicApigetBasicRegionCountryGetByCodeGET /basic/region/country/getByCodeDetails for a country identified by code.
quotesapifordigitalportals.BasicApigetBasicRegionCountryListGET /basic/region/country/listList of countries.
quotesapifordigitalportals.BasicApigetBasicRegionGetGET /basic/region/getDetails for a region.
quotesapifordigitalportals.BasicApigetBasicRegionListGET /basic/region/listList of regions.
quotesapifordigitalportals.BasicApigetBasicTimezoneGetGET /basic/timezone/getDetails of a timezone.
quotesapifordigitalportals.BasicApigetBasicTimezoneGetByNameGET /basic/timezone/getByNameDetails of a timezone identified by name.
quotesapifordigitalportals.BasicApigetBasicValueUnitAlternativeListGET /basic/valueUnit/alternative/listList of alternative units.
quotesapifordigitalportals.BasicApigetBasicValueUnitCurrencyFractionalGetGET /basic/valueUnit/currency/fractional/getDetails of a fractional currency.
quotesapifordigitalportals.BasicApigetBasicValueUnitCurrencyFractionalListGET /basic/valueUnit/currency/fractional/listList of fractional currencies.
quotesapifordigitalportals.BasicApigetBasicValueUnitGetGET /basic/valueUnit/getDetails of a value unit.
quotesapifordigitalportals.BasicApipostBasicBackgroundTextTypeListPOST /basic/backgroundText/type/listList of background text types.
quotesapifordigitalportals.BasicApipostBasicDeliveryListPOST /basic/delivery/listList of deliveries.
quotesapifordigitalportals.BasicApipostBasicMarketListPOST /basic/market/listList of markets.
quotesapifordigitalportals.BasicApipostBasicMediaTypeListPOST /basic/media/type/listList of Internet media types.
quotesapifordigitalportals.BasicApipostBasicMicOperatingListPOST /basic/mic/operating/listList of operating market identifier codes (MIC).
quotesapifordigitalportals.BasicApipostBasicTimezoneListPOST /basic/timezone/listList of timezones.
quotesapifordigitalportals.BasicApipostBasicValueUnitCurrencyListPOST /basic/valueUnit/currency/listList of currencies.
quotesapifordigitalportals.BasicApipostBasicValueUnitCurrencyMainListPOST /basic/valueUnit/currency/main/listList of main currencies.
quotesapifordigitalportals.BasicApipostBasicValueUnitListPOST /basic/valueUnit/listList of value units.
quotesapifordigitalportals.CategoryApigetCategoryDatasetListGET /category/dataset/listList of entitled category datasets.
quotesapifordigitalportals.CategoryApigetCategoryGetGET /category/getDetails of a category.
quotesapifordigitalportals.CategoryApigetCategoryInstrumentListGET /category/instrument/listList of instruments where a specific dataset has assigned a given category.
quotesapifordigitalportals.CategoryApigetCategoryLevelGetGET /category/level/getDetails of a category level.
quotesapifordigitalportals.CategoryApigetCategoryListGET /category/listList of categories.
quotesapifordigitalportals.CategoryApigetCategoryListByLevelGET /category/listByLevelList of categories assigned to a category level.
quotesapifordigitalportals.CategoryApigetCategoryListBySystemGET /category/listBySystemList of categories assigned to a category system.
quotesapifordigitalportals.CategoryApigetCategoryPathGetGET /category/path/getPath from the first level to the level of a specific category.
quotesapifordigitalportals.CategoryApigetCategorySystemGetGET /category/system/getDetails of an entitled category system.
quotesapifordigitalportals.CategoryApigetCategorySystemListGET /category/system/listList of entitled category systems.
quotesapifordigitalportals.CategoryApigetCategorySystemTypeListGET /category/system/type/listList of category system types.
quotesapifordigitalportals.InstrumentApigetInstrumentBackgroundTextListByInstrumentGET /instrument/backgroundText/listByInstrumentBackground texts of an instrument.
quotesapifordigitalportals.InstrumentApigetInstrumentCompliancePropertyListByInstrumentGET /instrument/complianceProperty/listByInstrumentCompliance properties of an instrument.
quotesapifordigitalportals.InstrumentApigetInstrumentCompositeGetGET /instrument/composite/getComposite instrument and its components.
quotesapifordigitalportals.InstrumentApigetInstrumentCouponDayCountConventionTypeListGET /instrument/coupon/dayCountConvention/type/listList of day count convention types.
quotesapifordigitalportals.InstrumentApigetInstrumentCouponInterestRateTypeListGET /instrument/coupon/interestRate/type/listList of interest rate types.
quotesapifordigitalportals.InstrumentApigetInstrumentCouponKeyDataGetGET /instrument/coupon/keyData/getInterest rate details for selected periods of an interest-bearing instrument.
quotesapifordigitalportals.InstrumentApigetInstrumentCouponListGET /instrument/coupon/listList of coupons for an interest-bearing instrument.
quotesapifordigitalportals.InstrumentApigetInstrumentCrossReferenceGetByISINGET /instrument/crossReference/getByISINTranslate ISIN to instrument.
quotesapifordigitalportals.InstrumentApigetInstrumentCrossReferenceGetByWKNGET /instrument/crossReference/getByWKNTranslate WKN to instrument.
quotesapifordigitalportals.InstrumentApigetInstrumentCrossReferenceHistoryGetByISINGET /instrument/crossReference/history/getByISINISIN to instrument translation history.
quotesapifordigitalportals.InstrumentApigetInstrumentCrossReferenceHistoryGetByWKNGET /instrument/crossReference/history/getByWKNWKN to instrument translation history.
quotesapifordigitalportals.InstrumentApigetInstrumentExchangeRateGetGET /instrument/exchangeRate/getRetrieve an exchange rate instrument identifier.
quotesapifordigitalportals.InstrumentApigetInstrumentExchangeRateGetByISOCodeGET /instrument/exchangeRate/getByISOCodeRetrieve an exchange rate instrument identifier.
quotesapifordigitalportals.InstrumentApigetInstrumentGetGET /instrument/getBasic data for an instrument.
quotesapifordigitalportals.InstrumentApigetInstrumentGetByNotationGET /instrument/getByNotationBasic data for an instrument.
quotesapifordigitalportals.InstrumentApigetInstrumentLegalEntityBackgroundTextListByInstrumentGET /instrument/legalEntity/backgroundText/listByInstrumentRole-specific background texts of legal entities related to an instrument.
quotesapifordigitalportals.InstrumentApigetInstrumentLegalEntityCompliancePropertyListByInstrumentGET /instrument/legalEntity/complianceProperty/listByInstrumentRole-specific compliance properties of legal entities related to an instrument.
quotesapifordigitalportals.InstrumentApigetInstrumentMifidGetGET /instrument/mifid/getMiFID II data for a financial instrument.
quotesapifordigitalportals.InstrumentApigetInstrumentSearchBasicGET /instrument/search/basicBasic search for instruments.
quotesapifordigitalportals.InstrumentApipostInstrumentBackgroundTextTypeListPOST /instrument/backgroundText/type/listList of background text types for instruments.
quotesapifordigitalportals.InstrumentApipostInstrumentBenchmarkListPOST /instrument/benchmark/listList of benchmarks of a financial instrument.
quotesapifordigitalportals.InstrumentApipostInstrumentCategoryListPOST /instrument/category/listList of categories assigned to a specific instrument the application is entitled to see.
quotesapifordigitalportals.InstrumentApipostInstrumentCompliancePropertyListPOST /instrument/complianceProperty/listList of compliance properties for instruments.
quotesapifordigitalportals.InstrumentApipostInstrumentCrossReferenceListByISINPOST /instrument/crossReference/listByISINTranslate a list of ISINs to instruments.
quotesapifordigitalportals.InstrumentApipostInstrumentCrossReferenceListByWKNPOST /instrument/crossReference/listByWKNTranslate a list of WKNs to instruments.
quotesapifordigitalportals.InstrumentApipostInstrumentNotationListPOST /instrument/notation/listList of active, entitled notations for a set of instruments.
quotesapifordigitalportals.InstrumentApipostInstrumentRatingGradeListPOST /instrument/rating/grade/listList of rating grades for a list of instruments.
quotesapifordigitalportals.NotationApigetNotationCrossReferenceFactSetIdentifierGetGET /notation/crossReference/factSetIdentifier/getRetrieve FactSet identifiers for a given notation.
quotesapifordigitalportals.NotationApigetNotationCrossReferenceGetByFactSetMarketSymbolGET /notation/crossReference/getByFactSetMarketSymbolTranslate a FactSet market symbol to a notation.
quotesapifordigitalportals.NotationApigetNotationGetGET /notation/getBasic data for a notation.
quotesapifordigitalportals.NotationApigetNotationKeyFiguresMonth1GetGET /notation/keyFigures/month/1/getEnd-of-day (EOD) key figures for the time range of one month.
quotesapifordigitalportals.NotationApigetNotationKeyFiguresMonth1ListGET /notation/keyFigures/month/1/listEnd-of-day (EOD) key figures for the time range of one month, for a list of notations.
quotesapifordigitalportals.NotationApigetNotationKeyFiguresMonth3GetGET /notation/keyFigures/month/3/getEnd-of-day (EOD) key figures for the time range of three months.
quotesapifordigitalportals.NotationApigetNotationKeyFiguresMonth3ListGET /notation/keyFigures/month/3/listEnd-of-day (EOD) key figures for the time range of three months, for a list of notations.
quotesapifordigitalportals.NotationApigetNotationKeyFiguresMonth6GetGET /notation/keyFigures/month/6/getEnd-of-day (EOD) key figures for the time range of six months.
quotesapifordigitalportals.NotationApigetNotationKeyFiguresMonth6ListGET /notation/keyFigures/month/6/listEnd-of-day (EOD) key figures for the time range of six months, for a list of notations.
quotesapifordigitalportals.NotationApigetNotationKeyFiguresTradingDayAverageGetGET /notation/keyFigures/tradingDay/average/getAverage end-of-day (EOD) key figures for different trading days periods.
quotesapifordigitalportals.NotationApigetNotationKeyFiguresWeek1GetGET /notation/keyFigures/week/1/getEnd-of-day (EOD) key figures for the time range of one week.
quotesapifordigitalportals.NotationApigetNotationKeyFiguresWeek1ListGET /notation/keyFigures/week/1/listEnd-of-day (EOD) key figures for the time range of one week, for a list of notations.
quotesapifordigitalportals.NotationApigetNotationKeyFiguresYear10GetGET /notation/keyFigures/year/10/getEnd-of-day (EOD) key figures for the time range of ten years.
quotesapifordigitalportals.NotationApigetNotationKeyFiguresYear10ListGET /notation/keyFigures/year/10/listEnd-of-day (EOD) key figures for the time range of ten years, for a list of notations.
quotesapifordigitalportals.NotationApigetNotationKeyFiguresYear1GetGET /notation/keyFigures/year/1/getEnd-of-day (EOD) key figures for the time range of one year.
quotesapifordigitalportals.NotationApigetNotationKeyFiguresYear1ListGET /notation/keyFigures/year/1/listEnd-of-day (EOD) key figures for the time range of one year, for a list of notations.
quotesapifordigitalportals.NotationApigetNotationKeyFiguresYear3GetGET /notation/keyFigures/year/3/getEnd-of-day (EOD) key figures for the time range of three years.
quotesapifordigitalportals.NotationApigetNotationKeyFiguresYear3ListGET /notation/keyFigures/year/3/listEnd-of-day (EOD) key figures for the time range of three years, for a list of notations.
quotesapifordigitalportals.NotationApigetNotationKeyFiguresYear5GetGET /notation/keyFigures/year/5/getEnd-of-day (EOD) key figures for the time range of five years.
quotesapifordigitalportals.NotationApigetNotationKeyFiguresYear5ListGET /notation/keyFigures/year/5/listEnd-of-day (EOD) key figures for the time range of five years, for a list of notations.
quotesapifordigitalportals.NotationApigetNotationKeyFiguresYear7GetGET /notation/keyFigures/year/7/getEnd-of-day (EOD) key figures for the time range of seven years.
quotesapifordigitalportals.NotationApigetNotationKeyFiguresYear7ListGET /notation/keyFigures/year/7/listEnd-of-day (EOD) key figures for the time range of seven years, for a list of notations.
quotesapifordigitalportals.NotationApigetNotationKeyFiguresYearToDateGetGET /notation/keyFigures/yearToDate/getEnd-of-day (EOD) key figures for the time range year-to-date (YTD)..
quotesapifordigitalportals.NotationApigetNotationKeyFiguresYearToDateListGET /notation/keyFigures/yearToDate/listEnd-of-day (EOD) key figures for the time range year-to-date (YTD), for a list of notations..
quotesapifordigitalportals.NotationApigetNotationListGET /notation/listBasic data for a list of notations.
quotesapifordigitalportals.NotationApigetNotationSearchBasicGET /notation/search/basicBasic search for notations.
quotesapifordigitalportals.NotationApigetNotationSearchByTextRankedByVolumeGET /notation/searchByTextRankedByVolumeBasic search for notations.
quotesapifordigitalportals.NotationApigetNotationStatusGetGET /notation/status/getIntraday trading status of a notation.
quotesapifordigitalportals.NotationApipostNotationCategoryListPOST /notation/category/listList of categories assigned to a specific notation the application is entitled to see.
quotesapifordigitalportals.NotationApipostNotationCrossReferenceFactSetIdentifierListByFactSetIdentifierPOST /notation/crossReference/factSetIdentifier/listByFactSetIdentifierRetrieve a list of notations for a given FactSet identifier.
quotesapifordigitalportals.NotationApipostNotationCrossReferenceFactSetIdentifierListByInstrumentPOST /notation/crossReference/factSetIdentifier/listByInstrumentRetrieve a list of FactSet identifiers for a given instrument.
quotesapifordigitalportals.NotationApipostNotationCrossReferenceListByISINPOST /notation/crossReference/listByISINList of entitled notations.
quotesapifordigitalportals.NotationApipostNotationCrossReferenceListByInstrumentPOST /notation/crossReference/listByInstrumentList of entitled notations.
quotesapifordigitalportals.NotationApipostNotationCrossReferenceListBySymbolPOST /notation/crossReference/listBySymbolList of entitled notations.
quotesapifordigitalportals.NotationApipostNotationMarketListPOST /notation/market/listList of markets with entitled notations.
quotesapifordigitalportals.NotationApipostNotationSearchByTextPOST /notation/searchByTextText-based search for notations.
quotesapifordigitalportals.PricesApigetPricesBidAskGetGET /prices/bidAsk/getMost recent bid and ask prices (best bid / offer) for a notation.
quotesapifordigitalportals.PricesApigetPricesBidAskListGET /prices/bidAsk/listMost recent bid and ask prices (best bid / offer) for a list of notations.
quotesapifordigitalportals.PricesApigetPricesGetGET /prices/getOverview of trading on the most recent trading day, including the latest price, for a notation.
quotesapifordigitalportals.PricesApigetPricesListGET /prices/listOverview of trading on the most recent trading day, including the latest price, for a list of notations.
quotesapifordigitalportals.PricesApigetPricesOrderbookAggregatedGetGET /prices/orderbook/aggregated/getOrderbook aggregated by price.
quotesapifordigitalportals.PricesApigetPricesOrderbookFullGetGET /prices/orderbook/full/getFull orderbook
quotesapifordigitalportals.PricesApigetPricesTradingScheduleEventTypeListGET /prices/tradingSchedule/event/type/listTrading schedule event types.
quotesapifordigitalportals.PricesApipostPricesTradingScheduleEventListPOST /prices/tradingSchedule/event/listSequence of market-related events.

Documentation for Models

Documentation for Authorization

FactSetApiKey

  • Type: HTTP basic authentication

FactSetOAuth2

  • Type: OAuth
  • Flow: application
  • Authorization URL:
  • Scopes: N/A

Contributing

Please refer to the contributing guide.

Copyright 2022 FactSet Research Systems Inc

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Keywords

FAQs

Last updated on 30 Aug 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc