From 4164d869f94c2172401a268bfc6ebe8b0861f03e Mon Sep 17 00:00:00 2001 From: camcui Date: Fri, 17 Jan 2025 16:02:33 +0800 Subject: [PATCH] chore: fix spelling issues Signed-off-by: camcui --- build-on-omnichain/integration-checklist.mdx | 2 +- sdks/hooks/market-data/use-orderbook-stream.mdx | 2 +- sdks/hooks/orders/use-order-entry.mdx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build-on-omnichain/integration-checklist.mdx b/build-on-omnichain/integration-checklist.mdx index 1bdf0df6..8d769e29 100644 --- a/build-on-omnichain/integration-checklist.mdx +++ b/build-on-omnichain/integration-checklist.mdx @@ -47,7 +47,7 @@ Main flows to cover: Submit reduce-only orders for orders reducing the position, as reduce-only orders don't count - against IMR. If a user wants to close a position and the order is not submited as reduce-only, + against IMR. If a user wants to close a position and the order is not submitted as reduce-only, user might run into IMR requirements issues if they don't have enough margin to submit the order, preventing the user from closing the position. diff --git a/sdks/hooks/market-data/use-orderbook-stream.mdx b/sdks/hooks/market-data/use-orderbook-stream.mdx index 9b5a4998..1c89ba83 100644 --- a/sdks/hooks/market-data/use-orderbook-stream.mdx +++ b/sdks/hooks/market-data/use-orderbook-stream.mdx @@ -17,7 +17,7 @@ const [data, { onDepthChange, isLoading, onItemClick, depth, allDepths }] = useO ); ``` -`useOrderbookStream` returns an array, where the first element is the formatted orderbook data and the second element is an `object` conatining some data regarding the orderbook status. +`useOrderbookStream` returns an array, where the first element is the formatted orderbook data and the second element is an `object` containing some data regarding the orderbook status. ## Data structure diff --git a/sdks/hooks/orders/use-order-entry.mdx b/sdks/hooks/orders/use-order-entry.mdx index aaa72e48..0811b56d 100644 --- a/sdks/hooks/orders/use-order-entry.mdx +++ b/sdks/hooks/orders/use-order-entry.mdx @@ -77,8 +77,8 @@ type OrderEntryReturn = { - `maxQty`: The maximum quantity that the user can trade based on the free collateral. - `freeCollateral`: The amount collateral available for trading, factoring in open positions and pending orders. - `markPrice`: The mark price of the symbol. -- `estLiqPrice`: The estimated liquidation price, if a position is created from given order paramters. -- `estLeverage`: The estimated leverage, if a position is created from given order paramters. +- `estLiqPrice`: The estimated liquidation price, if a position is created from given order parameters. +- `estLeverage`: The estimated leverage, if a position is created from given order parameters. ### Updating values