Send a batch of signal messages
The ID of the signal to send a message to.
Optional parameter to indicate a test message. This message will be ignored by Trading Sessions if true.
A batch of Signal Messages
A message to open a new entry.
EntryOpen The market the message is for. For example 'BTC-USD'.
The side of the signal.
Long, Short Overrides for the default entry settings.
An optional external ID to associate with the entry.
[
{
"type": "EntryOpen",
"market": "BTC-USD",
"side": "Long"
},
{
"type": "EntryClose",
"market": "BTC-USD",
"target": { "type": "All" },
"side": "Long"
},
{
"type": "EntrySetExits",
"market": "ETH-USD",
"target": { "type": "LastOnly" },
"stopLoss": {
"type": "AverageEntry",
"offsetPercentage": 2,
"inBreachSeconds": 60
}
}
]
OK