List all active buy trades
GET {{baseUrl}}/v3/trade/buy?id=5e68c66581f2ee32bc354087&customerId=5e68c66581f2ee32bc354087&pageSize=10&offset=0
1 credit per API call.
List all active buy trades.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
id | string | Account ID. If present, list current active buy trades for that account. | |
customerId | string | Customer ID. If present, list current active buy trades for that customer. | |
pageSize | number | (Required) Max number of items per page is 50. | |
offset | number | Offset to obtain next page of the data. |
RESPONSES
status: OK
[{"id":"7c21ed165e294db78b95f0f1","type":"BUY","price":"8650.4","amount":"15000","pair":"BTC/EUR","isMaker":true,"fill":"1500","feeAccountId":"7c21ed165e294db78b95f0f1","fee":1.5,"currency1AccountId":"7c21ed165e294db78b95f0f1","currency2AccountId":"7c21ed165e294db78b95f0f1","created":1585170363103,"attr":{"sealDate":1572031674384,"percentBlock":1.5,"percentPenalty":1.5}},{"id":"7c21ed165e294db78b95f0f1","type":"BUY","price":"8650.4","amount":"15000","pair":"BTC/EUR","isMaker":true,"fill":"1500","feeAccountId":"7c21ed165e294db78b95f0f1","fee":1.5,"currency1AccountId":"7c21ed165e294db78b95f0f1","currency2AccountId":"7c21ed165e294db78b95f0f1","created":1585170363103,"attr":{"sealDate":1572031674384,"percentBlock":1.5,"percentPenalty":1.5}}]