TradingPage
is an App page containing full trading functionalities, and includes the following components:
TradingPage
:
OrderlyAppProvider
- for global settings, state managements, Account
instance etc.ConnectorProvider
compoenent within @orderly.network/web3-onboard
. For more details, please see this page.symbol
propertyonSymbolChange
event. This is an optional property, but user will not be able to change the active symbol if this is not set. Please see the API for more details.string
PERP_ETH_USDC
.
(symbol: API.Symbol) => void
TradingViewConfig
@orderly.network/react
does not include the tradingView
library, you would have to configure the path for the tradingView
Advanced Charts js library. After that, the @orderly.network/react
package will use the configured library to load the tradingView
scripts and create a k-line chart.