Skip to main content
PUT
Sửa lệnh

Ủy quyền

Authorization
string
header
bắt buộc

OAuth2 Implicit Grant

FlowNgầm định
Authorization URL
https://accounts.fireant.vn/connect/authorize
Scopes1
user-data-write
Cập nhật tất cả dữ liệu của người dùng hiện tại

Tham số đường dẫn

clientOrderId
string
bắt buộc

Tham số truy vấn

accountType
enum<integer>

(0 = FUTURE, 1 = NANO, 2 = MXV)

Tùy chọn có sẵn:
0,
1,
2

Nội dung

Request model for replacing/modifying order

symbol
string
bắt buộc

Mã hợp đồng

newQuantity
integer<int32>

KL mới

Phạm vi bắt buộc: 1 <= x <= 2147483647
orderId
string

OrderID

newPrice
number<double>

Giá mới

newStopPrice
number<double>

Giá dừng mới

Phản hồi

OK

Response model for order operations (place, cancel, replace)

success
boolean

Indicates if the operation was successful

cl_ord_id
string

ClOrdID (Client Order ID: ID tạo bởi TVKD)

order_id
string

OrderID (ID tạo bởi sàn)

message
string

Success message

error
string

Error message (if any)