Back to Signal Fields
Signal Fields

Take profit

Take profit attaches a take profit limit order to the entry, as a bracket. Turn it on to choose its Target: a percent or dollar distance from the entry, an exact price, or a dollar profit on the whole position.

It is ignored if the broker or exchange does not support bracket orders. A take profit in a signal is used only when signal values are allowed for it (Allow signal override next to the take profit settings, or the global Signal overrides); with it off, the strategy's take profit applies. In a signal's JSON it is the takeProfit object.

One kind of target per signal:

Percent from the entry:

{
    "ticker": "AAPL",
    "action": "buy",
    "orderType": "limit",
    "limitPrice": 100,
    "takeProfit": {
        "percent": 10
    }
}

Dollar amount from the entry:

{
    "ticker": "AAPL",
    "action": "buy",
    "orderType": "limit",
    "limitPrice": 100,
    "takeProfit": {
        "amount": 10
    }
}

Exact limit price:

{
    "ticker": "AAPL",
    "action": "buy",
    "orderType": "limit",
    "limitPrice": 100,
    "takeProfit": {
        "limitPrice": 110
    }
}

PnL amount (a dollar profit on the whole position):

{
    "ticker": "AAPL",
    "action": "buy",
    "orderType": "limit",
    "limitPrice": 100,
    "takeProfit": {
        "pnlAmount": 100
    }
}

Every value must be greater than zero. A percent and an amount cannot be sent together, nor a relative value with an exact limit price, and a PnL amount cannot be combined with any other kind.

A take profit and a stop loss can be sent together:

{
    "ticker": "AAPL",
    "action": "buy",
    "orderType": "limit",
    "limitPrice": 100,
    "takeProfit": {
        "percent": 10
    },
    "stopLoss": {
        "type": "stop",
        "percent": 5
    }
}

Ready to put Take profit to work?

Free 7-day trial

Set-up in 3 minutes

Paper account for testing

By continuing, you agree to the TradersPost Terms of Service and Privacy Policy. This site is protected by reCAPTCHA.