# Trade Links

Source: https://docs.tradeit.app/trade-links

> **Best for:** blogs, newsletters, research providers, creator communities, Discord servers, and any product that wants to add trading without server-side integration work.

Trade Links are the fastest way to turn your investing content into an actionable trading experience.

If your strength is:

- publishing trade ideas
- sharing due diligence
- running a paid investing community
- writing newsletters
- building watchlists and research tools

...you probably don't want to spend months building brokerage integrations and trading UIs. Trade Links let you skip all of that and still offer a real trading experience to your followers.

Just share a link with the ticker and trade details (buy/sell, amount, order type, etc.), and your users open a prefilled trading page on Trade It. They can sign up, connect a brokerage, and place the trade in seconds.

This is the "start today" path.

## Example 1: Simple Buy Order [#example-1-simple-buy-order]

```txt
https://tradeit.app/t/AAPL?tt=0&t=buy&a=100&u=dollars&ot=market&tif=day
```

[See it in action](https://tradeit.app/t/AAPL?tt=0&t=buy&a=100&u=dollars&ot=market&tif=day)

![Trade It order ticket buying $100 of Apple at market](https://images.tradeit.app/docs/trade_buy.png?v=2)

What the user sees when opening this trade link

## Example 2: Bracket Order [#example-2-bracket-order]

Attach entry & exit criteria to a simple Buy entry so the resulting long position opens at a given price and closes automatically. Options do not support bracket orders. On brokerages that accept OCO sells, a Sell can carry both a take-profit and a stop-loss as a one-cancels-other order. Support varies by brokerage (see [Supported Brokerages](/brokerages)).

```txt
https://tradeit.app/t/AAPL?tt=0&t=buy&a=100&u=dollars&ot=stop_limit&lp=355&sp=350&tif=gtc&tp=25%25&sl=10%25
```

[See it in action](https://tradeit.app/t/AAPL?tt=0&t=buy&a=100&u=dollars&ot=stop_limit&lp=355&sp=350&tif=gtc&tp=25%25&sl=10%25)

![Trade It order ticket with a stop-limit entry, take profit, and stop loss](https://images.tradeit.app/docs/trade_entry_exit.png?v=2)

What the user sees when opening this trade link

## Example 3: Multi-leg Option Order [#example-3-multi-leg-option-order]

```txt
https://tradeit.app/t/AAPL?tt=1&dir=credit&ot=limit&lp=15.48&tif=day&legs=%5B%7B%22type%22%3A%22option%22%2C%22action%22%3A%22sell%22%2C%22position_effect%22%3A%22open%22%2C%22occ%22%3A%22280121C00340000%22%2C%22quantity%22%3A1%7D%2C%7B%22type%22%3A%22option%22%2C%22action%22%3A%22buy%22%2C%22position_effect%22%3A%22open%22%2C%22occ%22%3A%22280121C00370000%22%2C%22quantity%22%3A1%7D%5D
```

[See it in action](https://tradeit.app/t/AAPL?tt=1&dir=credit&ot=limit&lp=15.48&tif=day&legs=%5B%7B%22type%22%3A%22option%22%2C%22action%22%3A%22sell%22%2C%22position_effect%22%3A%22open%22%2C%22occ%22%3A%22280121C00340000%22%2C%22quantity%22%3A1%7D%2C%7B%22type%22%3A%22option%22%2C%22action%22%3A%22buy%22%2C%22position_effect%22%3A%22open%22%2C%22occ%22%3A%22280121C00370000%22%2C%22quantity%22%3A1%7D%5D)

![Trade It order ticket for an Apple call credit spread](https://images.tradeit.app/docs/trade_options.png?v=2)

What the user sees when opening this trade link

## Trade Link URL Format [#trade-link-url-format]

```txt
https://tradeit.app/t/<TICKER>?<params>
```

Example:

- Path ticker: `AAPL` (or crypto like `BTC-USD`)
- Query params: trade parameters (simple or multi-leg)

## Parameters [#parameters]

These are the parameters that define a trade. Some have defaults if omitted.

- **`tt`** · `number`

0 for a single buy or sell using action, amount, and unit; 1 for an options or multi-leg trade using legs and direction.

Allowed values: `0`, `1`.

- **`t`** · `string`

Whether a simple trade buys or sells. Set when trade_type is 0.

Allowed values: `buy`, `sell`.

- **`a`** · `number`

How much a simple trade buys or sells,, as dollars or shares per unit.

- **`u`** · `string`

Whether amount is a dollar value or a share count.

Allowed values: `dollars`, `shares`.

- **`ot`** · `string`

How the order is priced. Omit for a market order.

Allowed values: `market`, `limit`, `stop`, `stop_limit`.

- **`dir`** · `string`

Net cash flow of a multi-leg trade: debit when paying, credit when receiving, even for zero-net.

Allowed values: `debit`, `credit`, `even`.

- **`lp`** · `number`

Limit price in the asset currency for limit and stop_limit orders; per spread unit for multi-leg trades, where 0 with direction even means zero-net.

- **`sp`** · `number`

Price in the asset currency that triggers stop and stop_limit orders.

- **`tif`** · `string`

How long the order stays open: day expires at market close, gtc stays open until canceled. Omit to use the brokerage default.

Allowed values: `day`, `gtc`, `ioc`, `fok`.

- **`tp`** · `number | string`

Simple Buy trades only. A bare number is an absolute price; a trailing `%` is a move from the entry reference price. Brokerage support varies.

- **`sl`** · `number | string`

Simple Buy trades only. A bare number is an absolute price; a trailing `%` is a move from the entry reference price. Brokerage support varies.

- **`legs`** · `object[]`

Options or multi-leg trades only. Serialize this array as JSON and URL-encode it before placing it in the query string. Required when tt is 1.

- **`legs[]`** · `object`

- **`legs[].type`** · `string` · required

Whether the leg trades an option or the underlying stock.

Allowed values: `option`, `equity`.

- **`legs[].action`** · `string` · required

Whether the leg buys or sells.

Allowed values: `buy`, `sell`.

- **`legs[].position_effect`** · `string | null` · required

Whether the leg opens or closes a position.

Allowed values: `open`, `close`.

- **`legs[].occ`** · `string | null` · required

OCC option contract symbol, e.g. 260717C00435000. Null for stock legs.

- **`legs[].quantity`** · `number` · required

Number of option contracts, or shares for a stock leg.

- **`ref`** · `string`

Referral source label stored with the link for tracking, e.g. a newsletter name.

## Integrate into your platform [#integrate-into-your-platform]

To sign users in with Trade It, read their accounts and holdings, and embed connection and trading modals, follow the [Platform Integration guide](/sdk). Start with our AI Skill or use the step-by-step manual setup.
