create_contract
Define a trading contract with type, symbol, and optional details for stocks, options, futures, forex, indices, CFDs, crypto, or bonds.
Instructions
Create a contract for trading. Types: stock, option, future, forex, index, cfd, crypto, bond.
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_type": "<contract_type>",
"symbol": "<symbol>"
},
"name": "create_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contract_type | Yes | Contract type | |
| symbol | Yes | Symbol (e.g., AAPL, EURUSD) | |
| exchange | No | Exchange | SMART |
| currency | No | Currency | USD |
| expiry | No | Expiry date for options/futures (YYYYMMDD) | |
| strike | No | Strike price for options | |
| right | No | Option right: C (call) or P (put) | |
| multiplier | No | Contract multiplier |