Dólar MEP
Llamadas relacionadas a operaciones con dólar MEP.
Operar dólar MEP
POST https://api-qa.tiendabroker.com/v1/retail/synthetic/dolarMep
Crea una operación de Dólar Mep.
Headers
tb-api-key*
String
API Key de la compañía
Request Body
side*
String
BUY para compra
SELL para venta
settlement*
String
momento de liquidación.
INSTANT (CI) o TWO_DAYS (48hs). Si se selecciona TWO_DAYS, el sistema busca el mejor precio entre CI y 48hs y opera con el mejor.
asset*
String
Asset a operar
amount*
Number
monto a operar de moneda fiat (ARS o USD según la coin)
coin
String
Moneda a usar para la operación
{
"id": "65524d733ea2c5b3d41460b1",
"userId": "654e853bebecec56487a6af0",
"status": "STARTING",
"type": "DOLAR_MEP",
"details": {
"side": "BUY",
"amount": 1000,
"operatedAmount": 999.51,
"expectedAmount": 9.95,
"settlement": "INSTANT"
},
"currentStage": 1,
"stages": {
"1": {
"executionTime": "2023-11-13T13:23:15.024-03:00",
"side": "BUY",
"type": "MARKET",
"asset": "X23N3",
"against": "ARS",
"amount": 997,
"settlement": "INSTANT",
"feeInfo": {
"platformFee": "0.0025",
"marketRight": "0.00001",
"usesIva": false,
"totalFee": "0.0025100000"
}
},
"2": {
"executionTime": "2023-11-14T11:15:00.000-03:00",
"side": "SELL",
"type": "MARKET",
"asset": "X23N3",
"against": "USD",
"amount": 997,
"settlement": "INSTANT",
"feeInfo": {
"platformFee": "0.0025",
"marketRight": "0.00001",
"usesIva": false,
"totalFee": "0.0025100000"
}
}
},
"fee": 0.00502,
"creationTime": "2023-11-13T13:23:15.030-03:00"
}Operar dólar MEP cerrado
POST https://api-qa.tiendabroker.com/v1/retail/synthetic/fixedDolarMep
Crea una operación de Dólar Mep.
Headers
tb-api-key*
String
API Key de la compañía
Request Body
side*
String
de momento aceptamos sólo BUY
amount*
Number
monto a operar de moneda fiat (ARS)
{
"id": "65524e6d5628849537f697b3",
"userId": "654e853bebecec56487a6af0",
"status": "STARTING",
"type": "FIXED_DOLAR_MEP",
"details": {
"side": "BUY",
"amount": 10000,
"operatedAmount": 9939.03
},
"currentStage": 1,
"stages": {
"1": {
"executionTime": "2023-11-13T13:27:24.994-03:00",
"side": "BUY",
"type": "MARKET",
"asset": "AL30",
"against": "ARS",
"amount": 47,
"price": 21092,
"settlement": "INSTANT",
"feeInfo": {
"platformFee": "0.0025",
"marketRight": "0.0001",
"usesIva": false,
"totalFee": "0.0026000000"
}
},
"2": {
"executionTime": "2023-11-14T11:15:00.000-03:00",
"side": "SELL",
"type": "MARKET",
"asset": "AL30",
"against": "USD",
"amount": 47,
"price": 21.18,
"settlement": "INSTANT",
"feeInfo": {
"platformFee": "0.0025",
"marketRight": "0.0001",
"usesIva": false,
"totalFee": "0.0026000000"
}
}
},
"fee": 0.0052,
"creationTime": "2023-11-13T13:27:25.093-03:00"
}Last updated