# CandlestickStreamEvent

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

Canonical: https://chart.syidax.com/docs/types/CandlestickStreamEvent/

<a id="declaration"></a>

## Type declaration

```typescript
export interface CandlestickStreamEvent {
  type: 'push' | 'pushBatch' | 'shift' | 'replace';
  count: number;
  bars: ReadonlyArray<CandlestickBar>;
  replaced: number;
}
```

<a id="related"></a>

## Related types

- [CandlestickBar](https://chart.syidax.com/docs/types/CandlestickBar.md)
