Orderly home page
latest
Search...
⌘K
Ask AI
Socials
Get in Touch
Get a Grant
Get a Grant
Search...
Navigation
Assets
useMaxQty
Home
Introduction
Build on Omnichain
NEAR
SDKs
Strategy Vault
Troubleshooting
Changelog
Software Development Kits
List of SDKs
Changelog
Migrate to SDK v2
[EVM] React Components SDK
Overview
Getting started
Theming
Wallet connect
Framework Guides
Page Components
Block Components
[EVM] React Hooks SDK
Overview
Setup
API Requests
Utility
Account
Assets
Overview
useCollateral
useMaxQty
useChain
useChains
useDeposit
useWithdraw
useHoldingStream
Market Data
Orders
Positions
Funding
Referral
[EVM] Core SDK
Overview
[EVM] Perp SDK
Overview
Technical Documentation
README
Modules
Modules
Interfaces
Enums
Classes
On this page
Example
Assets
useMaxQty
Receive max quantity available for trading.
Tech docs
Example
Copy
Ask AI
const
maxQty
:
number
=
useMaxQty
(
"PERP_ETH_USDC"
,
OrderSide
.
BUY
);
useCollateral
useChain
Assistant
Responses are generated using AI and may contain mistakes.