Webhooks & API

Correct JSON Structure for TradersPost Take Profit Webhooks

Learn how to configure TradersPost take profit webhooks with proper JSON examples, including percentage-based, absolute price, and combined stop-loss setups.

Tom Hartman

Marketing

2 Min Read Reviewed by Mike Christensen Fact-checked by Mike Christensen
BluSky — The Future of Trading. Prop firm futures trading. Sign up at BluSky.pro.

TradersPost allows seamless automation of trading strategies through webhooks. For features like take profit, following the correct JSON structure is crucial to ensure trades execute as intended. This guide explains the proper webhook JSON format for configuring take profit and how to integrate it into your trading strategy.

Understanding the JSON Structure for Take Profit

A webhook JSON must adhere to TradersPost’s documented standards. The required fields ensure your broker receives precise instructions. Here's how to set up a take profit with webhook JSON:

Example: Basic Take Profit Webhook

{
 "ticker": "BTCUSD",
 "action": "buy",
 "orderType": "market",
 "quantity": 1,
 "takeProfit": {
   "amount": 1000
 }
}

Explanation:

  • "ticker": The symbol for the asset to trade (e.g., Bitcoin/US Dollar pair).
  • "action": The trading action (e.g., "buy", "sell", "exit").
  • "orderType": Defines the type of order ("market", "limit", etc.).
  • "quantity": Number of units to trade.
  • "takeProfit": Contains the profit-taking parameters.
    • "amount": Sets a $1,000 profit target relative to the entry price.

Advanced Configurations

1. Percentage-Based Take Profit

Set a take profit relative to the entry price as a percentage.

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

This configuration will trigger a profit-taking order 10% above the entry price.

2. Absolute Price Take Profit

Use an exact price level for your take profit order.

{
 "ticker": "ETHUSD",
 "action": "buy",
 "orderType": "market",
 "quantity": 2,
 "takeProfit": {
   "limitPrice": 3000
 }
}

Here, the system will set the take profit at $3,000 for Ethereum.

3. Combining Take Profit with Stop Loss

Include both take profit and stop loss in a single webhook for comprehensive risk management.

{
 "ticker": "TSLA",
 "action": "buy",
 "orderType": "market",
 "quantity": 5,
 "takeProfit": {
   "limitPrice": 800
 },
 "stopLoss": {
   "type": "stop",
   "stopPrice": 600
 }
}

Key Additions:

  • "stopLoss": Defines the stop-loss parameters.
    • "type": Specifies the stop-loss type ("stop", "stop_limit", etc.).
    • "stopPrice": Sets the absolute price for triggering the stop loss.

Tips for Successful Webhook Execution

Validate Your JSON

Use a JSON validation tool to confirm the structure is error-free before sending it to TradersPost.

Test in Simulation Mode

Start by testing your webhook configurations in a demo environment to avoid errors in live trading.

Review Broker Capabilities

Ensure your broker supports the specified order types and configurations, such as take profit and stop loss.

Conclusion

Using the correct JSON structure is vital for executing take profit orders in TradersPost. By following the official documentation and using examples like those above, you can automate your trading strategies with precision. Whether you're targeting absolute price levels, percentages, or combining take profit with stop loss, the flexibility of TradersPost ensures your trading goals are achievable.

  • Video
    Webhooks & API Nov 18, 2025

    Are JSON Properties Case Sensitive?

    JSON properties in TradersPost are case sensitive. Users should copy property names directly from the documentation to ensure correct formatting and avoid execution errors.

  • Webhooks & API Sep 3, 2025

    TradersPost vs Capitalise AI Comparison

    Comprehensive broker API comparison: access requirements, rate limits, and integration capabilities for automated trading.

  • Webhooks & API Sep 3, 2025

    Is Capitalise.ai Legit? Review and Alternatives

    Capitalise.ai was acquired by Kraken in August 2025 and is being integrated into Kraken Pro. Learn about alternatives like TradersPost.

  • Webhooks & API Sep 3, 2025

    Does Merrill Edge Have API?

    Merrill Edge API access explained: availability, documentation, rate limits, and integration requirements for developers.

Start trading at scale today. Sign up for free.

Free 7-day trial

Set-up in 3 minutes

Paper account for testing

TradersPost operates as a non-custodial automated trading platform, enabling users to connect alerts from their preferred trading platforms to their selected brokerage or exchange accounts. It abstains from the transmission, custody, or management of customer funds, covering both traditional and cryptocurrency assets. Typically, registration requirements set by regulatory entities such as the SEC, FINRA, or FinCEN apply to entities that hold or transmit customer funds. To ensure ongoing compliance, TradersPost regularly engages with regulatory authorities to confirm its adherence to all relevant local and federal laws.

TradersPost does not provide alerts, signals, research, analysis, or trading advice of any kind. It is designed to assist traders and investors in making their own trading decisions based on their alerts. The platform does not offer recommendations regarding securities to buy or sell, nor does it provide trading or investing advice. The platform and its features, capabilities, and tools are provided 'as-is' without any warranty.

Risk Disclosure: The use of automated trading systems involves inherent risks, including the potential for significant financial loss. These systems operate based on predetermined algorithms that may not fully adapt to changing market conditions, possibly making them unsuitable for some investors. Individuals are advised to thoroughly assess their financial situation and risk tolerance before using this platform.

Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

© 2026 TradersPost, Inc. All rights reserved.