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

# Long

> Learn more about the /perp long command.

## Overview

You can use `/perp long` command to open long positions on [Hyperliquid](https://app.hyperliquid.xyz/trade).

<Accordion title="Command arguments">
  <ParamField body="asset" type="string" required>
    Name of the asset to open a long position for
  </ParamField>

  <ParamField body="margin" type="string" required>
    Margin to use for the position (use "%" or "\$" for relative amounts)
  </ParamField>

  <ParamField body="leverage" type="number" required>
    Leverage to use for your position.
  </ParamField>

  <ParamField body="target-price" type="string">
    Position will be opened below this price (use "%" for relative decrease)
  </ParamField>

  <ParamField body="stop-loss-price" type="string">
    Position will be closed below this price to limit loss (use "%" for relative decrease)
  </ParamField>

  <ParamField body="take-profit-price" type="string">
    Position will be closed above this price to save profit (use "%" for relative increase)
  </ParamField>

  <ParamField body="margin-mode" type="string" default="isolated">
    Margin mode to use for the position. Choose `isolated` or `cross`.
  </ParamField>
</Accordion>

<Frame caption={"Opening a long position in Discord"}>
  <img src="https://mintcdn.com/flipsuite/gnl1Ix9GlwvPScXH/images/modules/trading/long-command.png?fit=max&auto=format&n=gnl1Ix9GlwvPScXH&q=85&s=5dfb21208b5e9be41d94dbffe560127b" className="rounded-lg" width="874" height="103" data-path="images/modules/trading/long-command.png" />
</Frame>

If perp trading is enabled for the token you've entered, you will get a quote for your position:

<Frame caption={"Long position open confirmation"}>
  <img src="https://mintcdn.com/flipsuite/gnl1Ix9GlwvPScXH/images/modules/trading/long-quote.png?fit=max&auto=format&n=gnl1Ix9GlwvPScXH&q=85&s=12244d9528297b0b9141579d71f724f2" className="rounded-lg" width="448" height="453" data-path="images/modules/trading/long-quote.png" />
</Frame>

If you're satisfied with your position, simply click the **open long position** button to open it.

<Frame caption={"Successful position opening"}>
  <img src="https://mintcdn.com/flipsuite/gnl1Ix9GlwvPScXH/images/modules/trading/long-result.png?fit=max&auto=format&n=gnl1Ix9GlwvPScXH&q=85&s=c182fb208d5af37d2341899fcfe37655" className="rounded-lg" width="444" height="464" data-path="images/modules/trading/long-result.png" />
</Frame>

You will be notified via DMs once your position is fulfilled or closed.

<Tip>
  You can use the [/perp positions](/modules/trading/commands/positions) command in Discord to view all your open positions.
</Tip>
