Positions

To get an overview of the different asset positions of a bot, use the getBotAssetsPct endpoint.

[GET] getBotAssetsPct

Description

Get an overview of the (relative) asset positions of a bot.

Parameters

(Body)

Name Type Description Mandatory
signalProvider string Name of the Bot Yes
signalProviderKey string Secret key Yes
exchange string Yes
baseAsset string Yes

Example

curl -X 'GET' \
  'https://signal.revenyou.io/paper/api/signal/v2/getBotAssetsPct?signalProvider=MyBot&signalProviderKey=MyKey&exchange=binance&baseAsset=BTC' \
  -H 'accept: application/xml'

Response

Name Type Description Mandatory
succes string ‘true’ or ‘false’ Yes
signalProvider string Yes
exchange string Yes
baseAsset string Yes
baseTotal string Yes
amounts [Asset Info] No

Asset Info

Name Type Description Mandatory
exchange string Exchange of this asset Yes
asset string Yes
signalId string Yes
orderId string Yes
amount string Yes
amountBase string Yes