The Signal endpoints enable your bot to send and manage signals.
A signal is a mini-strategy that allows your bot to define an entry point, close targets and
stop-loss level. BEM will generate the corresponding orders and send them to the exchange at
the appropriate time.
[POST] placeSignal
Description
Send a signal to the platform
Parameters
(Body)
Name
Type
Description
Mandatory
signalProvider
string
Name of the Bot
Yes
signalProviderKey
string
Secret key
Yes
extId
string
ID generated by bot. Please note that the ID should be unique. Signals with non-unique extIds will be rejected.
Yes
exchange
string
Target exchange for the signal
Yes
baseAsset
string
Base asset of the signal
Yes
quoteAsset
string
Quote asset of the signal
Yes
direction
string
‘buy2sell’ or ‘sell2buy’
Yes
openLimitPrice
string
The level at which to open the position
Yes
openQtyPct
string
The percentage of available asset to use
Yes
openQtyAbs
string
Absolute value to use
Only Internal
openTtlType
string
Time To Last type for the opening order, ‘gtc’ or ‘secs’
Yes
openTtlSecs
string
Time To Last seconds
Yes if type = ‘secs’
closeTargets
[CloseTarget]
Array of CloseTargets
Yes
closeTtlType
string
Time to Last type for close orders, ‘gtc’ or ‘secs’
Yes
closeTtlSecs
string
Time to Last seconds if type = ‘secs’
Yes if type = ‘secs’
slLimitPricePct
string
Stoploss order limit as pct of openLimitPrice (e.g. 98.5)
No
slLimitPriceAbs
string
Absolute value stoploss order limit price
No
slStopPricePct
string
Stop loss trigger level as pct of openLimitPrice (e.g. 99)
No
slStopPriceAbs
string
Stop loss trigger level as absolute value
No
CloseTarget
Name
Type
Description
Mandatory
qtyPct
string
Percentage to close
Yes
limitPricePct
string
Percentage of average execution price of opening order (e.g. 105)