@reactivemarkets/switchboard-sdk
Version:
SDK for the Reactive Markets Switchboard
59 lines (58 loc) • 2.49 kB
TypeScript
import { ExecType, LiqInd, OrderStatus, OrderType, SecurityType, Side, TimeInForce } from "@reactivemarkets/switchboard-api";
import { IStrategyParameter } from "../iStrategyParameter";
import { IExecutionReportBuilder } from "./iExecutionReportBuilder";
export declare class ExecutionReportBuilder implements IExecutionReportBuilder {
#private;
account(account: string): this;
ccy(ccy?: string): this;
effectiveTime(effectiveTime?: bigint): this;
farAvgPrice(farAvgPrice?: number): this;
farCumQty(farCumQty?: number): this;
farFixingDate(farFixingDate?: number): this;
farLastFwdPoints(farLastFwdPoints?: number): this;
farLastPrice(farLastPrice?: number): this;
farLastQty(farLastQty?: number): this;
farLeavesQty(farLeavesQty?: number): this;
farPrice(price?: number): this;
farQty(qty?: number): this;
farSettlementDate(farSettlementDate?: number): this;
farTenor(farTenor?: string): this;
transactTime(transactTime?: bigint): this;
user(user: string): this;
symbol(symbol: string): this;
venue(venue: string): this;
execVenues(venues?: string[]): this;
tenor(tenor: string): this;
securityType(securityType: SecurityType): this;
execId(execId: string): this;
orderId(orderId: string): this;
quoteId(quoteId: string): this;
clOrderId(clOrderId?: string): this;
side(side?: Side): this;
orderType(orderType?: OrderType): this;
timeInForce(timeInForce?: TimeInForce): this;
execType(execType?: ExecType): this;
orderStatus(orderStatus?: OrderStatus): this;
qty(qty?: number): this;
price(price?: number): this;
leavesQty(leavesQty?: number): this;
cumQty(cumQty?: number): this;
avgPrice(avgPrice?: number): this;
lastFwdPoints(lastFwdPoints?: number): this;
lastQty(lastQty?: number): this;
lastPrice(lastPrice?: number): this;
fixingDate(fixingDate?: number): this;
settlementDate(settlementDate?: number): this;
liqInd(liqInd?: LiqInd): this;
execVenue(execVenue?: string): this;
counterparty(counterparty?: string): this;
errorCode(errorCode?: number): this;
strategy(strategy?: string): this;
strategyParameters(parameters?: readonly IStrategyParameter[]): this;
text(text: string): this;
sendingTime(sendingTime?: bigint): this;
farMidPrice(farMidPrice?: number): this;
midPrice(midPrice?: number): this;
midSwapPoints(midSwapPoints?: number): this;
build(): Uint8Array;
}