{"_id":"56b36e0cb008aa1900ab16f1","project":"569407ac73f48f0d0075c9c9","category":{"_id":"56b2615b147e900d00d64995","pages":["56b36e000551d31900cec0ab","56b36e0cb008aa1900ab16f1","56b36e1670b0d22100be6512","56b3773f78a1212100900705","56b3778940438c1900004796","56b377b053da320d00c29742","56b377c5023ef30d009b2b82","56b3788453da320d00c29744"],"project":"569407ac73f48f0d0075c9c9","__v":8,"version":"569407ad73f48f0d0075c9cc","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-02-03T20:21:47.739Z","from_sync":false,"order":9999,"slug":"sessions","title":"Sessions"},"user":"563cc6fa8894d20d00014ea3","version":{"_id":"569407ad73f48f0d0075c9cc","project":"569407ac73f48f0d0075c9c9","__v":4,"createdAt":"2016-01-11T19:51:09.439Z","releaseDate":"2016-01-11T19:51:09.439Z","categories":["569407ae73f48f0d0075c9cd","56b25e4794ab060d00067421","56b2615b147e900d00d64995","56b3788d78a1212100900709"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1"},"__v":18,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-02-04T15:28:12.090Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"8=FIX.4.2\\n9=63\\n34=1\\n35=A\\n49=TEST1\\n52=20160201-00:00:19\\n56=DWFIX01\\n98=0\\n108=60\\n10=124\",\n      \"language\": \"text\",\n      \"name\": \"Logon Request (initiator)\"\n    }\n  ],\n  \"sidebar\": true\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"8=FIX.4.2\\n9=67\\n34=1\\n35=A\\n49=DWFIX01\\n52=20160201-00:00:19\\n56=TEST1\\n98=0\\n108=60\\n10=073\",\n      \"language\": \"text\",\n      \"name\": \"Logon Response (acceptor)\"\n    }\n  ],\n  \"sidebar\": true\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"The Logon message is a slight variation on the FIX specification.\"\n}\n[/block]\nThe `Logon <A>` message authenticates a user establishing a connection to a remote system. The `Logon <A>` message must be the first message sent by the application requesting to initiate a FIX session.\n\nThe `HeartBtInt <108>` field is used to declare the timeout interval for generating heartbeats (same value used by both sides). The `HeartBtInt <108>` value must be agreed upon between DriveWealth and the initiator, specified by the initiator, and echoed back by the acceptor.\n\nUpon receipt of a `Logon <A>` message, the session acceptor will authenticate the party requesting connection and issue a `Logon <A>` message as acknowledgment that the connection request has been accepted. The acknowledgment `Logon <A>` can also be used by the initiator to validate that the connection was established with the correct party.\n\nThe session initiator can choose to begin transmission of FIX messages before receipt of the confirmation `Logon <A>`, however it is recommended that normal message delivery wait until after the return `Logon <A>` is received to accommodate encryption key negotiation.\n\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Tag\",\n    \"h-1\": \"Tag Description\",\n    \"h-2\": \"Value\",\n    \"h-3\": \"Value Description\",\n    \"0-0\": \"`8`\",\n    \"0-1\": \"BeginString\",\n    \"0-2\": \"`FIX.4.2`\",\n    \"0-3\": \"FIX Version\",\n    \"7-0\": \"`98`\",\n    \"8-0\": \"`108`\",\n    \"9-0\": \"`141`\",\n    \"7-1\": \"EncryptMethod\",\n    \"7-2\": \"`0`\",\n    \"7-3\": \"Only `NONE` is supported\",\n    \"8-2\": \"`60`\",\n    \"8-1\": \"HeartBtInt\",\n    \"9-1\": \"ResetSeqNumFlag\",\n    \"9-2\": \"\",\n    \"8-3\": \"Heartbeat interval in seconds.\",\n    \"9-3\": \"Indicates both sides of a FIX session should reset sequence numbers.\",\n    \"h-4\": \"Required\",\n    \"7-4\": \"**Yes**\",\n    \"8-4\": \"**Yes**\",\n    \"9-4\": \"**No**\",\n    \"3-0\": \"`35`\",\n    \"3-1\": \"MsgType\",\n    \"3-2\": \"`A`\",\n    \"3-3\": \"Logon\",\n    \"0-4\": \"**Yes**\",\n    \"1-0\": \"`9`\",\n    \"1-1\": \"BodyLength\",\n    \"1-2\": \"`63`\",\n    \"1-3\": \"Length of message\",\n    \"1-4\": \"**Yes**\",\n    \"3-4\": \"**Yes**\",\n    \"10-0\": \"`10`\",\n    \"10-1\": \"CheckSum\",\n    \"10-2\": \"`124`\",\n    \"10-3\": \"Checksum of message\",\n    \"10-4\": \"**Yes**\",\n    \"4-0\": \"`49`\",\n    \"4-1\": \"SenderCompID\",\n    \"4-2\": \"`TEST1`\",\n    \"4-3\": \"Sender ID\",\n    \"4-4\": \"**Yes**\",\n    \"6-0\": \"`56`\",\n    \"6-1\": \"TargetCompID\",\n    \"6-2\": \"`DWFIX01`\",\n    \"6-3\": \"Target ID\",\n    \"5-0\": \"`52`\",\n    \"5-1\": \"SendingTime\",\n    \"5-2\": \"`20160201-00:00:19`\",\n    \"5-3\": \"Sending time stamp\",\n    \"5-4\": \"**Yes**\",\n    \"6-4\": \"**Yes**\",\n    \"2-0\": \"`34`\",\n    \"2-1\": \"MsgSeqNum\",\n    \"2-2\": \"`1`\",\n    \"2-3\": \"Message sequence number\",\n    \"2-4\": \"**Yes**\"\n  },\n  \"cols\": 5,\n  \"rows\": 11\n}\n[/block]","excerpt":"","slug":"logon-message","type":"basic","title":"Logon"}
[block:code] { "codes": [ { "code": "8=FIX.4.2\n9=63\n34=1\n35=A\n49=TEST1\n52=20160201-00:00:19\n56=DWFIX01\n98=0\n108=60\n10=124", "language": "text", "name": "Logon Request (initiator)" } ], "sidebar": true } [/block] [block:code] { "codes": [ { "code": "8=FIX.4.2\n9=67\n34=1\n35=A\n49=DWFIX01\n52=20160201-00:00:19\n56=TEST1\n98=0\n108=60\n10=073", "language": "text", "name": "Logon Response (acceptor)" } ], "sidebar": true } [/block] [block:callout] { "type": "info", "body": "The Logon message is a slight variation on the FIX specification." } [/block] The `Logon <A>` message authenticates a user establishing a connection to a remote system. The `Logon <A>` message must be the first message sent by the application requesting to initiate a FIX session. The `HeartBtInt <108>` field is used to declare the timeout interval for generating heartbeats (same value used by both sides). The `HeartBtInt <108>` value must be agreed upon between DriveWealth and the initiator, specified by the initiator, and echoed back by the acceptor. Upon receipt of a `Logon <A>` message, the session acceptor will authenticate the party requesting connection and issue a `Logon <A>` message as acknowledgment that the connection request has been accepted. The acknowledgment `Logon <A>` can also be used by the initiator to validate that the connection was established with the correct party. The session initiator can choose to begin transmission of FIX messages before receipt of the confirmation `Logon <A>`, however it is recommended that normal message delivery wait until after the return `Logon <A>` is received to accommodate encryption key negotiation. [block:parameters] { "data": { "h-0": "Tag", "h-1": "Tag Description", "h-2": "Value", "h-3": "Value Description", "0-0": "`8`", "0-1": "BeginString", "0-2": "`FIX.4.2`", "0-3": "FIX Version", "7-0": "`98`", "8-0": "`108`", "9-0": "`141`", "7-1": "EncryptMethod", "7-2": "`0`", "7-3": "Only `NONE` is supported", "8-2": "`60`", "8-1": "HeartBtInt", "9-1": "ResetSeqNumFlag", "9-2": "", "8-3": "Heartbeat interval in seconds.", "9-3": "Indicates both sides of a FIX session should reset sequence numbers.", "h-4": "Required", "7-4": "**Yes**", "8-4": "**Yes**", "9-4": "**No**", "3-0": "`35`", "3-1": "MsgType", "3-2": "`A`", "3-3": "Logon", "0-4": "**Yes**", "1-0": "`9`", "1-1": "BodyLength", "1-2": "`63`", "1-3": "Length of message", "1-4": "**Yes**", "3-4": "**Yes**", "10-0": "`10`", "10-1": "CheckSum", "10-2": "`124`", "10-3": "Checksum of message", "10-4": "**Yes**", "4-0": "`49`", "4-1": "SenderCompID", "4-2": "`TEST1`", "4-3": "Sender ID", "4-4": "**Yes**", "6-0": "`56`", "6-1": "TargetCompID", "6-2": "`DWFIX01`", "6-3": "Target ID", "5-0": "`52`", "5-1": "SendingTime", "5-2": "`20160201-00:00:19`", "5-3": "Sending time stamp", "5-4": "**Yes**", "6-4": "**Yes**", "2-0": "`34`", "2-1": "MsgSeqNum", "2-2": "`1`", "2-3": "Message sequence number", "2-4": "**Yes**" }, "cols": 5, "rows": 11 } [/block]