Skip to content

Commit fa34fe9

Browse files
authored
market-status: Use NCFX as primary for forex and metals markets (#3498)
1 parent feff94f commit fa34fe9

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.changeset/fair-goats-carry.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@chainlink/market-status-adapter': minor
3+
---
4+
5+
Use NCFX as primary for forex and metals markets

packages/composites/market-status/src/config/adapters.ts

+9-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,17 @@ export const adapterNames = ['NCFX', 'TRADINGHOURS'] as const
33
export type AdapterName = (typeof adapterNames)[number]
44

55
// Mapping from market to primary and secondary adapters.
6-
export const marketAdapters: Record<string, Record<'primary' | 'secondary', AdapterName>> = {
6+
export const marketAdapters: Record<string, { primary: AdapterName; secondary: AdapterName }> = {
77
__default: {
88
primary: 'TRADINGHOURS',
99
secondary: 'NCFX',
1010
},
11+
forex: {
12+
primary: 'NCFX',
13+
secondary: 'TRADINGHOURS',
14+
},
15+
metals: {
16+
primary: 'NCFX',
17+
secondary: 'TRADINGHOURS',
18+
},
1119
}

0 commit comments

Comments
 (0)