本文主要是介绍【FIX协议】金融信息交换协议(FIX)v5.0读书笔记(1),希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
转自: http://blog.csdn.net/songzhang/article/details/1778118
- 就商务流程而言,FIX为机构,中间商,以及其他市场参与者提供了一个减少不必要的电话沟通和琐碎的文档传递方法,为面向特定个体传递高质量的信息提供便利。
- FIX为于技术专家提供了一个开放的标准,对他们开发的努力和实践产生了影响,使他们能高效地创建同一个更大范围的参与者之间的联系。
- FIX可以为卖主提供一条现成的通往行业的信息存取路径,减少了市场营销的难度,增加了潜在的客户群。
FIX协议包含2个层次:会话层和应用层。会话层与数据的通信相关;而应用层定义了商务相关数据内容。
2006年10月,FPL发布了FIX5.0。FIX5.0引入TI(the transport independence )传输无关框架。TI将FIX会话层从应用层协议中分离出来。在TI框架下,应用层协议消息可以通过任意合适的传输技术进行传送,在这里,FIX会话层协议是FIX应用层消息的可选传输传输协议之一。两个协议层的版本标注将会有所不同,FIX X.Y为FIX应用层协议版本;FIXT X.Y 为FIX会话层协议版本编号。
2.1.TI——the transport independence

- int:整型 没有小数点,逗号,可以包含正负号的数字序列。注,int的值前面可以包含0。(如 “00023” = “23”).
- float: 浮点数。可包含小数点和正负号的数字序。累计总长度为15个数字。前面可以有0,小数末尾可加零,或截尾
- String: 字符串。是大小写敏感的。
- char: 字符。除分界符号SOH外的字符。大小写敏感。.
- data: 原始数据。 没有格式和内容限制。之前紧接有一个长度域。长度域应制定data数据域包含的字节数(不好含分界符所占字节)。数据中可能包含分界符字节,所以需要用data类型数据长度来辅助区别。
Portion of New Order - List message showing a nested repeating group for allocations for each order. Note the NoAllocs repeating group is nested within the NoOrders repeating group and as such each instance of the orders repeating group may contain a repeating group of allocations. | |||||
73 | NoOrders | Y | Number of orders in this message (number of repeating groups to follow) | ||
-〉 | 11 | ClOrdID | Y | Must be the first field in the repeating group. | |
-〉 | 526 | SecondaryClOrdID | N | ||
-〉 | 67 | ListSeqNo | Y | Order number within the list | |
-〉 | 583 | ClOrdLinkID | N | ||
-〉 | 160 | SettlInstMode | N | ||
-〉 | component block <Parties> | N | Insert here the set of "Parties" (firm identification) fields defined in "COMMON COMPONENTS OF APPLICATION MESSAGES" | ||
-〉 | 229 | TradeOriginationDate | N | ||
-〉 | 1 | Account | N | ||
-〉 | 581 | AccountType | N | ||
-〉 | 589 | DayBookingInst | N | ||
-〉 | 590 | BookingUnit | N | ||
-〉 | 591 | PreallocMethod | N | ||
-〉 | 78 | NoAllocs | N | Indicates number of pre-trade allocation accounts to follow | |
-〉 | -〉 | 79 | AllocAccount | N | Required if NoAllocs > 0. Must be the first field in the repeating group. |
-〉 | -〉 | 467 | IndividualAllocID | N | |
-〉 | -〉 | component block <NestedParties> | N | Insert here the set of "Nested Parties" (firm identification "nested" within additional repeating group) fields defined in "COMMON COMPONENTS OF APPLICATION MESSAGES" | |
-〉 | -〉 | 80 | AllocQty | N | |
-〉 | 63 | SettlmntTyp | N | ||
-〉 | 64 | FutSettDate | N | Takes precedence over SettlmntTyp value and conditionally required/omitted for specific SettlmntTyp values. | |
Rest of the message not shown |
这篇关于【FIX协议】金融信息交换协议(FIX)v5.0读书笔记(1)的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!