# Trade ticket

> A market or limit order for one instrument, quantity typed or set from buying power, then Buy or Sell.

Source: https://ritla.app/ui/blocks/trade-ticket

Live preview: https://ritla.app/_kanz/preview/ltr/block-trade-ticket

## Installation

Installing from the registry opens at launch. These are the commands you will run.

```bash
npx ritla add trade-ticket
```

With the shadcn CLI instead:

```bash
npx shadcn@latest add @ritla/trade-ticket
```

## Built from

- [Alert](https://ritla.app/ui/alert.md)
- [Number Input](https://ritla.app/ui/number-input.md)
- [Slider](https://ritla.app/ui/slider.md)
- [Tag](https://ritla.app/ui/tag.md)
- [Toggle Group](https://ritla.app/ui/toggle-group.md)
- [Trade Action](https://ritla.app/ui/trade-action.md)

## Arabic and RTL notes

Mirrors:

- Buy sits at the inline start, on the right in Arabic; the slider fills from the right.

Does not mirror:

- Buy stays green and Sell red: colors never swap with direction.
- The ticker stays left to right.

Numerals: Price, change, quantity and totals follow the numerals setting.
