@kinetiq-research/asset-metadata 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ Mar 18, 2026 v2
package/package.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "@kinetiq-research/asset-metadata",
3
+ "version": "1.1.1",
4
+ "description": "Asset metadata (descriptions, oracle references) for Kinetiq markets",
5
+ "type": "module",
6
+ "sideEffects": false,
7
+ "exports": {
8
+ "./get-asset-metadata": "./src/get-asset-metadata.ts"
9
+ },
10
+ "publishConfig": {
11
+ "access": "public"
12
+ },
13
+ "scripts": {
14
+ "format": "oxfmt .",
15
+ "lint": "concurrently \"pnpm format\" \"pnpm lint:oxlint\" \"pnpm type-check\"",
16
+ "lint:oxlint": "oxlint --format unix --fix-dangerously .",
17
+ "type-check": "tsc -b",
18
+ "type-check:watch": "pnpm type-check -w --preserveWatchOutput"
19
+ },
20
+ "devDependencies": {
21
+ "@kinetiq-research/tsconfig": "workspace:*"
22
+ }
23
+ }
@@ -0,0 +1,164 @@
1
+ export const assetMetadata: Record<
2
+ string,
3
+ {
4
+ description: string
5
+ descriptionShort: string
6
+ oracleName: string
7
+ oracleUrl: string
8
+ }
9
+ > = {
10
+ 'km:aapl': {
11
+ description:
12
+ 'Apple, Inc. engages in the design, manufacture, and sale of smartphones, personal computers, tablets, wearables and accessories, and other varieties of related services.',
13
+ descriptionShort: 'Apple, Inc.',
14
+ oracleName: 'NASDAQ: AAPL',
15
+ oracleUrl: 'https://www.google.com/finance/quote/AAPL:NASDAQ',
16
+ },
17
+ 'km:baba': {
18
+ description:
19
+ 'Alibaba Group Holding Ltd. is a Chinese multinational technology conglomerate operating across e-commerce, cloud computing, digital media, and financial services.',
20
+ descriptionShort: 'Alibaba Group Holding Ltd.',
21
+ oracleName: 'NYSE: BABA',
22
+ oracleUrl: 'https://www.google.com/finance/quote/BABA:NYSE',
23
+ },
24
+ 'km:bmnr': {
25
+ description:
26
+ 'Bitmine Immersion Technologies, Inc. is a technology company focused on acquiring, holding, and actively managing ETH as its primary treasury reserve asset.',
27
+ descriptionShort: 'Bitmine Immersion Technologies, Inc',
28
+ oracleName: 'NYSEAMERICAN: BMNR',
29
+ oracleUrl: 'https://www.google.com/finance/quote/BMNR:NYSEAMERICAN',
30
+ },
31
+ 'km:gldmine': {
32
+ description:
33
+ 'Tracks a market-cap-weighted index of global companies tied to gold and silver mining activities.',
34
+ descriptionShort: 'Tracks gold and silver mining companies',
35
+ oracleName: 'NYSEARCA: GDX',
36
+ oracleUrl: 'https://www.google.com/finance/quote/GDX:NYSEARCA',
37
+ },
38
+ 'km:gold': {
39
+ description:
40
+ 'Tracks the gold spot price, less expenses and liabilities, using gold bars held in London vaults.',
41
+ descriptionShort: 'Tracks gold spot price',
42
+ oracleName: 'NYSEARCA: GLD',
43
+ oracleUrl: 'https://www.google.com/finance/quote/GLD:NYSEARCA',
44
+ },
45
+ 'km:googl': {
46
+ description:
47
+ 'Alphabet, Inc (Class A). is a holding company, which engages in software, health care, transportation, and other technologies.',
48
+ descriptionShort: 'Alphabet, Inc Class A',
49
+ oracleName: 'NASDAQ: GOOGL',
50
+ oracleUrl: 'https://www.google.com/finance/quote/GOOGL:NASDAQ',
51
+ },
52
+ 'km:jpn225': {
53
+ description:
54
+ "Tracks Japan's top 225 blue-chip stocks on the Tokyo Stock Exchange.",
55
+ descriptionShort: "Tracks Japan's top 225 blue-chip stocks",
56
+ oracleName: 'INDEXNIKKEI: NI225',
57
+ oracleUrl: 'https://www.google.com/finance/quote/NI225:INDEXNIKKEI',
58
+ },
59
+ 'km:mu': {
60
+ description:
61
+ 'Micron Technology, Inc. engages in the provision of innovative memory and storage solutions.',
62
+ descriptionShort: 'Micron Technology, Inc.',
63
+ oracleName: 'NASDAQ: MU',
64
+ oracleUrl: 'https://www.google.com/finance/quote/MU:NASDAQ',
65
+ },
66
+ 'km:nvda': {
67
+ description:
68
+ 'NVIDIA Corporation engages in the design and manufacture of computer graphics processors, chipsets, and related multimedia software.',
69
+ descriptionShort: 'NVIDIA Corporation',
70
+ oracleName: 'NASDAQ: NVDA',
71
+ oracleUrl: 'https://www.google.com/finance/quote/NVDA:NASDAQ',
72
+ },
73
+ 'km:pltr': {
74
+ description:
75
+ 'Palantir Technologies, Inc. engages in the business of building and deploying software platforms that serve as the central operating systems for its customers.',
76
+ descriptionShort: 'Palantir Technologies, Inc.',
77
+ oracleName: 'NASDAQ: PLTR',
78
+ oracleUrl: 'https://www.google.com/finance/quote/PLTR:NASDAQ',
79
+ },
80
+ 'km:rtx': {
81
+ description:
82
+ 'RTX Corporation is an aerospace and defense company, which engages in the provision of aerospace and defense systems and services for commercial, military, and government customers.',
83
+ descriptionShort: 'RTX Corporation',
84
+ oracleName: 'NYSE: RTX',
85
+ oracleUrl: 'https://www.google.com/finance/quote/RTX:NYSE',
86
+ },
87
+ 'km:semi': {
88
+ description:
89
+ 'Tracks a modified market-cap-weighted index of 30 US-listed semiconductor companies.',
90
+ descriptionShort: 'Tracks 30 US-listed semiconductor companies',
91
+ oracleName: 'NASDAQ: SOXX',
92
+ oracleUrl: 'https://www.google.com/finance/quote/SOXX:NASDAQ',
93
+ },
94
+ 'km:silver': {
95
+ description:
96
+ 'Tracks the silver spot price, less expenses and liabilities, using silver bullion held in London.',
97
+ descriptionShort: 'Tracks silver spot price',
98
+ oracleName: 'NYSEARCA: SLV',
99
+ oracleUrl: 'https://www.google.com/finance/quote/SLV:NYSEARCA',
100
+ },
101
+ 'km:small2000': {
102
+ description:
103
+ 'Tracks a market-cap-weighted index of US small-cap stocks. The index selects stocks ranked 1,001-3,000 by market cap.',
104
+ descriptionShort: 'Tracks 2000 US small-cap stocks',
105
+ oracleName: 'NYSEARCA: IWM',
106
+ oracleUrl: 'https://www.google.com/finance/quote/IWM:NYSEARCA',
107
+ },
108
+ 'km:tencent': {
109
+ description:
110
+ 'Tencent Holdings Ltd. is a leading multinational technology conglomerate and the world\'s largest video game publisher. It operates a vast ecosystem, including the WeChat "super-app" (1.3 billion+ users), FinTech, cloud services, and online advertising.',
111
+ descriptionShort: 'Tencent Holdings Ltd.',
112
+ oracleName: 'HKG: 0700',
113
+ oracleUrl: 'https://www.google.com/finance/quote/0700:HKG',
114
+ },
115
+ 'km:tsla': {
116
+ description:
117
+ 'Tesla, Inc. engages in the design, development, manufacture, and sale of electric vehicles and energy generation and storage systems.',
118
+ descriptionShort: 'Tesla, Inc.',
119
+ oracleName: 'NASDAQ: TSLA',
120
+ oracleUrl: 'https://www.google.com/finance/quote/TSLA:NASDAQ',
121
+ },
122
+ 'km:us500': {
123
+ description:
124
+ 'Tracks a market cap-weighted index of the 500 largest US large- and mid-cap stocks.',
125
+ descriptionShort: 'Tracks 500 leading US large-cap stocks',
126
+ oracleName: 'NYSEARCA: SPY',
127
+ oracleUrl: 'https://www.google.com/finance/quote/SPY:NYSEARCA',
128
+ },
129
+ 'km:usbond': {
130
+ description:
131
+ 'Tracks a market-weighted index of debt issued by the US Treasury with remaining maturities of 20 years or more.',
132
+ descriptionShort: 'Tracks long-duration US Treasury bonds',
133
+ oracleName: 'NASDAQ: TLT',
134
+ oracleUrl: 'https://www.google.com/finance/quote/TLT:NASDAQ',
135
+ },
136
+ 'km:usenergy': {
137
+ description:
138
+ 'Tracks a market-cap-weighted index of US energy companies in the S&P 500.',
139
+ descriptionShort: 'Tracks US energy company stocks',
140
+ oracleName: 'NYSEARCA: XLE',
141
+ oracleUrl: 'https://www.google.com/finance/quote/XLE:NYSEARCA',
142
+ },
143
+ 'km:usoil': {
144
+ description:
145
+ 'Tracks predominantly short-term futures contracts on WTI crude oil.',
146
+ descriptionShort: 'Tracks crude oil short-term futures',
147
+ oracleName: 'NYSEARCA: USO',
148
+ oracleUrl: 'https://www.google.com/finance/quote/USO:NYSEARCA',
149
+ },
150
+ 'km:ustech': {
151
+ description:
152
+ 'Tracks a modified-market-cap-weighted index of 100 NASDAQ-listed stocks.',
153
+ descriptionShort: 'Tracks 100 leading NASDAQ stocks',
154
+ oracleName: 'NASDAQ: QQQ',
155
+ oracleUrl: 'https://www.google.com/finance/quote/QQQ:NASDAQ',
156
+ },
157
+ 'km:xiaomi': {
158
+ description:
159
+ 'Xiaomi Corporation engages in the design, manufacture and sale of smartphone, hardware and software products.',
160
+ descriptionShort: 'Xiaomi Corporation',
161
+ oracleName: 'HKG: 1810',
162
+ oracleUrl: 'https://www.google.com/finance/quote/1810:HKG',
163
+ },
164
+ }
@@ -0,0 +1,21 @@
1
+ import { assetMetadata } from './asset-metadata'
2
+
3
+ export interface AssetMetadata {
4
+ description: string | undefined
5
+ descriptionShort: string | undefined
6
+ oracleName: string | undefined
7
+ oracleUrl: string | undefined
8
+ }
9
+
10
+ const EMPTY_METADATA: AssetMetadata = {
11
+ description: undefined,
12
+ descriptionShort: undefined,
13
+ oracleName: undefined,
14
+ oracleUrl: undefined,
15
+ }
16
+
17
+ export const getAssetMetadata = ({
18
+ symbol,
19
+ }: {
20
+ symbol: string
21
+ }): AssetMetadata => assetMetadata[symbol.toLowerCase()] ?? EMPTY_METADATA
package/tsconfig.json ADDED
@@ -0,0 +1,9 @@
1
+ {
2
+ "compilerOptions": {
3
+ "outDir": "./dist",
4
+ "rootDir": "./"
5
+ },
6
+ "exclude": ["dist", "node_modules"],
7
+ "extends": "@kinetiq-research/tsconfig/base.json",
8
+ "include": ["."]
9
+ }