API REFERENCE

StockDrawingInput

The StockDrawingInput type declaration and related types. Optional fields are marked with ?.

Type declaration

typescript
export interface StockDrawingInput {
  readonly id?: string;
  readonly tool: string;
  readonly anchors: ReadonlyArray<{ time: number | string | Date; price: number }>;
  readonly style?: DrawingStyle;
  readonly locked?: boolean;
  readonly visible?: boolean;
  readonly meta?: Readonly<Record<string, string | number | boolean>>;
}