# Futures Trading

StockHero supports the trading of futures contracts. This feature is only available through selected brokerages supported by StockHero (please refer to the list below).

To trade futures, users must be aware of the funding requirements, which are categorized into two types:

1. **Intra-Day**
2. **Overnight**

By default, the "Overnight" funding requirement is applied. This allows bots to hold futures positions over multiple days.&#x20;

{% hint style="info" %}
Please note that futures trading is considered very high risk. Please seek professional advice before trading futures. Only certain Marketplace strategies are suitable for trading futures. Please contact the StockHero team for the list of strategies.
{% endhint %}

Typically, the overnight funding requirement is higher than the intra-day requirement. As a result, some traders may prefer intra-day trading. To enable a bot to use only the intra-day funding requirement, users must activate the **"Auto-close position at end of trading day"** option on the bot’s **Trade Parameters** page.

Please refer to the list below for the specific funding requirements of each supported brokerage.

### Additional Risk Management in Futures Trading

StockHero offers the option to limit the total number of contracts that the bot can buy through the option "Max No. of Contracts". This safeguard ensures that your trading strategy does not exceed your desired position size. Let us illustrate with an example.

Max No. of Contracts = 3

Time T: Bot opens a position and buys 2 contracts.

T+1: Bot buys again with 3 additional contracts (for a total of 5). However, before sending the order to the brokerage, the bot will check against the Max No. of Contracts value and determine that only 1 additional contract can be purchased.  Bot sends an order to the brokerage for only 1 contract, instead of 3.

Leave 0 or blank for this option in order to disable it.

***

**List of brokerages that support futures trading:**

* TradeStation Futures ([Funding requirements](https://www.tradestation.com/pricing/futures-margin-requirements/)).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stockhero.ai/getting-started/futures-trading.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
