@reactivemarkets/switchboard-sdk
Version:
SDK for the Reactive Markets Switchboard
30 lines (29 loc) • 1.2 kB
TypeScript
import { SecurityType, Side, TimeInForce, OrderType } from "@reactivemarkets/switchboard-api";
import { IStrategyParameter } from "../iStrategyParameter";
import { INewOrderSingleBuilder } from "./iNewOrderSingleBuilder";
export declare class NewOrderSingleBuilder implements INewOrderSingleBuilder {
#private;
account(account: string): this;
ccy(ccy?: string): this;
clOrderId(clOrderId?: string): this;
farPrice(price?: number): this;
farQty(qty?: number): this;
farTenor(tenor?: string): this;
symbol(symbol: string): this;
venue(venue: string): this;
execVenues(venues?: string[]): this;
tenor(tenor?: string): this;
securityType(securityType?: SecurityType): this;
side(side: Side): this;
orderType(orderType: OrderType): this;
timeInForce(timeInForce: TimeInForce): this;
qty(qty: number): this;
price(price?: number): this;
priceTolerance(priceTolerance?: number): this;
quoteId(quoteId?: string): this;
strategy(strategy?: string): this;
strategyParameters(parameters?: readonly IStrategyParameter[]): this;
text(text?: string): this;
sendingTime(sendingTime?: bigint): this;
build(): Uint8Array;
}