UNPKG

@fschaeffler/index-as-of

Version:

The NPM-module gets the included tickers of an index as of a specific historic date. This can be useful for back-testing trading strategies which make use of an index membership. Currently, only NASDAQ 100 (NDX) is supported.

42 lines (41 loc) 1.2 kB
{ "name": "@fschaeffler/index-as-of", "version": "1.0.1", "module": "dist/index.esm.js", "main": "dist/index.js", "typings": "dist/index.d.ts", "keywords": ["index", "back-testing", "NASDAQ", "NDX", "stocks", "trading"], "files": [ "dist/*" ], "scripts": { "build": "npm ci; npm run build:package", "build:package": "npx ts-node esbuild.ts", "lint": "npx eslint src", "lint:fix": "npm run lint -- --fix", "test": "jest --ci" }, "devDependencies": { "@babel/core": "7.26.0", "@babel/preset-env": "7.26.0", "@babel/preset-typescript": "7.26.0", "@eslint/eslintrc": "3.2.0", "@jest/globals": "29.7.0", "@tsconfig/node20": "20.1.4", "@types/jest": "29.5.14", "@types/node": "22.9.1", "@typescript-eslint/eslint-plugin": "8.15.0", "@typescript-eslint/parser": "8.15.0", "babel-jest": "29.7.0", "esbuild": "0.24.0", "eslint": "9.15.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-import": "2.31.0", "eslint-plugin-prettier": "5.2.1", "eslint-plugin-unused-imports": "4.1.4", "npm-dts": "1.3.13", "ts-jest": "29.2.5", "ts-node": "10.9.2", "typescript": "5.6.3" } }