# StockTradeInput

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

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

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

## Type declaration

```typescript
export interface StockTradeInput {
  readonly time: number | string | Date;
  readonly side: TradeSide;
  readonly price: number;
  readonly quantity?: number;
  readonly id?: string;
  readonly label?: string;
}
```

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

## Related types

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