4.15. Đặt lệnh chốt lời

Request header

Field
Type
Description

Authorization

Bearer <JWT Token>

Trading-Token

Token được cấp sau khi xác thực OTP

Request body

Field
Type
Description

id

Số hiệu deal

takeProfitPrice

Giá chốt lời muốn đặt

Response Body

Field
Type
Description

id

Số hiệu deal

status

“ACTIVE” nghĩa là deal đang mở

cutLossRate

Double

Mức cắt lỗ hiện tại

takeProfitRate

investorId

String

Mã khách hàng

investorAccountId

Int

Mã tài khoản

trailingEnabled

Bool

Có đang bật lệnh cắt lỗ hay không

createdDate

String

modifiedDate

String

maxCutLossRate

Mức cắt lỗ tối đa

Last updated