diff --git a/fix.js b/fix.js index b76c36c..62ad796 100644 --- a/fix.js +++ b/fix.js @@ -7,19 +7,18 @@ //expire messages (for resend, send gap fill instead) //DOING: +//Web control var net = require("net"); var events = require("events"); var sys = require("sys"); var logger = require('../node-logger/logger').createLogger(); -var fix40 = require('./resources/Fields40').keyvals; -var fix41 = require('./resources/Fields41').keyvals; -var fix42 = require('./resources/Fields42').keyvals; -var fix43 = require('./resources/Fields43').keyvals; -var fix44 = require('./resources/Fields44').keyvals; +var fixtagnums = require('./resources/fixtagnums').keyvals; //logger.setLevel('debug'); + + //Message container //{targetCompiD:{incoming:[], outgoing:[]}} var msgContainer = {}; @@ -82,16 +81,7 @@ function getOutMessages(target, beginSeqNo, endSeqNo){ //Utility methods -function tag2txtCreator(version){ - switch(version){ - case "FIX.4.0" : return function(msg){ return Object.keys(msg).map(function(key){return fix40[key]+"="+msg[key];}).join("|");}; break; - case "FIX.4.1" : return function(msg){ return Object.keys(msg).map(function(key){return fix41[key]+"="+msg[key];});}; break; - case "FIX.4.2" : return function(msg){ return Object.keys(msg).map(function(key){return fix42[key]+"="+msg[key];});}; break; - case "FIX.4.3" : return function(msg){ return Object.keys(msg).map(function(key){return fix43[key]+"="+msg[key];});}; break; - case "FIX.4.4" : return function(msg){ return Object.keys(msg).map(function(key){return fix44[key]+"="+msg[key];});}; break; - default : return function(tag){ return tag;}; break; - } -} +function tag2txt = function(msg){ return Object.keys(msg).map(function(key){return fixtagnums[key]+"="+msg[key];}).join("|");} logger.format = function(level, timestamp, message) { return [timestamp.getUTCFullYear() ,"/", timestamp.getUTCMonth() ,"/", timestamp.getUTCDay() , "-" , timestamp.getUTCHours() , ":" , timestamp.getUTCMinutes() , ":" , timestamp.getUTCSeconds() , "." , timestamp.getUTCMilliseconds() , " [" , level, "] ", message].join(""); @@ -140,7 +130,6 @@ function Session(stream, isInitiator, opt) { var headers = opt.headers; var trailers = opt.trailers; - var tag2txt = tag2txtCreator(fixVersion); //session vars var senderCompID = ""; //senderCompID || ""; @@ -162,6 +151,7 @@ function Session(stream, isInitiator, opt) { this.addListener("end", function () { clearInterval(heartbeatIntervalID); + this.emit("logoff", targetCompID); }); @@ -613,11 +603,16 @@ exports.createServer = function (opt, func) { }); stream.addListener("data", function(data){session.handle(data);}); + session.addListener("logon", function(client,strm){ server.clients[client]=strm; sys.log("------"+ Object.keys(server.clients)); } ); + session.addListener("logoff", function(client){ + delete server.clients[client]; + } + ); }); diff --git a/fixweb.js b/fixweb.js new file mode 100644 index 0000000..25c8328 --- /dev/null +++ b/fixweb.js @@ -0,0 +1,10 @@ +require('../express/lib/express') + +configure(function(){ set('root', "."); }) + +get('/', function(){ + this.contentType('html'); + return 'hello world'; +}) + +run(); diff --git a/resources/Fields40.js b/resources/Fields40.js deleted file mode 100644 index 4020dca..0000000 --- a/resources/Fields40.js +++ /dev/null @@ -1,141 +0,0 @@ -exports.keyvals = { -"1":"Account", -"2":"AdvId", -"3":"AdvRefID", -"4":"AdvSide", -"5":"AdvTransType", -"6":"AvgPx", -"7":"BeginSeqNo", -"8":"BeginString", -"9":"BodyLength", -"10":"CheckSum", -"11":"ClOrdID", -"12":"Commission", -"13":"CommType", -"14":"CumQty", -"15":"Currency", -"16":"EndSeqNo", -"17":"ExecID", -"18":"ExecInst", -"19":"ExecRefID", -"20":"ExecTransType", -"21":"HandlInst", -"22":"IDSource", -"23":"IOIid", -"24":"IOIOthSvc", -"25":"IOIQltyInd", -"26":"IOIRefID", -"27":"IOIShares", -"28":"IOITransType", -"29":"LastCapacity", -"30":"LastMkt", -"31":"LastPx", -"32":"LastShares", -"33":"LinesOfText", -"34":"MsgSeqNum", -"35":"MsgType", -"36":"NewSeqNo", -"37":"OrderID", -"38":"OrderQty", -"39":"OrdStatus", -"40":"OrdType", -"41":"OrigClOrdID", -"42":"OrigTime", -"43":"PossDupFlag", -"44":"Price", -"45":"RefSeqNum", -"46":"RelatdSym", -"47":"Rule80A", -"48":"SecurityID", -"49":"SenderCompID", -"50":"SenderSubID", -"51":"SendingDate(notused)", -"52":"SendingTime", -"53":"Shares", -"54":"Side", -"55":"Symbol", -"56":"TargetCompID", -"57":"TargetSubID", -"58":"Text", -"59":"TimeInForce", -"60":"TransactTime", -"61":"Urgency", -"62":"ValidUntilTime", -"63":"SettlmntTyp", -"64":"FutSettDate", -"65":"SymbolSfx", -"66":"ListID", -"67":"ListSeqNo", -"68":"ListNoOrds", -"69":"ListExecInst", -"70":"AllocID", -"71":"AllocTransType", -"72":"RefAllocID", -"73":"NoOrders", -"74":"AvgPrxPrecision", -"75":"TradeDate", -"76":"ExecBroker", -"77":"OpenClose", -"78":"NoAllocs", -"79":"AllocAccount", -"80":"AllocShares", -"81":"ProcessCode", -"82":"NoRpts", -"83":"RptSeq", -"84":"CxlQty", -"85":"NoDlvyInst", -"86":"DlvyInst", -"87":"AllocStatus", -"88":"AllocRejCode", -"89":"Signature", -"90":"SecureDataLen", -"91":"SecureData", -"92":"BrokerOfCredit", -"93":"SignatureLength", -"94":"EmailType", -"95":"RawDataLength", -"96":"RawData", -"97":"PossResend", -"98":"EncryptMethod", -"99":"StopPx", -"100":"ExDestination", -"102":"CxlRejReason", -"103":"OrdRejReason", -"104":"IOIQualifier", -"105":"WaveNo", -"106":"Issuer", -"107":"SecurityDesc", -"108":"HeartBtInt", -"109":"ClientID", -"110":"MinQty", -"111":"MaxFloor", -"112":"TestReqID", -"113":"ReportToExch", -"114":"LocateReqd", -"115":"OnBehalfOfCompID", -"116":"OnBehalfOfSubID", -"117":"QuoteID", -"118":"NetMoney", -"119":"SettlCurrAmt", -"120":"SettlCurrency", -"121":"ForexReq", -"122":"OrigSendingTime", -"123":"GapFillFlag", -"124":"NoExecs", -"125":"CxlType", -"126":"ExpireTime", -"127":"DKReason", -"128":"DeliverToCompID", -"129":"DeliverToSubID", -"130":"IOINaturalFlag", -"131":"QuoteReqID", -"132":"BidPx", -"133":"OfferPx", -"134":"BidSize", -"135":"OfferSize", -"136":"NoMiscFees", -"137":"MiscFeeAmt", -"138":"MiscFeeCurr", -"139":"MiscFeeType", -"140":"PrevClosePx" -} diff --git a/resources/Fields41.js b/resources/Fields41.js deleted file mode 100644 index f3c780e..0000000 --- a/resources/Fields41.js +++ /dev/null @@ -1,213 +0,0 @@ -exports.keyvals = { -"1":"Account", -"2":"AdvId", -"3":"AdvRefID", -"4":"AdvSide", -"5":"AdvTransType", -"6":"AvgPx", -"7":"BeginSeqNo", -"8":"BeginString", -"9":"BodyLength", -"10":"CheckSum", -"11":"ClOrdID", -"12":"Commission", -"13":"CommType", -"14":"CumQty", -"15":"Currency", -"16":"EndSeqNo", -"17":"ExecID", -"18":"ExecInst", -"19":"ExecRefID", -"20":"ExecTransType", -"21":"HandlInst", -"22":"IDSource", -"23":"IOIid", -"24":"IOIOthSvc", -"25":"IOIQltyInd", -"26":"IOIRefID", -"27":"IOIShares", -"28":"IOITransType", -"29":"LastCapacity", -"30":"LastMkt", -"31":"LastPx", -"32":"LastShares", -"33":"LinesOfText", -"34":"MsgSeqNum", -"35":"MsgType", -"36":"NewSeqNo", -"37":"OrderID", -"38":"OrderQty", -"39":"OrdStatus", -"40":"OrdType", -"41":"OrigClOrdID", -"42":"OrigTime", -"43":"PossDupFlag", -"44":"Price", -"45":"RefSeqNum", -"46":"RelatdSym", -"47":"Rule80A(akaOrderCapacity)", -"48":"SecurityID", -"49":"SenderCompID", -"50":"SenderSubID", -"51":"SendingDate(nolongerused)", -"52":"SendingTime", -"53":"Shares", -"54":"Side", -"55":"Symbol", -"56":"TargetCompID", -"57":"TargetSubID", -"58":"Text", -"59":"TimeInForce", -"60":"TransactTime", -"61":"Urgency", -"62":"ValidUntilTime", -"63":"SettlmntTyp", -"64":"FutSettDate", -"65":"SymbolSfx", -"66":"ListID", -"67":"ListSeqNo", -"68":"ListNoOrds", -"69":"ListExecInst", -"70":"AllocID", -"71":"AllocTransType", -"72":"RefAllocID", -"73":"NoOrders", -"74":"AvgPrxPrecision", -"75":"TradeDate", -"76":"ExecBroker", -"77":"OpenClose", -"78":"NoAllocs", -"79":"AllocAccount", -"80":"AllocShares", -"81":"ProcessCode", -"82":"NoRpts", -"83":"RptSeq", -"84":"CxlQty", -"85":"NoDlvyInst(nolongerused)", -"86":"DlvyInst(nolongerused)", -"87":"AllocStatus", -"88":"AllocRejCode", -"89":"Signature", -"90":"SecureDataLen", -"91":"SecureData", -"92":"BrokerOfCredit", -"93":"SignatureLength", -"94":"EmailType", -"95":"RawDataLength", -"96":"RawData", -"97":"PossResend", -"98":"EncryptMethod", -"99":"StopPx", -"100":"ExDestination", -"101":"(NotDefined)", -"102":"CxlRejReason", -"103":"OrdRejReason", -"104":"IOIQualifier", -"105":"WaveNo", -"106":"Issuer", -"107":"SecurityDesc", -"108":"HeartBtInt", -"109":"ClientID", -"110":"MinQty", -"111":"MaxFloor", -"112":"TestReqID", -"113":"ReportToExch", -"114":"LocateReqd", -"115":"OnBehalfOfCompID", -"116":"OnBehalfOfSubID", -"117":"QuoteID", -"118":"NetMoney", -"119":"SettlCurrAmt", -"120":"SettlCurrency", -"121":"ForexReq", -"122":"OrigSendingTime", -"123":"GapFillFlag", -"124":"NoExecs", -"125":"CxlType(nolongerused)", -"126":"ExpireTime", -"127":"DKReason", -"128":"DeliverToCompID", -"129":"DeliverToSubID", -"130":"IOINaturalFlag", -"131":"QuoteReqID", -"132":"BidPx", -"133":"OfferPx", -"134":"BidSize", -"135":"OfferSize", -"136":"NoMiscFees", -"137":"MiscFeeAmt", -"138":"MiscFeeCurr", -"139":"MiscFeeType", -"140":"PrevClosePx", -"141":"ResetSeqNumFlag", -"142":"SenderLocationID", -"143":"TargetLocationID", -"144":"OnBehalfOfLocationID", -"145":"DeliverToLocationID", -"146":"NoRelatedSym", -"147":"Subject", -"148":"Headline", -"149":"URLLink", -"150":"ExecType", -"151":"LeavesQty", -"152":"CashOrderQty", -"153":"AllocAvgPx", -"154":"AllocNetMoney", -"155":"SettlCurrFxRate", -"156":"SettlCurrFxRateCalc", -"157":"NumDaysInterest", -"158":"AccruedInterestRate", -"159":"AccruedInterestAmt", -"160":"SettlInstMode", -"161":"AllocText", -"162":"SettlInstID", -"163":"SettlInstTransType", -"164":"EmailThreadID", -"165":"SettlInstSource", -"166":"SettlLocation", -"167":"SecurityType", -"168":"EffectiveTime", -"169":"StandInstDbType", -"170":"StandInstDbName", -"171":"StandInstDbID", -"172":"SettlDeliveryType", -"173":"SettlDepositoryCode", -"174":"SettlBrkrCode", -"175":"SettlInstCode", -"176":"SecuritySettlAgentName", -"177":"SecuritySettlAgentCode", -"178":"SecuritySettlAgentAcctNum", -"179":"SecuritySettlAgentAcctName", -"180":"SecuritySettlAgentContactName", -"181":"SecuritySettlAgentContactPhone", -"182":"CashSettlAgentName", -"183":"CashSettlAgentCode", -"184":"CashSettlAgentAcctNum", -"185":"CashSettlAgentAcctName", -"186":"CashSettlAgentContactName", -"187":"CashSettlAgentContactPhone", -"188":"BidSpotRate", -"189":"BidForwardPoints", -"190":"OfferSpotRate", -"191":"OfferForwardPoints", -"192":"OrderQty2", -"193":"FutSettDate2", -"194":"LastSpotRate", -"195":"LastForwardPoints", -"196":"AllocLinkID", -"197":"AllocLinkType", -"198":"SecondaryOrderID", -"199":"NoIOIQualifiers", -"200":"MaturityMonthYear", -"201":"PutOrCall", -"202":"StrikePrice", -"203":"CoveredOrUncovered", -"204":"CustomerOrFirm", -"205":"MaturityDay", -"206":"OptAttribute", -"207":"SecurityExchange", -"208":"NotifyBrokerOfCredit", -"209":"AllocHandlInst", -"210":"MaxShow", -"211":"PegDifference" -} diff --git a/resources/Fields42.js b/resources/Fields42.js deleted file mode 100644 index 654bbb3..0000000 --- a/resources/Fields42.js +++ /dev/null @@ -1,448 +0,0 @@ -exports.keyvals = { -"1":"Account", -"2":"AdvId", -"3":"AdvRefID", -"4":"AdvSide", -"5":"AdvTransType", -"6":"AvgPx", -"7":"BeginSeqNo", -"8":"BeginString", -"9":"BodyLength", -"10":"CheckSum", -"11":"ClOrdID", -"12":"Commission", -"13":"CommType", -"14":"CumQty", -"15":"Currency", -"16":"EndSeqNo", -"17":"ExecID", -"18":"ExecInst", -"19":"ExecRefID", -"20":"ExecTransType", -"21":"HandlInst", -"22":"IDSource", -"23":"IOIid", -"24":"IOIOthSvc(nolongerused)", -"25":"IOIQltyInd", -"26":"IOIRefID", -"27":"IOIShares", -"28":"IOITransType", -"29":"LastCapacity", -"30":"LastMkt", -"31":"LastPx", -"32":"LastShares", -"33":"LinesOfText", -"34":"MsgSeqNum", -"35":"MsgType", -"36":"NewSeqNo", -"37":"OrderID", -"38":"OrderQty", -"39":"OrdStatus", -"40":"OrdType", -"41":"OrigClOrdID", -"42":"OrigTime", -"43":"PossDupFlag", -"44":"Price", -"45":"RefSeqNum", -"46":"RelatdSym", -"47":"Rule80A(akaOrderCapacity)", -"48":"SecurityID", -"49":"SenderCompID", -"50":"SenderSubID", -"51":"SendingDate(nolongerused)", -"52":"SendingTime", -"53":"Shares", -"54":"Side", -"55":"Symbol", -"56":"TargetCompID", -"57":"TargetSubID", -"58":"Text", -"59":"TimeInForce", -"60":"TransactTime", -"61":"Urgency", -"62":"ValidUntilTime", -"63":"SettlmntTyp", -"64":"FutSettDate", -"65":"SymbolSfx", -"66":"ListID", -"67":"ListSeqNo", -"68":"TotNoOrders(formerlynamed:ListNoOrds)", -"69":"ListExecInst", -"70":"AllocID", -"71":"AllocTransType", -"72":"RefAllocID", -"73":"NoOrders", -"74":"AvgPrxPrecision", -"75":"TradeDate", -"76":"ExecBroker", -"77":"OpenClose", -"78":"NoAllocs", -"79":"AllocAccount", -"80":"AllocShares", -"81":"ProcessCode", -"82":"NoRpts", -"83":"RptSeq", -"84":"CxlQty", -"85":"NoDlvyInst(nolongerused)", -"86":"DlvyInst(nolongerused)", -"87":"AllocStatus", -"88":"AllocRejCode", -"89":"Signature", -"90":"SecureDataLen", -"91":"SecureData", -"92":"BrokerOfCredit", -"93":"SignatureLength", -"94":"EmailType", -"95":"RawDataLength", -"96":"RawData", -"97":"PossResend", -"98":"EncryptMethod", -"99":"StopPx", -"100":"ExDestination", -"101":"(NotDefined)", -"102":"CxlRejReason", -"103":"OrdRejReason", -"104":"IOIQualifier", -"105":"WaveNo", -"106":"Issuer", -"107":"SecurityDesc", -"108":"HeartBtInt", -"109":"ClientID", -"110":"MinQty", -"111":"MaxFloor", -"112":"TestReqID", -"113":"ReportToExch", -"114":"LocateReqd", -"115":"OnBehalfOfCompID", -"116":"OnBehalfOfSubID", -"117":"QuoteID", -"118":"NetMoney", -"119":"SettlCurrAmt", -"120":"SettlCurrency", -"121":"ForexReq", -"122":"OrigSendingTime", -"123":"GapFillFlag", -"124":"NoExecs", -"125":"CxlType(nolongerused)", -"126":"ExpireTime", -"127":"DKReason", -"128":"DeliverToCompID", -"129":"DeliverToSubID", -"130":"IOINaturalFlag", -"131":"QuoteReqID", -"132":"BidPx", -"133":"OfferPx", -"134":"BidSize", -"135":"OfferSize", -"136":"NoMiscFees", -"137":"MiscFeeAmt", -"138":"MiscFeeCurr", -"139":"MiscFeeType", -"140":"PrevClosePx", -"141":"ResetSeqNumFlag", -"142":"SenderLocationID", -"143":"TargetLocationID", -"144":"OnBehalfOfLocationID", -"145":"DeliverToLocationID", -"146":"NoRelatedSym", -"147":"Subject", -"148":"Headline", -"149":"URLLink", -"150":"ExecType", -"151":"LeavesQty", -"152":"CashOrderQty", -"153":"AllocAvgPx", -"154":"AllocNetMoney", -"155":"SettlCurrFxRate", -"156":"SettlCurrFxRateCalc", -"157":"NumDaysInterest", -"158":"AccruedInterestRate", -"159":"AccruedInterestAmt", -"160":"SettlInstMode", -"161":"AllocText", -"162":"SettlInstID", -"163":"SettlInstTransType", -"164":"EmailThreadID", -"165":"SettlInstSource", -"166":"SettlLocation", -"167":"SecurityType", -"168":"EffectiveTime", -"169":"StandInstDbType", -"170":"StandInstDbName", -"171":"StandInstDbID", -"172":"SettlDeliveryType", -"173":"SettlDepositoryCode", -"174":"SettlBrkrCode", -"175":"SettlInstCode", -"176":"SecuritySettlAgentName", -"177":"SecuritySettlAgentCode", -"178":"SecuritySettlAgentAcctNum", -"179":"SecuritySettlAgentAcctName", -"180":"SecuritySettlAgentContactName", -"181":"SecuritySettlAgentContactPhone", -"182":"CashSettlAgentName", -"183":"CashSettlAgentCode", -"184":"CashSettlAgentAcctNum", -"185":"CashSettlAgentAcctName", -"186":"CashSettlAgentContactName", -"187":"CashSettlAgentContactPhone", -"188":"BidSpotRate", -"189":"BidForwardPoints", -"190":"OfferSpotRate", -"191":"OfferForwardPoints", -"192":"OrderQty2", -"193":"FutSettDate2", -"194":"LastSpotRate", -"195":"LastForwardPoints", -"196":"AllocLinkID", -"197":"AllocLinkType", -"198":"SecondaryOrderID", -"199":"NoIOIQualifiers", -"200":"MaturityMonthYear", -"201":"PutOrCall", -"202":"StrikePrice", -"203":"CoveredOrUncovered", -"204":"CustomerOrFirm", -"205":"MaturityDay", -"206":"OptAttribute", -"207":"SecurityExchange", -"208":"NotifyBrokerOfCredit", -"209":"AllocHandlInst", -"210":"MaxShow", -"211":"PegDifference", -"212":"XmlDataLen", -"213":"XmlData", -"214":"SettlInstRefID", -"215":"NoRoutingIDs", -"216":"RoutingType", -"217":"RoutingID", -"218":"SpreadToBenchmark", -"219":"Benchmark", -"220":"Reserved/AllocatedtotheFixedIncomeproposal", -"221":"Reserved/AllocatedtotheFixedIncomeproposal", -"222":"Reserved/AllocatedtotheFixedIncomeproposal", -"223":"CouponRate", -"224":"Reserved/AllocatedtotheFixedIncomeproposal", -"225":"Reserved/AllocatedtotheFixedIncomeproposal", -"226":"Reserved/AllocatedtotheFixedIncomeproposal", -"227":"Reserved/AllocatedtotheFixedIncomeproposal", -"228":"Reserved/AllocatedtotheFixedIncomeproposal", -"229":"Reserved/AllocatedtotheFixedIncomeproposal", -"230":"Reserved/AllocatedtotheFixedIncomeproposal", -"231":"ContractMultiplier", -"232":"Reserved/AllocatedtotheFixedIncomeproposal", -"233":"Reserved/AllocatedtotheFixedIncomeproposal", -"234":"Reserved/AllocatedtotheFixedIncomeproposal", -"235":"Reserved/AllocatedtotheFixedIncomeproposal", -"236":"Reserved/AllocatedtotheFixedIncomeproposal", -"237":"Reserved/AllocatedtotheFixedIncomeproposal", -"238":"Reserved/AllocatedtotheFixedIncomeproposal", -"239":"Reserved/AllocatedtotheFixedIncomeproposal", -"240":"Reserved/AllocatedtotheFixedIncomeproposal", -"241":"Reserved/AllocatedtotheFixedIncomeproposal", -"242":"Reserved/AllocatedtotheFixedIncomeproposal", -"243":"Reserved/AllocatedtotheFixedIncomeproposal", -"244":"Reserved/AllocatedtotheFixedIncomeproposal", -"245":"Reserved/AllocatedtotheFixedIncomeproposal", -"246":"Reserved/AllocatedtotheFixedIncomeproposal", -"247":"Reserved/AllocatedtotheFixedIncomeproposal", -"248":"Reserved/AllocatedtotheFixedIncomeproposal", -"249":"Reserved/AllocatedtotheFixedIncomeproposal", -"250":"Reserved/AllocatedtotheFixedIncomeproposal", -"251":"Reserved/AllocatedtotheFixedIncomeproposal", -"252":"Reserved/AllocatedtotheFixedIncomeproposal", -"253":"Reserved/AllocatedtotheFixedIncomeproposal", -"254":"Reserved/AllocatedtotheFixedIncomeproposal", -"255":"Reserved/AllocatedtotheFixedIncomeproposal", -"256":"Reserved/AllocatedtotheFixedIncomeproposal", -"257":"Reserved/AllocatedtotheFixedIncomeproposal", -"258":"Reserved/AllocatedtotheFixedIncomeproposal", -"259":"Reserved/AllocatedtotheFixedIncomeproposal", -"260":"Reserved/AllocatedtotheFixedIncomeproposal", -"261":"Reserved/AllocatedtotheFixedIncomeproposal", -"262":"MDReqID", -"263":"SubscriptionRequestType", -"264":"MarketDepth", -"265":"MDUpdateType", -"266":"AggregatedBook", -"267":"NoMDEntryTypes", -"268":"NoMDEntries", -"269":"MDEntryType", -"270":"MDEntryPx", -"271":"MDEntrySize", -"272":"MDEntryDate", -"273":"MDEntryTime", -"274":"TickDirection", -"275":"MDMkt", -"276":"QuoteCondition", -"277":"TradeCondition", -"278":"MDEntryID", -"279":"MDUpdateAction", -"280":"MDEntryRefID", -"281":"MDReqRejReason", -"282":"MDEntryOriginator", -"283":"LocationID", -"284":"DeskID", -"285":"DeleteReason", -"286":"OpenCloseSettleFlag", -"287":"SellerDays", -"288":"MDEntryBuyer", -"289":"MDEntrySeller", -"290":"MDEntryPositionNo", -"291":"FinancialStatus", -"292":"CorporateAction", -"293":"DefBidSize", -"294":"DefOfferSize", -"295":"NoQuoteEntries", -"296":"NoQuoteSets", -"297":"QuoteAckStatus", -"298":"QuoteCancelType", -"299":"QuoteEntryID", -"300":"QuoteRejectReason", -"301":"QuoteResponseLevel", -"302":"QuoteSetID", -"303":"QuoteRequestType", -"304":"TotQuoteEntries", -"305":"UnderlyingIDSource", -"306":"UnderlyingIssuer", -"307":"UnderlyingSecurityDesc", -"308":"UnderlyingSecurityExchange", -"309":"UnderlyingSecurityID", -"310":"UnderlyingSecurityType", -"311":"UnderlyingSymbol", -"312":"UnderlyingSymbolSfx", -"313":"UnderlyingMaturityMonthYear", -"314":"UnderlyingMaturityDay", -"315":"UnderlyingPutOrCall", -"316":"UnderlyingStrikePrice", -"317":"UnderlyingOptAttribute", -"318":"UnderlyingCurrency", -"319":"RatioQty", -"320":"SecurityReqID", -"321":"SecurityRequestType", -"322":"SecurityResponseID", -"323":"SecurityResponseType", -"324":"SecurityStatusReqID", -"325":"UnsolicitedIndicator", -"326":"SecurityTradingStatus", -"327":"HaltReason", -"328":"InViewOfCommon", -"329":"DueToRelated", -"330":"BuyVolume", -"331":"SellVolume", -"332":"HighPx", -"333":"LowPx", -"334":"Adjustment", -"335":"TradSesReqID", -"336":"TradingSessionID", -"337":"ContraTrader", -"338":"TradSesMethod", -"339":"TradSesMode", -"340":"TradSesStatus", -"341":"TradSesStartTime", -"342":"TradSesOpenTime", -"343":"TradSesPreCloseTime", -"344":"TradSesCloseTime", -"345":"TradSesEndTime", -"346":"NumberOfOrders", -"347":"MessageEncoding", -"348":"EncodedIssuerLen", -"349":"EncodedIssuer", -"350":"EncodedSecurityDescLen", -"351":"EncodedSecurityDesc", -"352":"EncodedListExecInstLen", -"353":"EncodedListExecInst", -"354":"EncodedTextLen", -"355":"EncodedText", -"356":"EncodedSubjectLen", -"357":"EncodedSubject", -"358":"EncodedHeadlineLen", -"359":"EncodedHeadline", -"360":"EncodedAllocTextLen", -"361":"EncodedAllocText", -"362":"EncodedUnderlyingIssuerLen", -"363":"EncodedUnderlyingIssuer", -"364":"EncodedUnderlyingSecurityDescLen", -"365":"EncodedUnderlyingSecurityDesc", -"366":"AllocPrice", -"367":"QuoteSetValidUntilTime", -"368":"QuoteEntryRejectReason", -"369":"LastMsgSeqNumProcessed", -"370":"OnBehalfOfSendingTime", -"371":"RefTagID", -"372":"RefMsgType", -"373":"SessionRejectReason", -"374":"BidRequestTransType", -"375":"ContraBroker", -"376":"ComplianceID", -"377":"SolicitedFlag", -"378":"ExecRestatementReason", -"379":"BusinessRejectRefID", -"380":"BusinessRejectReason", -"381":"GrossTradeAmt", -"382":"NoContraBrokers", -"383":"MaxMessageSize", -"384":"NoMsgTypes", -"385":"MsgDirection", -"386":"NoTradingSessions", -"387":"TotalVolumeTraded", -"388":"DiscretionInst", -"389":"DiscretionOffset", -"390":"BidID", -"391":"ClientBidID", -"392":"ListName", -"393":"TotalNumSecurities", -"394":"BidType", -"395":"NumTickets", -"396":"SideValue1", -"397":"SideValue2", -"398":"NoBidDescriptors", -"399":"BidDescriptorType", -"400":"BidDescriptor", -"401":"SideValueInd", -"402":"LiquidityPctLow", -"403":"LiquidityPctHigh", -"404":"LiquidityValue", -"405":"EFPTrackingError", -"406":"FairValue", -"407":"OutsideIndexPct", -"408":"ValueOfFutures", -"409":"LiquidityIndType", -"410":"WtAverageLiquidity", -"411":"ExchangeForPhysical", -"412":"OutMainCntryUIndex", -"413":"CrossPercent", -"414":"ProgRptReqs", -"415":"ProgPeriodInterval", -"416":"IncTaxInd", -"417":"NumBidders", -"418":"TradeType", -"419":"BasisPxType", -"420":"NoBidComponents", -"421":"Country", -"422":"TotNoStrikes", -"423":"PriceType", -"424":"DayOrderQty", -"425":"DayCumQty", -"426":"DayAvgPx", -"427":"GTBookingInst", -"428":"NoStrikes", -"429":"ListStatusType", -"430":"NetGrossInd", -"431":"ListOrderStatus", -"432":"ExpireDate", -"433":"ListExecInstType", -"434":"CxlRejResponseTo", -"435":"UnderlyingCouponRate", -"436":"UnderlyingContractMultiplier", -"437":"ContraTradeQty", -"438":"ContraTradeTime", -"439":"ClearingFirm", -"440":"ClearingAccount", -"441":"LiquidityNumSecurities", -"442":"MultiLegReportingType", -"443":"StrikeTime", -"444":"ListStatusText", -"445":"EncodedListStatusTextLen", -"446":"EncodedListStatusText" -} diff --git a/resources/Fields43.js b/resources/Fields43.js deleted file mode 100644 index 9df5367..0000000 --- a/resources/Fields43.js +++ /dev/null @@ -1,661 +0,0 @@ -exports.keyvals = { -"1":"Account", -"2":"AdvId", -"3":"AdvRefID", -"4":"AdvSide", -"5":"AdvTransType", -"6":"AvgPx", -"7":"BeginSeqNo", -"8":"BeginString", -"9":"BodyLength", -"10":"CheckSum", -"11":"ClOrdID", -"12":"Commission", -"13":"CommType", -"14":"CumQty", -"15":"Currency", -"16":"EndSeqNo", -"17":"ExecID", -"18":"ExecInst", -"19":"ExecRefID", -"20":"ExecTransType(replaced)", -"21":"HandlInst", -"22":"SecurityIDSource(formerlynamed:IDSourcepriortoFIX4.3)", -"23":"IOIid", -"24":"IOIOthSvc(nolongerused)", -"25":"IOIQltyInd", -"26":"IOIRefID", -"27":"IOIQty(formerlynamed:IOISharespriortoFIX4.3)", -"28":"IOITransType", -"29":"LastCapacity", -"30":"LastMkt", -"31":"LastPx", -"32":"LastQty(formerlynamed:LastSharespriortoFIX4.3)", -"33":"LinesOfText", -"34":"MsgSeqNum", -"35":"MsgType", -"36":"NewSeqNo", -"37":"OrderID", -"38":"OrderQty", -"39":"OrdStatus", -"40":"OrdType", -"41":"OrigClOrdID", -"42":"OrigTime", -"43":"PossDupFlag", -"44":"Price", -"45":"RefSeqNum", -"46":"RelatdSym(nolongerused)", -"47":"Rule80A(Deprecated)", -"48":"SecurityID", -"49":"SenderCompID", -"50":"SenderSubID", -"51":"SendingDate(nolongerused)", -"52":"SendingTime", -"53":"Quantity(formerlynamed:SharespriortoFIX4.3)", -"54":"Side", -"55":"Symbol", -"56":"TargetCompID", -"57":"TargetSubID", -"58":"Text", -"59":"TimeInForce", -"60":"TransactTime", -"61":"Urgency", -"62":"ValidUntilTime", -"63":"SettlmntTyp", -"64":"FutSettDate", -"65":"SymbolSfx", -"66":"ListID", -"67":"ListSeqNo", -"68":"TotNoOrders(formerlynamed:ListNoOrds)", -"69":"ListExecInst", -"70":"AllocID", -"71":"AllocTransType", -"72":"RefAllocID", -"73":"NoOrders", -"74":"AvgPrxPrecision", -"75":"TradeDate", -"76":"ExecBroker(replaced)", -"77":"PositionEffect(formerlynamed:OpenClosepriortoFIX4.3)", -"78":"NoAllocs", -"79":"AllocAccount", -"80":"AllocQty(formerlynamed:AllocSharespriortoFIX4.3)", -"81":"ProcessCode", -"82":"NoRpts", -"83":"RptSeq", -"84":"CxlQty", -"85":"NoDlvyInst(nolongerused)", -"86":"DlvyInst(nolongerused)", -"87":"AllocStatus", -"88":"AllocRejCode", -"89":"Signature", -"90":"SecureDataLen", -"91":"SecureData", -"92":"BrokerOfCredit(replaced)", -"93":"SignatureLength", -"94":"EmailType", -"95":"RawDataLength", -"96":"RawData", -"97":"PossResend", -"98":"EncryptMethod", -"99":"StopPx", -"100":"ExDestination", -"101":"(NotDefined)", -"102":"CxlRejReason", -"103":"OrdRejReason", -"104":"IOIQualifier", -"105":"WaveNo", -"106":"Issuer", -"107":"SecurityDesc", -"108":"HeartBtInt", -"109":"ClientID(replaced)", -"110":"MinQty", -"111":"MaxFloor", -"112":"TestReqID", -"113":"ReportToExch", -"114":"LocateReqd", -"115":"OnBehalfOfCompID", -"116":"OnBehalfOfSubID", -"117":"QuoteID", -"118":"NetMoney", -"119":"SettlCurrAmt", -"120":"SettlCurrency", -"121":"ForexReq", -"122":"OrigSendingTime", -"123":"GapFillFlag", -"124":"NoExecs", -"125":"CxlType(nolongerused)", -"126":"ExpireTime", -"127":"DKReason", -"128":"DeliverToCompID", -"129":"DeliverToSubID", -"130":"IOINaturalFlag", -"131":"QuoteReqID", -"132":"BidPx", -"133":"OfferPx", -"134":"BidSize", -"135":"OfferSize", -"136":"NoMiscFees", -"137":"MiscFeeAmt", -"138":"MiscFeeCurr", -"139":"MiscFeeType", -"140":"PrevClosePx", -"141":"ResetSeqNumFlag", -"142":"SenderLocationID", -"143":"TargetLocationID", -"144":"OnBehalfOfLocationID", -"145":"DeliverToLocationID", -"146":"NoRelatedSym", -"147":"Subject", -"148":"Headline", -"149":"URLLink", -"150":"ExecType", -"151":"LeavesQty", -"152":"CashOrderQty", -"153":"AllocAvgPx", -"154":"AllocNetMoney", -"155":"SettlCurrFxRate", -"156":"SettlCurrFxRateCalc", -"157":"NumDaysInterest", -"158":"AccruedInterestRate", -"159":"AccruedInterestAmt", -"160":"SettlInstMode", -"161":"AllocText", -"162":"SettlInstID", -"163":"SettlInstTransType", -"164":"EmailThreadID", -"165":"SettlInstSource", -"166":"SettlLocation(replaced)", -"167":"SecurityType", -"168":"EffectiveTime", -"169":"StandInstDbType", -"170":"StandInstDbName", -"171":"StandInstDbID", -"172":"SettlDeliveryType", -"173":"SettlDepositoryCode", -"174":"SettlBrkrCode", -"175":"SettlInstCode", -"176":"SecuritySettlAgentName", -"177":"SecuritySettlAgentCode", -"178":"SecuritySettlAgentAcctNum", -"179":"SecuritySettlAgentAcctName", -"180":"SecuritySettlAgentContactName", -"181":"SecuritySettlAgentContactPhone", -"182":"CashSettlAgentName", -"183":"CashSettlAgentCode", -"184":"CashSettlAgentAcctNum", -"185":"CashSettlAgentAcctName", -"186":"CashSettlAgentContactName", -"187":"CashSettlAgentContactPhone", -"188":"BidSpotRate", -"189":"BidForwardPoints", -"190":"OfferSpotRate", -"191":"OfferForwardPoints", -"192":"OrderQty2", -"193":"FutSettDate2", -"194":"LastSpotRate", -"195":"LastForwardPoints", -"196":"AllocLinkID", -"197":"AllocLinkType", -"198":"SecondaryOrderID", -"199":"NoIOIQualifiers", -"200":"MaturityMonthYear", -"201":"PutOrCall(replaced)", -"202":"StrikePrice", -"203":"CoveredOrUncovered", -"204":"CustomerOrFirm(replaced)", -"205":"MaturityDay(replaced)", -"206":"OptAttribute", -"207":"SecurityExchange", -"208":"NotifyBrokerOfCredit", -"209":"AllocHandlInst", -"210":"MaxShow", -"211":"PegDifference", -"212":"XmlDataLen", -"213":"XmlData", -"214":"SettlInstRefID", -"215":"NoRoutingIDs", -"216":"RoutingType", -"217":"RoutingID", -"218":"Spread(formerlynamed:SpreadToBenchmarkpriortoFIX4.3)", -"219":"Benchmark(Deprecated)", -"220":"BenchmarkCurveCurrency", -"221":"BenchmarkCurveName", -"222":"BenchmarkCurvePoint", -"223":"CouponRate", -"224":"CouponPaymentDate", -"225":"IssueDate", -"226":"RepurchaseTerm", -"227":"RepurchaseRate", -"228":"Factor", -"229":"TradeOriginationDate", -"230":"ExDate", -"231":"ContractMultiplier", -"232":"NoStipulations", -"233":"StipulationType", -"234":"StipulationValue", -"235":"YieldType", -"236":"Yield", -"237":"TotalTakedown", -"238":"Concession", -"239":"RepoCollateralSecurityType", -"240":"RedemptionDate", -"241":"UnderlyingCouponPaymentDate", -"242":"UnderlyingIssueDate", -"243":"UnderlyingRepoCollateralSecurityType", -"244":"UnderlyingRepurchaseTerm", -"245":"UnderlyingRepurchaseRate", -"246":"UnderlyingFactor", -"247":"UnderlyingRedemptionDate", -"248":"LegCouponPaymentDate", -"249":"LegIssueDate", -"250":"LegRepoCollateralSecurityType", -"251":"LegRepurchaseTerm", -"252":"LegRepurchaseRate", -"253":"LegFactor", -"254":"LegRedemptionDate", -"255":"CreditRating", -"256":"UnderlyingCreditRating", -"257":"LegCreditRating", -"258":"TradedFlatSwitch", -"259":"BasisFeatureDate", -"260":"BasisFeaturePrice", -"261":"Reserved/AllocatedtotheFixedIncomeproposal", -"262":"MDReqID", -"263":"SubscriptionRequestType", -"264":"MarketDepth", -"265":"MDUpdateType", -"266":"AggregatedBook", -"267":"NoMDEntryTypes", -"268":"NoMDEntries", -"269":"MDEntryType", -"270":"MDEntryPx", -"271":"MDEntrySize", -"272":"MDEntryDate", -"273":"MDEntryTime", -"274":"TickDirection", -"275":"MDMkt", -"276":"QuoteCondition", -"277":"TradeCondition", -"278":"MDEntryID", -"279":"MDUpdateAction", -"280":"MDEntryRefID", -"281":"MDReqRejReason", -"282":"MDEntryOriginator", -"283":"LocationID", -"284":"DeskID", -"285":"DeleteReason", -"286":"OpenCloseSettleFlag", -"287":"SellerDays", -"288":"MDEntryBuyer", -"289":"MDEntrySeller", -"290":"MDEntryPositionNo", -"291":"FinancialStatus", -"292":"CorporateAction", -"293":"DefBidSize", -"294":"DefOfferSize", -"295":"NoQuoteEntries", -"296":"NoQuoteSets", -"297":"QuoteStatus(formerlynamed:QuoteAckStatuspriortoFIX4.3)", -"298":"QuoteCancelType", -"299":"QuoteEntryID", -"300":"QuoteRejectReason", -"301":"QuoteResponseLevel", -"302":"QuoteSetID", -"303":"QuoteRequestType", -"304":"TotQuoteEntries", -"305":"UnderlyingSecurityIDSource(formerlynamed:UnderlyingIDSourcepriortoFIX4.3)", -"306":"UnderlyingIssuer", -"307":"UnderlyingSecurityDesc", -"308":"UnderlyingSecurityExchange", -"309":"UnderlyingSecurityID", -"310":"UnderlyingSecurityType", -"311":"UnderlyingSymbol", -"312":"UnderlyingSymbolSfx", -"313":"UnderlyingMaturityMonthYear", -"314":"UnderlyingMaturityDay(replaced)", -"315":"UnderlyingPutOrCall(replaced)", -"316":"UnderlyingStrikePrice", -"317":"UnderlyingOptAttribute", -"318":"UnderlyingCurrency", -"319":"RatioQty", -"320":"SecurityReqID", -"321":"SecurityRequestType", -"322":"SecurityResponseID", -"323":"SecurityResponseType", -"324":"SecurityStatusReqID", -"325":"UnsolicitedIndicator", -"326":"SecurityTradingStatus", -"327":"HaltReason", -"328":"InViewOfCommon", -"329":"DueToRelated", -"330":"BuyVolume", -"331":"SellVolume", -"332":"HighPx", -"333":"LowPx", -"334":"Adjustment", -"335":"TradSesReqID", -"336":"TradingSessionID", -"337":"ContraTrader", -"338":"TradSesMethod", -"339":"TradSesMode", -"340":"TradSesStatus", -"341":"TradSesStartTime", -"342":"TradSesOpenTime", -"343":"TradSesPreCloseTime", -"344":"TradSesCloseTime", -"345":"TradSesEndTime", -"346":"NumberOfOrders", -"347":"MessageEncoding", -"348":"EncodedIssuerLen", -"349":"EncodedIssuer", -"350":"EncodedSecurityDescLen", -"351":"EncodedSecurityDesc", -"352":"EncodedListExecInstLen", -"353":"EncodedListExecInst", -"354":"EncodedTextLen", -"355":"EncodedText", -"356":"EncodedSubjectLen", -"357":"EncodedSubject", -"358":"EncodedHeadlineLen", -"359":"EncodedHeadline", -"360":"EncodedAllocTextLen", -"361":"EncodedAllocText", -"362":"EncodedUnderlyingIssuerLen", -"363":"EncodedUnderlyingIssuer", -"364":"EncodedUnderlyingSecurityDescLen", -"365":"EncodedUnderlyingSecurityDesc", -"366":"AllocPrice", -"367":"QuoteSetValidUntilTime", -"368":"QuoteEntryRejectReason", -"369":"LastMsgSeqNumProcessed", -"370":"OnBehalfOfSendingTime(Deprecated)", -"371":"RefTagID", -"372":"RefMsgType", -"373":"SessionRejectReason", -"374":"BidRequestTransType", -"375":"ContraBroker", -"376":"ComplianceID", -"377":"SolicitedFlag", -"378":"ExecRestatementReason", -"379":"BusinessRejectRefID", -"380":"BusinessRejectReason", -"381":"GrossTradeAmt", -"382":"NoContraBrokers", -"383":"MaxMessageSize", -"384":"NoMsgTypes", -"385":"MsgDirection", -"386":"NoTradingSessions", -"387":"TotalVolumeTraded", -"388":"DiscretionInst", -"389":"DiscretionOffset", -"390":"BidID", -"391":"ClientBidID", -"392":"ListName", -"393":"TotalNumSecurities", -"394":"BidType", -"395":"NumTickets", -"396":"SideValue1", -"397":"SideValue2", -"398":"NoBidDescriptors", -"399":"BidDescriptorType", -"400":"BidDescriptor", -"401":"SideValueInd", -"402":"LiquidityPctLow", -"403":"LiquidityPctHigh", -"404":"LiquidityValue", -"405":"EFPTrackingError", -"406":"FairValue", -"407":"OutsideIndexPct", -"408":"ValueOfFutures", -"409":"LiquidityIndType", -"410":"WtAverageLiquidity", -"411":"ExchangeForPhysical", -"412":"OutMainCntryUIndex", -"413":"CrossPercent", -"414":"ProgRptReqs", -"415":"ProgPeriodInterval", -"416":"IncTaxInd", -"417":"NumBidders", -"418":"TradeType", -"419":"BasisPxType", -"420":"NoBidComponents", -"421":"Country", -"422":"TotNoStrikes", -"423":"PriceType", -"424":"DayOrderQty", -"425":"DayCumQty", -"426":"DayAvgPx", -"427":"GTBookingInst", -"428":"NoStrikes", -"429":"ListStatusType", -"430":"NetGrossInd", -"431":"ListOrderStatus", -"432":"ExpireDate", -"433":"ListExecInstType", -"434":"CxlRejResponseTo", -"435":"UnderlyingCouponRate", -"436":"UnderlyingContractMultiplier", -"437":"ContraTradeQty", -"438":"ContraTradeTime", -"439":"ClearingFirm(replaced)", -"440":"ClearingAccount(replaced)", -"441":"LiquidityNumSecurities", -"442":"MultiLegReportingType", -"443":"StrikeTime", -"444":"ListStatusText", -"445":"EncodedListStatusTextLen", -"446":"EncodedListStatusText", -"447":"PartyIDSource", -"448":"PartyID", -"449":"TotalVolumeTradedDate", -"450":"TotalVolumeTradedTime", -"451":"NetChgPrevDay", -"452":"PartyRole", -"453":"NoPartyIDs", -"454":"NoSecurityAltID", -"455":"SecurityAltID", -"456":"SecurityAltIDSource", -"457":"NoUnderlyingSecurityAltID", -"458":"UnderlyingSecurityAltID", -"459":"UnderlyingSecurityAltIDSource", -"460":"Product", -"461":"CFICode", -"462":"UnderlyingProduct", -"463":"UnderlyingCFICode", -"464":"TestMessageIndicator", -"465":"QuantityType", -"466":"BookingRefID", -"467":"IndividualAllocID", -"468":"RoundingDirection", -"469":"RoundingModulus", -"470":"CountryOfIssue", -"471":"StateOrProvinceOfIssue", -"472":"LocaleOfIssue", -"473":"NoRegistDtls", -"474":"MailingDtls", -"475":"InvestorCountryOfResidence", -"476":"PaymentRef", -"477":"DistribPaymentMethod", -"478":"CashDistribCurr", -"479":"CommCurrency", -"480":"CancellationRights", -"481":"MoneyLaunderingStatus", -"482":"MailingInst", -"483":"TransBkdTime", -"484":"ExecPriceType", -"485":"ExecPriceAdjustment", -"486":"DateOfBirth", -"487":"TradeReportTransType", -"488":"CardHolderName", -"489":"CardNumber", -"490":"CardExpDate", -"491":"CardIssNo", -"492":"PaymentMethod", -"493":"RegistAcctType", -"494":"Designation", -"495":"TaxAdvantageType", -"496":"RegistRejReasonText", -"497":"FundRenewWaiv", -"498":"CashDistribAgentName", -"499":"CashDistribAgentCode", -"500":"CashDistribAgentAcctNumber", -"501":"CashDistribPayRef", -"502":"CashDistribAgentAcctName", -"503":"CardStartDate", -"504":"PaymentDate", -"505":"PaymentRemitterID", -"506":"RegistStatus", -"507":"RegistRejReasonCode", -"508":"RegistRefID", -"509":"RegistDetls", -"510":"NoDistribInsts", -"511":"RegistEmail", -"512":"DistribPercentage", -"513":"RegistID", -"514":"RegistTransType", -"515":"ExecValuationPoint", -"516":"OrderPercent", -"517":"OwnershipType", -"518":"NoContAmts", -"519":"ContAmtType", -"520":"ContAmtValue", -"521":"ContAmtCurr", -"522":"OwnerType", -"523":"PartySubID", -"524":"NestedPartyID", -"525":"NestedPartyIDSource", -"526":"SecondaryClOrdID", -"527":"SecondaryExecID", -"528":"OrderCapacity", -"529":"OrderRestrictions", -"530":"MassCancelRequestType", -"531":"MassCancelResponse", -"532":"MassCancelRejectReason", -"533":"TotalAffectedOrders", -"534":"NoAffectedOrders", -"535":"AffectedOrderID", -"536":"AffectedSecondaryOrderID", -"537":"QuoteType", -"538":"NestedPartyRole", -"539":"NoNestedPartyIDs", -"540":"TotalAccruedInterestAmt", -"541":"MaturityDate", -"542":"UnderlyingMaturityDate", -"543":"InstrRegistry", -"544":"CashMargin", -"545":"NestedPartySubID", -"546":"Scope", -"547":"MDImplicitDelete", -"548":"CrossID", -"549":"CrossType", -"550":"CrossPrioritization", -"551":"OrigCrossID", -"552":"NoSides", -"553":"Username", -"554":"Password", -"555":"NoLegs", -"556":"LegCurrency", -"557":"TotalNumSecurityTypes", -"558":"NoSecurityTypes", -"559":"SecurityListRequestType", -"560":"SecurityRequestResult", -"561":"RoundLot", -"562":"MinTradeVol", -"563":"MultiLegRptTypeReq", -"564":"LegPositionEffect", -"565":"LegCoveredOrUncovered", -"566":"LegPrice", -"567":"TradSesStatusRejReason", -"568":"TradeRequestID", -"569":"TradeRequestType", -"570":"PreviouslyReported", -"571":"TradeReportID", -"572":"TradeReportRefID", -"573":"MatchStatus", -"574":"MatchType", -"575":"OddLot", -"576":"NoClearingInstructions", -"577":"ClearingInstruction", -"578":"TradeInputSource", -"579":"TradeInputDevice", -"580":"NoDates", -"581":"AccountType", -"582":"CustOrderCapacity", -"583":"ClOrdLinkID", -"584":"MassStatusReqID", -"585":"MassStatusReqType", -"586":"OrigOrdModTime", -"587":"LegSettlmntTyp", -"588":"LegFutSettDate", -"589":"DayBookingInst", -"590":"BookingUnit", -"591":"PreallocMethod", -"592":"UnderlyingCountryOfIssue", -"593":"UnderlyingStateOrProvinceOfIssue", -"594":"UnderlyingLocaleOfIssue", -"595":"UnderlyingInstrRegistry", -"596":"LegCountryOfIssue", -"597":"LegStateOrProvinceOfIssue", -"598":"LegLocaleOfIssue", -"599":"LegInstrRegistry", -"600":"LegSymbol", -"601":"LegSymbolSfx", -"602":"LegSecurityID", -"603":"LegSecurityIDSource", -"604":"NoLegSecurityAltID", -"605":"LegSecurityAltID", -"606":"LegSecurityAltIDSource", -"607":"LegProduct", -"608":"LegCFICode", -"609":"LegSecurityType", -"610":"LegMaturityMonthYear", -"611":"LegMaturityDate", -"612":"LegStrikePrice", -"613":"LegOptAttribute", -"614":"LegContractMultiplier", -"615":"LegCouponRate", -"616":"LegSecurityExchange", -"617":"LegIssuer", -"618":"EncodedLegIssuerLen", -"619":"EncodedLegIssuer", -"620":"LegSecurityDesc", -"621":"EncodedLegSecurityDescLen", -"622":"EncodedLegSecurityDesc", -"623":"LegRatioQty", -"624":"LegSide", -"625":"TradingSessionSubID", -"626":"AllocType", -"627":"NoHops", -"628":"HopCompID", -"629":"HopSendingTime", -"630":"HopRefID", -"631":"MidPx", -"632":"BidYield", -"633":"MidYield", -"634":"OfferYield", -"635":"ClearingFeeIndicator", -"636":"WorkingIndicator", -"637":"LegLastPx", -"638":"PriorityIndicator", -"639":"PriceImprovement", -"640":"Price2", -"641":"LastForwardPoints2", -"642":"BidForwardPoints2", -"643":"OfferForwardPoints2", -"644":"RFQReqID", -"645":"MktBidPx", -"646":"MktOfferPx", -"647":"MinBidSize", -"648":"MinOfferSize", -"649":"QuoteStatusReqID", -"650":"LegalConfirm", -"651":"UnderlyingLastPx", -"652":"UnderlyingLastQty", -"653":"SecDefStatus", -"654":"LegRefID", -"655":"ContraLegRefID", -"656":"SettlCurrBidFxRate", -"657":"SettlCurrOfferFxRate", -"658":"QuoteRequestRejectReason", -"659":"SideComplianceID" -} diff --git a/resources/Requirements40.js b/resources/Requirements40.js new file mode 100644 index 0000000..d452c28 --- /dev/null +++ b/resources/Requirements40.js @@ -0,0 +1,3 @@ +exports.requirements = {version: "FIX.4.0", + headers:["8","9","35","49","56","115?","128?","90?","91?","34","50?","142?","57?","143?","116?","144?","129?","145?","43?","97?","52","122?","212?","347?","369?","370?"], + trailers:["39?","89?","10"]}; diff --git a/resources/Fields44.js b/resources/fixtagnums.js similarity index 100% rename from resources/Fields44.js rename to resources/fixtagnums.js diff --git a/testfixclient.js b/testfixclient.js index 0f27752..dadaf1d 100644 --- a/testfixclient.js +++ b/testfixclient.js @@ -5,16 +5,16 @@ const FIX40 = {version: "FIX.4.0", headers:["8","9","35","49","56","115?","128?","90?","91?","34","50?","142?","57?","143?","116?","144?","129?","145?","43?","97?","52","122?","212?","347?","369?","370?"], trailers:["39?","89?","10"]}; const FIX41 = {version: "FIX.4.1", - headers:["8","9","35","49","56","115?","128?","90?","91?","34","50?","142?","57?","143?","116?","144?","129?","145?","43?","97?","52","122?","212?","347?","369?","370?"], + headers:["8", "9", "35", "49", "56", "115?", "128?", "90?", "91?", "34", "50?","142?", "57?", "143?", "116?", "144?", "129?", "145?", "43?", "97?","52", "122?"], trailers:["39?","89?","10"]}; const FIX42 = {version: "FIX.4.2", - headers:["8","9","35","49","56","115?","128?","90?","91?","34","50?","142?","57?","143?","116?","144?","129?","145?","43?","97?","52","122?","212?","347?","369?","370?"], + headers:["8", "9", "35", "49", "56", "115?", "128?", "90?", "91?", "34", "50?","142?", "57?", "143?", "116?", "144?", "129?", "145?", "43?", "97?","52", "122?", "212?", "213?", "", "", "347?", "369?", "370?"], trailers:["39?","89?","10"]}; const FIX43 = {version: "FIX.4.3", - headers:["8","9","35","49","56","115?","128?","90?","91?","34","50?","142?","57?","143?","116?","144?","129?","145?","43?","97?","52","122?","212?","347?","369?","370?"], + headers:["8", "9", "35", "49", "56", "115", "128", "90", "91", "34", "50","142", "57", "143", "116", "144", "129", "145", "43", "97", "52","122", "212", "213", "347", "369", "370", "627", "628?", "629?", "630?"], trailers:["39?","89?","10"]}; const FIX44 = {version: "FIX.4.4", - headers:["8","9","35","49","56","115?","128?","90?","91?","34","50?","142?","57?","143?","116?","144?","129?","145?","43?","97?","52","122?","212?","347?","369?","370?"], + headers:["8", "9", "35", "49", "56", "115?", "128?", "90?", "91?", "34", "50?","142?", "57?", "143?", "116?", "144?", "129?", "145?", "43?", "97?","52", "122?", "212?", "213?", "347?", "369?", "627?", "628?", "629?","630?"], trailers:["39?","89?","10"]}; diff --git a/testfixserver.js b/testfixserver.js index 9e0e5a3..5a413ce 100644 --- a/testfixserver.js +++ b/testfixserver.js @@ -5,16 +5,16 @@ const FIX40 = {version: "FIX.4.0", headers:["8","9","35","49","56","115?","128?","90?","91?","34","50?","142?","57?","143?","116?","144?","129?","145?","43?","97?","52","122?","212?","347?","369?","370?"], trailers:["39?","89?","10"]}; const FIX41 = {version: "FIX.4.1", - headers:["8","9","35","49","56","115?","128?","90?","91?","34","50?","142?","57?","143?","116?","144?","129?","145?","43?","97?","52","122?","212?","347?","369?","370?"], + headers:["8", "9", "35", "49", "56", "115?", "128?", "90?", "91?", "34", "50?","142?", "57?", "143?", "116?", "144?", "129?", "145?", "43?", "97?","52", "122?"], trailers:["39?","89?","10"]}; const FIX42 = {version: "FIX.4.2", - headers:["8","9","35","49","56","115?","128?","90?","91?","34","50?","142?","57?","143?","116?","144?","129?","145?","43?","97?","52","122?","212?","347?","369?","370?"], + headers:["8", "9", "35", "49", "56", "115?", "128?", "90?", "91?", "34", "50?","142?", "57?", "143?", "116?", "144?", "129?", "145?", "43?", "97?","52", "122?", "212?", "213?", "", "", "347?", "369?", "370?"], trailers:["39?","89?","10"]}; const FIX43 = {version: "FIX.4.3", - headers:["8","9","35","49","56","115?","128?","90?","91?","34","50?","142?","57?","143?","116?","144?","129?","145?","43?","97?","52","122?","212?","347?","369?","370?"], + headers:["8", "9", "35", "49", "56", "115", "128", "90", "91", "34", "50","142", "57", "143", "116", "144", "129", "145", "43", "97", "52","122", "212", "213", "347", "369", "370", "627", "628?", "629?", "630?"], trailers:["39?","89?","10"]}; const FIX44 = {version: "FIX.4.4", - headers:["8","9","35","49","56","115?","128?","90?","91?","34","50?","142?","57?","143?","116?","144?","129?","145?","43?","97?","52","122?","212?","347?","369?","370?"], + headers:["8", "9", "35", "49", "56", "115?", "128?", "90?", "91?", "34", "50?","142?", "57?", "143?", "116?", "144?", "129?", "145?", "43?", "97?","52", "122?", "212?", "213?", "347?", "369?", "627?", "628?", "629?","630?"], trailers:["39?","89?","10"]};