-
Notifications
You must be signed in to change notification settings - Fork 35
Description
Problem Summary:
When creating a create order(type=market) and specifying a certain amount in the amount parameter, the order seems to execute as a $15 USDT transaction instead of fulfilling the specified amount of 15 units.
Reproduction Steps:
Sent a request to create a market order with the following details:
{
"currencyPair": "RBN_USDT",
"type": "market",
"account": "spot",
"side": "buy",
**"amount": 15,**
"price": null,
"timeInForce": "fok",
"iceberg": 0,
"autoBorrow": false
}
class Order {
text: apiv4
amendText: -
createTime: 1710584768
updateTime: 1710584768
createTimeMs: 1710584768511
updateTimeMs: 1710584768511
status: closed
currencyPair: RBN_USDT
type: market
**account: spot**
**side: buy**
**amount: 15**
price: 0
timeInForce: fok
iceberg: 0
autoBorrow: null
autoRepay: null
left: 0.011427
**fillPrice: 14.988573**
filledTotal: 14.988573
avgDealPrice: 1.47962222
fee: 0
feeCurrency: RBN
pointFee: 0
gtFee: 0.00185570777145296712
gtMakerFee: 0
gtTakerFee: 0.00087
gtDiscount: true
rebatedFee: 0
rebatedFeeCurrency: USDT
stpId: null
stpAct: null
finishAs: filled
}
Expected Behavior:
When creating a market order and specifying a certain amount, I expect the order to execute exactly as specified. For instance, if I request 15 units of RBN, I expect the order to fulfill 15 units of RBN.
Additional Information:
It appears that the API is executing the order as a $15 USDT transaction instead of fulfilling the specified amount. This behavior is unexpected and I would appreciate assistance in resolving this issue.
Thank you.