Custom Rule Signal
Coinrule User ID
Hook ID to identify the signal source.
Hook token to authenticate the signal source.
Order side ("buy" or "sell").
Product symbol (e.g. BTCUSD_PERP). If provided, baseCoin and quoteCoin should not be provided. For spot trading, better to use baseCoin and quoteCoin instead, or alternatively send this value in a format baseCoin/quoteCoin.
Base coin for spot trading (e.g. BTC).
Quote coin for spot trading (e.g. USD). If provided, the wallet in the rule will be checked for this coin - it does not overwrite the wallet coin. If not matched, the signal will be ignored.
Amount value to trade. If provided, it will overwrite the action amount in the rule. If multiple actions are present, the amount will be applied to all of them. Required when amount symbol is provided.
Amount symbol to trade (currently only "%" is supported). Required when amount value is provided.
POST /signal HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 159
{
"userId": "text",
"hookId": "text",
"hookToken": "text",
"side": "buy",
"product": "text",
"baseCoin": "text",
"quoteCoin": "text",
"amountValue": "text",
"amountSymbol": "%"
}
{
"success": true
}