src/orderbook/dto/settle-order.dto.ts
Properties |
| instrumentId |
Type : string
|
Decorators :
@ApiProperty()
|
|
Defined in src/orderbook/dto/settle-order.dto.ts:7
|
| orderId |
Type : string
|
Decorators :
@ApiProperty()
|
|
Defined in src/orderbook/dto/settle-order.dto.ts:16
|
| percentageToSettle |
Type : number
|
Decorators :
@ApiProperty()
|
|
Defined in src/orderbook/dto/settle-order.dto.ts:11
|
import { ApiProperty } from "@nestjs/swagger";
import { IsNumber, IsOptional, IsString } from "class-validator";
export class OrderSettleDto {
@ApiProperty()
@IsString()
instrumentId: string;
@ApiProperty()
@IsNumber()
percentageToSettle: number;
@ApiProperty()
@IsOptional()
@IsString()
orderId: string;
}