Futures Calculator
calculate_futuresTick value, the value of a one-point move and the profit or loss of a trade for CME Group futures such as ES, MES, NQ, MNQ, CL, GC and 6E. Same calculation as the Futures Calculator page at https://forexdemo.com/futures-calculator.html. Every input is optional unless marked required; left-out inputs use the page's defaults, which are listed in the reply.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"contract": "<contract>"
},
"name": "calculate_futures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fee | No | Optional fee per contract, in US dollars. | |
| exit | No | Exit price (mode prices). | |
| mode | No | prices: profit or loss from entry and exit prices. move: value of a move. dollars: the move that makes a dollar amount. | prices |
| side | No | buy (long) or sell (short). | buy |
| stop | No | Optional stop price (mode prices). | |
| entry | No | Entry price (mode prices). | |
| amount | No | Dollar amount (mode dollars). | |
| contract | Yes | Contract symbol, or custom with tickSize and tickValue. | |
| feeBasis | No | side or round trip. | side |
| moveSize | No | Size of the move (mode move). | |
| moveUnit | No | Unit of moveSize: move (the contract's own point, pip or dollar step) or ticks. | move |
| tickSize | No | Custom contract only: tick size. | |
| contracts | No | Number of contracts. | |
| tickValue | No | Custom contract only: tick value in US dollars. |