Skip to content

Commit 4078022

Browse files
committed
Comments
1 parent bb3fbc1 commit 4078022

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/adapter/market-status.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const marketStatusEndpointInputParametersDefinition = {
1414
type: {
1515
type: 'string',
1616
description: 'Type of the market status',
17-
options: ['regular', '245'],
17+
options: ['regular', '24/5'],
1818
default: 'regular',
1919
},
2020
} as const
@@ -25,8 +25,7 @@ export enum MarketStatus {
2525
OPEN = 2,
2626
}
2727

28-
// 24/5
29-
export enum TwoFourFiveMarketStatus {
28+
export enum TwentyfourFiveMarketStatus {
3029
UNKNOWN = 0,
3130
PRE_MARKET = 11,
3231
REGULAR = 12,
@@ -35,7 +34,7 @@ export enum TwoFourFiveMarketStatus {
3534
WEEKEND = 15,
3635
}
3736

38-
type AggregatedMarketStatus = MarketStatus | TwoFourFiveMarketStatus
37+
type AggregatedMarketStatus = MarketStatus | TwentyfourFiveMarketStatus
3938

4039
export type MarketStatusResultResponse = {
4140
Result: AggregatedMarketStatus

0 commit comments

Comments
 (0)