Skip to content

Commit 1e100f6

Browse files
committed
docs: spot sell
1 parent 43aca2c commit 1e100f6

File tree

2 files changed

+404
-2
lines changed

2 files changed

+404
-2
lines changed

docs/ability/official-abilities/hyperliquid/spot-trading/buy.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The `precheck` function validates some prerequisites for executing a spot buy, w
2323
For the `spotBuy` action, the `precheck` function will validate the following:
2424

2525
- The trading pair symbol is a valid Hyperliquid trading pair (e.g., "PURR/USDC").
26-
- The Vincent User Agent Wallet has sufficient balance for the quote asset in their HyperCore spot balance to cover the purchase amount. The quote asset is the second asset in the trading pair (e.g., USDC in "PURR/USDC").
26+
- The Vincent User Agent Wallet has sufficient balance for the quote asset in their HyperCore spot balance to cover the purchase amount. The quote asset is the second asset in the trading pair (e.g. USDC in "PURR/USDC").
2727

2828
<Tabs>
2929
<Tab title="Parameters">
@@ -313,7 +313,7 @@ For the `spotBuy` action, the `execute` function will:
313313

314314
<Accordion title="Getting Current Market Prices" icon="chart-line">
315315
You'll need to fetch the current market price before placing an order. Use the Hyperliquid API or
316-
SDK to get the mid price for your trading pair, then adjust it based on your strategy (e.g., 1%
316+
SDK to get the mid price for your trading pair, then adjust it based on your strategy (e.g. 1%
317317
above mid price for market buys).
318318
</Accordion>
319319

0 commit comments

Comments
 (0)