Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
dydxwill committed Sep 23, 2024
1 parent c3e9520 commit 0ebd56d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions indexer/packages/postgres/src/models/perpetual-market-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,18 @@ export default class PerpetualMarketModel extends Model {
ticker: { type: 'string' },
marketId: { type: 'integer' },
status: { type: 'string', enum: [...Object.values(PerpetualMarketStatus)] },
priceChange24H: { type: 'string', pattern: NumericPattern, nullable: true }, // Optional
volume24H: { type: 'string', pattern: NonNegativeNumericPattern, nullable: true }, // Optional
trades24H: { type: 'integer', nullable: true }, // Optional
nextFundingRate: { type: 'string', pattern: NumericPattern, nullable: true }, // Optional
openInterest: { type: 'string', pattern: NumericPattern, nullable: true }, // Optional
priceChange24H: { type: 'string', pattern: NumericPattern, nullable: true },
volume24H: { type: 'string', pattern: NonNegativeNumericPattern, nullable: true },
trades24H: { type: 'integer', nullable: true },
nextFundingRate: { type: 'string', pattern: NumericPattern, nullable: true },
openInterest: { type: 'string', pattern: NumericPattern, nullable: true },
quantumConversionExponent: { type: 'integer' },
atomicResolution: { type: 'integer' },
subticksPerTick: { type: 'integer' },
stepBaseQuantums: { type: 'integer' },
liquidityTierId: { type: 'integer' },
marketType: { type: 'string' },
baseOpenInterest: { type: 'string', pattern: NumericPattern, nullable: true }, // Optional
baseOpenInterest: { type: 'string', pattern: NumericPattern, nullable: true },
},
};
}
Expand Down

0 comments on commit 0ebd56d

Please sign in to comment.