We have received multiple requests to include an API request which performs both the login as well as the trade in just one request. Currently, this is not implemented in our API in order to offer an extra layer of security for both our developers as well as our investors.
Still, we do want to offer integrations even with platforms that only offer to send a single request such as TradingView, therefore we have created a redirected webhook which currently is being redirected through our application.
This webhook is a single post that requires these essential fields in order to place an order:
algorithm_id (public address)
secret (secret key)
The following fields are optional
slippage (slippage for trade, default is 0.002 which corresponds to 0.2%)
relative_amount (amount to be sold, default is 1 which corresponds to a full buy /sell)