Skip to content
EliteChart

Volume

Documentation


Documentation / @elitechart/core / Volume

code
type Volume = number & {
  __brand: "Volume";
};

Defined in: data/primitives.ts:42

Volume in the instrument's native unit (shares, contracts, base-asset for crypto). Non-negative, finite.

Type Declaration

__brand

code
readonly __brand: "Volume";

Example

code
import { asVolume } from '@elitechart/core';
const v: Volume = asVolume(1_250);