UNPKG

@sotatech/nest-quickfix

Version:

A powerful NestJS implementation of the FIX (Financial Information eXchange) protocol. Provides high-performance, reliable messaging for financial trading applications with built-in session management, message validation, and recovery mechanisms.

15 lines 680 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RejectMessage = void 0; const message_1 = require("../../message/message"); const fields_1 = require("../../fields"); class RejectMessage extends message_1.Message { constructor(refSeqNum, reason, refMsgType) { super(new message_1.Field(fields_1.Fields.MsgType, fields_1.MsgType.Reject), new message_1.Field(fields_1.Fields.RefSeqNum, refSeqNum), new message_1.Field(fields_1.Fields.Text, reason)); if (refMsgType) { this.setField(fields_1.Fields.RefMsgType, refMsgType); } } } exports.RejectMessage = RejectMessage; //# sourceMappingURL=reject.js.map