Skip to content
EliteChart

Volume

Documentation


Documentation / @elitechart/elitechart / Volume

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

Defined in: core/dist/index.d.ts:43

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);