> ## Documentation Index
> Fetch the complete documentation index at: https://staging-docs.orderly.network/llms.txt
> Use this file to discover all available pages before exploring further.

# useMaxQty

> Hook to get the maximum tradeable quantity for a symbol and order side.

Receive max quantity available for trading.

* [Tech docs](/sdks/tech-doc/modules/orderly_network_hooks#usemaxqty)

### Example

```ts theme={null}
const maxQty: number = useMaxQty("PERP_ETH_USDC", OrderSide.BUY);
```
