US20140122317A1
2014-05-01
14/029,693
2013-09-17
A method and system for providing remote access to trade functionality at a financial service provider is disclosed. A messaging protocol is provided which allows a party remote from the provider to price and enter into transactions with the provider. The messaging protocol is well suited for use in stateless communication networks, such as the Internet, and requires only minimal support functionality at the remote site to implement, thus making the system easy to use by a wide variety of types of remote systems.
Get notified when new applications in this technology area are published.
G06Q40/04 » CPC main
Finance; Insurance; Tax strategies; Processing of corporate or income taxes Exchange, e.g. stocks, commodities, derivatives or currency exchange
This application is a continuation of U.S. patent application Ser. No. 10/135,326, filed Apr. 30, 2002, entitled βUniversal Interface To A Financial Trading Systemβ which claims priority from U.S. Provisional Application No. 60/287,435, filed Apr. 30, 2001, entitled βElectronic Access To Liquidity,β the entire contents of each of which are hereby expressly incorporated by reference.
The present invention is related to a network messaging protocol, method, and system which provides access to pricing and trading features of a financial services provider via a network.
Many institutional investors require the ability to perform transactions, such as currency exchanges, electronically. This βelectronic liquidityβ can be needed for several reasons. For example, electronic currency exchange services may be required to allow the institutional investor to provide goods and services on B2B or B2C marketplaces in multiple currencies. Other reasons include a desire by the institutional investor to integrate execution into risk management systems or in conducting βblack boxβ trading.
Various mechanisms have been provided to allow an institutional investor to connect electronically to a financial service provider. However, conventional implementations require a substantial portion of the messaging infrastructure to be implemented on the institutional investor's system. In addition, the communications protocol between the institutional investor and the financial services provider is configured for use on a dedicated network and generally unsuitable for use on open network systems, such as the Internet, where communications are βstatelessβ, making multiple step transactions more complex.
Accordingly, there is a need to provide an improved messaging framework which allows easy access by an institutional investor to financial services provided through a network, such as the Internet, and with only minimal processing required to be performed by the institutional investor.
These and other needs are addressed by the present invention which provides a simple, message-based framework that allows users to route price and trade requests to one or more servers connected between a network, such as the Internet, and thereby to the financial institution's host machines. The server can act as a liaison between an e-commerce application and the service provider's quote, execution, and confirmation systems. The framework is simple to implement and enables the client institution to use the power of the financial service provider's liquidity to enhance their existing software and functionality. By adding comparatively simple integration code to a system, the system can retrieve quotes, execute trades, and perform post-trade analysis.
A particular use of the present invention is to provide institutional investors with the ability to quickly engage in foreign exchange transactions with a suitable financial service provider. Additional transactions, such as the purchase or sale of financial instruments or products are also supported. The invention will be particularly described herein with respect to foreign exchange-related transactions. However, the principles disclosed are applicable to a variety of other financial transactions.
According to a particular implementation, a system for providing access to a financial service provider has an interface to a communications network and is also connected to appropriate portions of the financial service provider system, e.g., through appropriate data interfaces. The system is programmed to receive a price request message from an entity, obtain a price from the financial service provider and, upon receiving the price, format and transmit a price response message to the entity containing data identifying the transaction type, specifying the transaction details, indicating that the price request was accepted or rejected and, if accepted, specifying a price for the transaction, and a transaction ID. Upon receiving a trade request message containing the transaction ID, the server obtains approval to enter into the transaction from the financial service provider and transmits a trade response message to the entity which contains the transaction ID and indicates whether the trade request was approved or rejected. If the trade request was approved, the system waits until receiving a trade acknowledgement message from the entity before instructing the financial service provider to add the transaction to its books.
The invention can be embodied as computer executable program code residing on a computer-readable medium, a computer data signal embodied in a digital data stream, or a method of interacting with a network access device designed to assist a user incorporate the functionality of the present invention into their systems. Various features and embodiments are further described in the following figures, drawings and claims.
FIG. 1 is a block diagram showing an environment in which the present invention can be implemented;
FIG. 2 is a high-level block diagram showing the major system components of the trading interface server of FIG. 1;
FIG. 3 is a high level diagram showing the architecture of a particular transaction system for Foreign Exchange which utilizes the present invention; and
FIGS. 4a-4c illustrate message flow sequences for successful and unsuccessful pricing and transaction requests.
Turning to FIG. 1, there is shown a block diagram of an environment in which the present invention can be implemented. A trading interface server 10 is connected between a network 12, such as the Internet, and one or more financial service trading systems 14.1 . . . 14.n. The trading systems 14.1-14.n can be from different financial service providers or represent various different systems associated with the same provider. For example, one system 14.1 can be a foreign exchange trading system from a first service provider and have its own quote, execution, and confirmation sub-systems, and another trading system 14.2 (not shown) can be for the trading of U.S. securities and may be associated with the first service provider or perhaps a different service provider.
As discussed more fully below, the trading interface server 10 implements a communications protocol that provides investor clients 16.1-16.m with access to the financial trading systems via a network 12. Investor clients can be institutional investors or other entities that wish to access or provide their own users 18 with access to the financial services available by the trading systems 14.1-14.n. In a particular implementation, the trading interface server 10 processes and routes price and trade requests between the institutional investors 16 and the appropriate systems within the connected financial service trading system(s) 14. Access to the system by the clients 16 can be by various ways including the Internet, dedicated lines, virtual private networks, and/or other forms of secure, managed bandwidth. For messaging which requires guaranteed high-speed access and secure communications, such as real-time price streaming, dedicated lines, virtual private networks, or other secure connection methods are preferred.
Once an institutional investor or other system is connected to the trading interface server 10, it can begin sending messages to, e.g., quote and engage in multiple foreign exchange contracts, using the protocols described herein. In a particular implementation, the investor client (directly or on behalf of its own users) can request quotes and trades which include, spot, forward, swap, and option transactions. Other supported message requests include trade blotter and trade details requests, pre and post trade allocations, and indicative spot price requests for a list of currencies.
FIG. 2 is a high-level block diagram showing the major system components of the trading interface server 10 of FIG. 1. The server 10 is configured to process messages received from the network, interact with the financial services systems 14, and return messages to the clients. In a particular embodiment, the server 10 preferably comprises an authentication and validation module 22 which ensures that received messages are from authorized users and that the messages are in a correct format. A message parsing module 24 can be provided, if desired, to extract message data from the received data packet for processing.
A request processing module 26 is configured to examine a received message and determine an appropriate sub-module to process the request. Typically, each type of request will have an associated sub-module. Thus, for example, sub-modules 28, 30, and 32 can be provided to process get price, execute trade, and place order requests. Each sub-module contains functionality to pass data to the appropriate component in the financial services system and to receive a response. The request processing module 26 is further configured to receive responses from the sub-modules 28-32, and to assemble response messages for transmission to the client 16. Communication with the financial service system(s) 14 will typically be established via one or more interfaces and firewalls 36. Similarly, an appropriate interface 38 is provided to connect the trading interface server 10 with the network 12. The details of the interface are dependent on system implementation and appropriate interfaces and interface techniques will be known to those of skill in the art.
The message transaction flow can be represented by a list of transaction types, shown in the order they are sent and received between the financial institution and the investor. There are three typical transaction scenarios. In a first scenario, summarized in FIG. 4a, the transaction completes successfully. In a second scenario, summarized in FIG. 4b, a price request made by an investor is rejected, for example, because the user is not recognized, insufficient market data is available, etc. In a third scenario, summarized in FIG. 4c, a transaction is priced but a subsequent trade request is rejected, for example, because of credit restrictions, invalid QuoteID, etc.
A typical interaction using the protocol of the present invention could proceed as follows:
The sequence of communications will be discussed in more detail with reference to the transaction messaging protocol according to the invention. The messaging protocol is configured to minimize the amount of processing that must be performed by the remote site accessing the trading interface server 10. As a result, functionality to allow access to the trading interface server 10 can be easily added to the remote systems.
The protocol will be discussed herein with reference to examples in XML format. However, the protocol is not limited to only XML format implementations and other alternative formats can be used as appropriate for the communications medium and data format specifications. A most preferred data type definition for the messaging protocol, including required fields for this specific embodiment, as well as various optional fields is shown in Table 1, below. In the preferred embodiment, the XML requests are transmitted using generic WebService architecture and conventional HTTPS POST messages. Responses comprise a standard HTTP/1.1 header with the content type text/html and where the body of the response contains a reply message.
In the preferred XML format, all messages begin and end with a βMessageβ tag. Between the Message tags is the header and a body. The header contains identification information about the parties involved in the transaction and can also contain message-tracking identification codes. The header of the message can and preferably must contain a valid user name and password. When the server 10 receives a message, it automatically extracts the name and password from the header and uses them to authenticate the request. Various methods of encoding the name and password in the message and authentication techniques known to those of skill in the art can be used.
To allow the identification information to be separated from other information that may be present in the header, a separate NodeInfo tag can be used. A sample header for a message from an investor is shown below:
| <Message type=βNormalβ> |
| β<Header> |
| β<NodeInfo role=βRequesterβ> |
| ββ<EntityName>An Investor</EntityName> |
| ββ<Contact>Investor Contact</Contact> |
| ββ<User>investoruser</User> |
| ββ<HostAddress>http://www.aninvestor.com/cgi-bin/ |
| ββProcessing.cgi</HostAddress> |
| ββ<MessageId>00001</MessageId> |
| β</NodeInfo> |
| β<SendDateTimeGMT>20020910 10:59:17</SendDateTimeGMT> |
| β</Header> |
| β<Body> |
| ββbody data |
| β</Body> |
| </Message> |
The body of the message contains financial details of the one or more transactions for which prices are being requested. A type attribute is used to specify the type of transaction being requested and a product detail tag is used to specify the product that is the subject of the transaction and to provide product-specific transaction details. In the preferred implementation, five transaction types are defined: PriceReq (a price request), PriceRes (a price response), TradeReq (a trade request), TradeRes (a trade response), and TradeAck (a trade acknowledgment). For foreign exchange transactions, typical transaction products include spot, forward, swap, and option. The transaction and product types can be used by the trading interface server 10 to determine how the message should be processed and, in particular, to which sub-module the request should be routed and which aspects of the financial services provider's system must be accessed in order to process the request. Preferably, multiple pricing requests and responses can be provided in a single message and can be grouped together under a Transaction List tag while messages containing only trade requests, responses, and acknowledgements are related to a single transaction.
When initiating a transaction, such as a foreign exchange transaction, the first step is to send a price request to the trading interface server specifying the product type of transaction to price and the details about the transaction itself. As will be appreciated, the transaction details are dependent on the type of transaction at issue. While particular transaction types are illustrated below, these are exemplary and those of skill in the art will appreciate how to extend the disclosed concepts to additional transaction types.
Preferably, the transaction details are specified between βProductDetailsβ tags. For a Forward transaction, the transaction details contain two Commodity Quantity elements; one, QuantityCcy, specifies the quantity of currency to be sold and the currency type, the buyer and seller, and a second commodity element, OtherCcy, is used to specify the type of currency to get in exchange. The buyer and seller can also be specified here for consistency.
In a preferred embodiment, the transaction details can be specified in accordance with the template shown below:
| <CommodQuantity type=βQuantityCcyβ> | |
| β<Commodity>CCYI</Commodity> | |
| β<Quantity>#####.##</Quantity> | |
| β<Buyer>Service-Provider</Buyer> | |
| β<Seller>An Investor</Seller> | |
| </CommodQuantity> | |
| <CommodQuantity type=βOtherCcyβ> | |
| β<Commodity>CCY2</Commodity> | |
| β<Buyer>An Investor</Buyer> | |
| β<Seller>Service-Provider</Seller> | |
| </CommodQuantity> | |
| <Date type=βSettleDateβ>YYYYMMDD</58/Date> | |
The settlement date can be specified in year-month-day format, such as shown above. Alternative date formats in the price request are preferably also supported, such as βTOMβ (tomorrow), spot, 1w, 1m, 2m, 3m, 6m, 9m, and 1y. However, preferably, when dates are specified in response messages sent from the financial service provider, the dates are indicated only in the YYYY-MM-DD format.
A sample message body for a foreign exchange forward price request is shown below:
| <Body> | |
| β<TransactionList type=βPriceReqβ> | |
| β<Transaction action=βNewβ> | |
| ββ<ClientTransId>5432I</ClientTransId> | |
| ββ<ProductDetail type=βFXForwardβ> | |
| ββ<FXForward> | |
| βββ<CommodQuantity type=βQuantityCcyβ> | |
| ββββ<Commodity>USD</Commodity> | |
| ββββ<Quantity> 1000000.00</Quantity> | |
| ββββ<Buyer>Service Provider</Buyer> | |
| βββ<Seller>An Investor</Seller> | |
| βββ</CommodQuantity> | |
| βββ<CommodQuantity type=βOtherCcyβ> | |
| ββββ<Commodity>EUR</Commodity> | |
| ββββ<Buyer>An Investor</Buyer> | |
| βββ<Seller> Service Provider </Seller> | |
| βββ</CommodQuantity> | |
| βββ<Date type=βSettleDateβ>20020915</Date> | |
| ββ</FXForward> | |
| ββ</ProductDetail> | |
| β</Transaction> | |
| β</TransactionList> | |
| </Body> | |
Additional fields can also be included in the message body. For example, a client transaction ID can be specified. This value, which can be freely defined by the requestor (e.g., the institutional investor) will be copied into a reply message generated by the trading interface server so that the requestor can match requests to replies. In addition, a Transaction-Action field can be specified to indicate, for example, whether the transaction request is for a new transaction or the message is asking to update a prior transaction request. Further values, such as canceling a transaction request, βadminβ, for administrative messages, ignore, for system testing purposes, can also preferably be specified in the transaction-action field. If multiple price requests are desired, they can be included in the message as separate transaction elements between the transaction list tags.
As will be appreciated by those of skill in the art, the principles illustrated with respect to a forward price foreign exchange can be applied to any type of trade. Other preferred tags that may be suitable for use in these messages are shown in the data type definition shown in Table 1, below.
After receiving a price request, the trading interface server 10 validates and authenticates the message and parses the message as necessary. Based on the price request message type, the request processing module 26 passes at least the relevant message data, and preferably the entire message, to the get price module 28. This module is in communication with the appropriate functions in the financial service system for pricing foreign exchange price requests and passes it the details of the transaction. The get price module 28 receives from the financial service system 14 the price the service provider is willing to pay, here in the form of an exchange rate and a corresponding amount of currency. This value is then assembled in a message to be returned to the institutional investor making the request.
According to the protocols specified in a preferred embodiment of the invention, the TransactionList type in this response message is set to indicate a price response and the body of the message is updated to add the pricing information. In addition, a QuoteID value is specified by the financial service provider. This field indicates that the stated price is βdealableβ. The QuoteID is used in subsequent messages requesting a trade on the specified quote.
A quote expiration field may also be provided to indicate a period of time during which the quote will remain valid. If a client tries to deal on a quote that has expired, the transaction will be rejected. The timeout period can vary depending on market conditions and thus the quote expiration time may vary from one quote to the next. Preferably, Quote Expiration is set to 6 seconds by default.
Also, in some instances, the service provider may be unable or unwilling to specify a price. For example, the proposed transaction may exceed specified trading limits. To allow for this situation, a transaction status tag is provided which can be given a value to indicate whether the price request has been accepted or rejected. Additional details can also be added to the message as desired, such as a message under the transaction status tag giving details about the accepted transaction or an explanation of why a request was rejected.
A sample response message to the forward price request is shown below with the added fields shown in bold for reference:
| <Message type=βNormal> |
| β<Header> |
| ββ<NodeInfo role=βRequesterβ> |
| βββ...requestor data ... |
| ββ</NodeInfo> |
| ββ<NodeInfo role=βResponderβ> |
| ββ<EntityName> Service Provider <EntityName> |
| ββ<Contact>provider contact</Contact> |
| ββ<User></User> |
| ββ<HostAddress></HostAddress> |
| ββ</NodeInfo> |
| ββ<SendDateTimeGMT>20020910 11:58:16</SendDateTimeGMT> |
| β</Header> |
| β<Body> |
| ββ<TransactionList type=βPriceResβ> |
| ββ<Transaction action=βNewβ> |
| βββ<TransactionStatus type=βAcceptedβ> |
| ββββ<Accepted>1 sell 1,000,000.00 USD and buy EUR at 0.906100 |
| for value 22Jan02</Accepted> |
| βββ</TransactionStatus> |
| βββ<TransId type=βQuoteIdβ>D5379159z2</TransId> |
| βββ<QuoteExpiration>30</QuoteExpiration> |
| βββ<ClientTransId>54321</ClientTransId> |
| βββ<ProductDetail type= βFXForwardβ> |
| ββββ<FXForward> |
| ββββ<CommodQuantity type=βQuantityCcyβ> |
| βββββ<Commodity>USD</Commodity> |
| βββββ<Quantity>1000000.0</Quantity> |
| βββββ<Buyer>Service Provider</Buyer> |
| βββββ<Seller>An Investor</Seller> |
| ββββ</CommodQuantity> |
| ββββ<CommodQuantity type=βOtherCcyβ> |
| βββββ<Commodity>EUR</Commodity> |
| βββββ<Quantity>1103630.9458117206</Quantity> |
| βββββ<Buyer> An Investor </Buyer> |
| βββββ<Seller> Service Provider </Seller> |
| ββββ</CommodQuantity> |
| ββββ<Rate type=βExchangeRateβ> |
| βββββ<Cross>USD/EUR</Cross> |
| βββββ<Value>0.9061</Value> |
| ββββ</Rate> |
| ββββ<Rate type=βReferenceRateβ> |
| ββββββ<Cross>USD/EUR</Cross> |
| βββββ<Value>0.9089</Value> |
| βββββ<Points>β0.0028</Points> |
| ββββ</Rate> |
| ββββ<Date type=βSettleDateβ>20020915</Date> |
| ββββ</FXForward> |
| βββ</ProductDetail> |
| ββ</Transaction> |
| ββ</TransactionList> |
| β</Body> |
| </Message> |
In this example, the transaction status type is βacceptedβ, indicating that the financial service provider can set a price for the transaction. The βpriceβ of the foreign exchange forward transaction is indicated in the βOtherCcyβ section as the quantity of currency that the financial service provider is willing to pay for the offered currency. The message indicates that the price quote is valid for 30 seconds. Additional transaction information data can be provided, such as express statements of the exchange rate applied, data indicating the reference rate and points applied to the transaction, and a text summary of the transaction being priced. Although not required, preferably all of the transaction information is provided in the message so that the requesting party does not need to implement functions to look up this data when processing a returned message.
If the transaction cannot be priced, a price response message is returned indicating that the request was βrejectedβ. A message giving grounds for the rejection can also be included. A portion of a sample price response message rejecting a price request is shown below:
| <TransactionList type=βPriceResβ> | |
| βββ<TransactionStatus type=βRejectedβ> | |
| ββββββ<Rejected> Quote Failed: Settlement Date is a USD | |
| ββββββHoliday: 1Jan02 | |
| ββββββ</Rejected> | |
| ββββββ</TransactionStatus> | |
| ββββββ<ClientTransId>54321</ClientTransId> | |
| </TransactionList> | |
Once the institutional investor (or other requesting party) receives an accepted price response, it can request a trade for that transaction by sending a trade request message that contains an indication that the message is a trade request, e.g., by specifying this in the transaction list type field, and further contains the quote ID provided in the price response. Other fields, such as the transaction ID specified by the investor can also be included. In the preferred implementation, and unlike price request messages that can contain price requests for multiple transactions, trade requests can only contain one transaction. An example trade request message is shown below:
| <Message type=βNormalβ> | |
| β<Header> | |
| ββ... header info ... | |
| β</Header> | |
| β<Body> | |
| ββ<TransactionList type=βTradeReqβ> | |
| βββ<Transaction action=βNewβ> | |
| ββββ<TransId type=βQuoteIdβ>D5379159z2</TransId> | |
| ββββ<ClientTransId>54321</ClientTransId> | |
| βββ</Transaction> | |
| ββ</TransactionList> | |
| β</Body> | |
| <Message> | |
When a trade request message is received by the trading interface server, it passes the message to the appropriate sub-module which informs the financial service provider of the trade request and provides the associated details as appropriate. The financial service provider processes the trade request and indicates whether or not it is willing to enter into the requested transaction. The trading interface server assembles and sends a trade response message that includes a Transactionstatus element with a type equal to Accepted or Rejected. If accepted, the message also includes the quote ID. If the trade was rejected, a text message can be provided to explain the nature of the failure, such as in the price request rejection shown above. A text message summarizing the transaction, as well as other details, can also be included in an accepted request. A sample trade response message in which the trade request was accepted is shown below:
| <Message type=βNormalβ> | |
| β<Header> | |
| ββββ... header info ... | |
| </Header> | |
| β<Body> | |
| ββ<TransactionList type=βTradeResβ> | |
| βββ<Transaction action=βNewβ> | |
| ββββ<TransactionStatus type=βAcceptedβ> | |
| βββββ<Accepted>I sold 1,000,000.00 USD and bought | |
| 1,103,630.95 EUR for value 22Jan02</Accepted> | |
| ββββ</TransactionStatus> | |
| ββββ<TransId type=βQuoteIdβ>D5379159z2</TransId> | |
| βββββ<QuoteExpiration>6</QuoteExpiration> | |
| ββββ<ClientTransId>54321</ClientTransId> | |
| βββ</Transaction> | |
| ββ</TransactionList> | |
| β</Body> | |
| </Message> | |
At this point in the message stream, there has been an offer by the institutional investor and an acceptance by the financial service provider. However, according to an aspect of the invention, the transaction is not officially put on the service provider's books until after receipt of a trade acknowledgement message containing at least the quote ID. This message indicates that the accepted trade response message has been received by the investor. A sample acknowledgement message is shown below:
| <Message> | |
| β<Header> | |
| ββββ... header info ... | |
| β</Header> | |
| β<Body> | |
| ββ<TransactionList type=βTradeAckβ> | |
| βββ<Transaction action=βNewβ> | |
| ββββ<TransId type=βQuoteIdβ>D5379159z2</TransId> | |
| βββββ<ClientTransId>54321</ClientTransId> | |
| ββββ</Transaction> | |
| ββ</TransactionList> | |
| β</Body> | |
| </Message> | |
If an acknowledgement to an accepted trade response is not received by the trading interface server within a specified period of time, such as 30 seconds, an error condition can be signaled indicating that the requestor should be contacted manually, such as by telephone, e-mail, or other means. Preferably, the contact data provided in the message header is used as an indication of the contact to discuss the transaction at issue.
Finally, the user can acknowledge the receipt of the trade response message. This involves sending a message in which QuoteID is used as a key to tie the separate parts of the transaction together. A sample trade acknowledgement response is shown below:
| <Message type=βNormalβ> | |
| β<Header> | |
| ββββ... header data ... | |
| </Header> | |
| β<Body> | |
| ββ<TransactionList type=βTradeAckResβ> | |
| βββ<Transaction action=βNewβ> | |
| ββββ<GSTransld type=βQuoteIdβ>D5379159z2</GSTransId> | |
| ββββ<ClientTransId>54321</ClientTransId> | |
| βββ</Transaction> | |
| ββ</TransactionList> | |
| β</Body> | |
| </Message> | |
As will be appreciated by those of skill in the art, the messaging format and methodology disclosed above provides a flexible infrastructure which is easy to implement with minimal functional support required at remote site. The protocol is well suited for stateless communication networks, such as the Internet, since the trade pricing and traction requests follow a predefined sequence and messages related to the same transaction are related to each other by the QuoteID assigned by the financial entity (and the requestor's assigned transaction ID).
In addition, the operation of the trading interface server is relatively independent of the operation of the financial services system to which it provides access since (the generally pre-existing) automated functions in the financial services system are used to determine whether a price will be given or a transaction entered into. The trading interface server need merely be provided with appropriate sub-modules, such as the get price, execute trade, and place order sub-modules 28, 30, 32 shown in FIG. 2, that are in communication with the appropriate functions in the financial service system and can pass it data from received messages and can return data to be included in a reply message generated by the trading interface server. To support additional transaction types, additional sub-modules can be easily added. Although the system is shown with the various functions divided into particular modules and sub-modules, the dividing line between various functions is somewhat arbitrary and different functional configurations for the server can be used.
Further, and as mentioned above, different types of transactions can be easily accommodated by defining the transaction details for each transaction type. In a particular implementation, in addition to the foreign exchange forward transaction discussed above, spot, swap and option dealable price and trade requests are supported. The basic format of messages for these transactions is similar to that shown above. However, the transaction details are product-specific.
For example, in response to a price request for a product identified as a βspotβ, the response message includes settlement spot dates as determined by the financial service provider, for example, with reference to relevant holiday schedules. In the preferred embodiment, the spot data is indicated in the message body as <Date type=βSettleDateβ>YYYYMMDD</Date>, where YYYYMMDD is the appropriate spot date for the listed currencies.
Swap price requests contain both near and far legs, each of which looks very much like a spot or forward. Like a forward request, a price response message to a swap price request contains settlement date and exchange rate elements such as described above. In addition, swap price responses include reference information, such as reference spot rates and point spreads. These pieces of data are included in the far leg of a given swap. A preferred message format for this data is shown below:
| <Rate type=βReferenceRateβ> | |
| <Cross>JPY/USD</Cross> | |
| <Value>117.47<Value> | |
| <Points>β0.584</Points> | |
| </Rate> | |
In this example, the Value element contains the reference spot rate. Unlike a forward, however, swap price responses use the Points element to show the point spread between the near and far legs. In a preferred implementation of the messaging protocol for swap requests, the near leg of a swap must appear first in the XML price request. In addition, to create a spot forward price request, specify Spot as the product type for the near leg and forward as the product type of the far leg. Similarly, prices provided for foreign exchange swaps include the point spreads between the near and far legs.
According to a further aspect of the invention, the messaging protocol can be extended to access post trade processing data and related functionality that may be provided by the financial service provider. In a particular embodiment, the trading server interface is configured to process requests to retrieve from the financial service provider data related to past transactions that were electronically booked, access the details of each of these trades and to account allocations (both pre and post trade).
In various circumstances, an institutional investor (or other party) makes a trade that should be allocated into multiple accounts at the financial service provider. The present methodology allows this to be done in an automated manner either at the time the trade is entered (pre trade) or after the trade was entered electronically (post trade)
A pre trade allocation message is similar to the trade request message discussed above. Once a valid price and its associated quote ID have been received, addition information can be included in the trade request to specify a desired sub-account break down. A sample message of this type in a preferred syntax is shown below:
| <Message type=βNormal> |
| β<Header> |
| ββ... header data ... |
| β</Header> |
| β<Body> |
| ββ<TransactionList type=βTradeReqβ> |
| ββ<Transaction action=βNewβ> |
| βββ<TransId type=βQuoteIdβ>D517200</TransId> |
| ββββ<alloc:DealAllocations> |
| ββββ<alloc:Component> |
| ββββ<alloc:leg> |
| βββββ<alloc:Details acctStyle=βSTANDARDβ> |
| ββββββββ<alloc:acctName>Account 10170</alloc:acctName> |
| ββββββββ<alloc:acctLongName>The Account Name |
| 10170</alloc:acctLongName> |
| ββββββββ< ccyl>EUR</ ccyl> |
| ββββββββ<alloc:dealtAmount>500000</alloc:dealtAmount> |
| ββββββββ<alloc:settleInstructions> |
| βββββββββ<alloc:type>1 </alloc:type> |
| βββββββββ<alloc:instructiondetail>SWIFT 1 |
| βββββββββ</alloc:instructiondetail> |
| ββββββββ</alloc:settleInstructions> |
| βββββββ</alloc:Details> |
| βββββββ<alloc:Details acctStyle=βSTANDARDβ> |
| ββββββββ<alloc:acctName>Account 25814</alloc:acctName> |
| ββββββββ<alloc:acctLongName>The Account Name |
| 25814</alloc:acctLongName> |
| ββββββ< ccy1 >EUR</gsfxs:ccy1 > |
| ββββββ<alloc:dealtAmount>500000</alloc:dealtAmount> |
| ββββββ<alloc:settleInstructions> |
| βββββββ<alloc:type>1</alloc:type> |
| ββββββββ<alloc:instructiondetail>SWIFT 2 |
| ββββββββ</alloc:instructiondetail> |
| ββββββββ<alloc:settleInstructions> |
| ββββββ</alloc:Details> |
| ββββ</alloc:leg> |
| ββ</alloc:Component> |
| β</alloc:DealAllocations> |
| β<ClientTransId/> |
| β</Transaction> |
| β</TransactionList> |
| β</Body> |
| </Message> |
In addition to making requests for dealable prices, the protocol according to the present invention can be expanded to support requests for indicative quotes, for example, for one or more currency crosses (e.g., USD/EUR or JPY/CHF). Typically, a requester will not be able to trade on indicative rates but the request throughput will be much higher than for dealable quotes because only minimal processing by the financial services provider is required to service the request. When a continual series of indicative price requests are issued, the data flow is similar to a price data stream.
In a particular embodiment, the request message is configured with the TransactionList element's type attribute set to RateReq (rate request). The message further includes a RateList element with a type that specifies the rate info being requested, such as ExchangeRate and a mode attribute set to an appropriate time, such as Eod (end-of-day) or Realtime. Setting the ExchangeRate element's mode attribute to Eod indicates that you would like the most recent end-of-day rate.
For a foreign exchange transaction, Rate and Cross elements for the different currencies of interest are placed between the opening and closing RateList elements. In the response message, the rate values are added to the message. Below is a sample portion of an XML message showing the body section of an Eod rate request that requests the exchange rate for four different currency exchanges:
| <Body> | |
| β<TransactionList type=βRateReqβ> | |
| ββ<Transaction action=βNewβ> | |
| βββ<ClientTransId>00001</ClientTransId> | |
| βββ<RateList type=βExchangeRateβ mode=βEodβ> | |
| ββββ<Rate> <Cross>USD/EUR</Cross> </Rate> | |
| ββββ<Rate> <Cross>USD/JPY</Cross> </Rate> | |
| ββββ<Rate> <Cross>EUR/JPY</Cross> </Rate> | |
| ββββ<Rate> <Cross>GBP/USD</Cross> </Rate> | |
| βββ</RateList> | |
| ββ</Transaction> | |
| β</TransactionList> | |
| </Body> | |
| <Body> | |
| ββ<TransactionList type=βRateResβ> | |
| βββ<Transaction action=βNewβ> | |
| ββββ<TransactionStatus type=βAcceptedβ> | |
| βββββ<Accepted></Accepted> | |
| ββββ</TransactionStatus> | |
| ββββ<ClientTransId>00001</ClientTransId> | |
| βββ<RateList type=βExchangeRateβ mode=βEodβ> | |
| ββββ<Rate> <Cross>USD/EUR</Cross> | |
| ββββ<Value>1.1723329425556859</Value> </Rate> | |
| ββββ<Rate> <Cross>USD/JPY</Cross> | |
| ββββ<Value>122.19999999472097</Value> </Rate> | |
| ββββ<Rate> <Cross>EUR/JPY</Cross> | |
| ββββ<Value>104.2366000005411</Value> </Rate> | |
| ββββ<Rate> <Cross>GBP/USD</Cross> | |
| ββββ<Value>1.3724999999998593 </Value> </Rate> | |
| βββ</RateList> | |
| ββ</Transaction> | |
| β</TransactionList> | |
| </Body> | |
In some instances, the returned rates can contain multiple values. For example, in a realtime rate request, the rate can be returned as the most recent bid and ask values, such as shown in the sample message body shown below:
| <Body> |
| β<TransactionList type=βRateResβ> |
| ββ<Transaction action=βNewβ> |
| βββ<TransactionStatus type=βAcceptedβ> |
| ββββ<Accepted><Accepted> |
| βββ</TransactionStatus> |
| βββ<ClientTransId>00001</ClientTransId> |
| βββ<RateList type=βExchangeRateβ mode=βRealtimeβ> |
| ββββ<Rate> <Cross>EUR/USD</Cross> <Value side=βBidβ>0.8519 |
| ββββ</Value> |
| βββββββ<Value side=βAskβ>0.8521 </Value> </Rate> |
| ββββ<Rate> <Cross>USD/JPY</Cross> <Value side=βBidβ>121.69 |
| ββββ</Value> |
| βββββββ<Value side=βAskβ>121.73</Value> </Rate> |
| ββββ<Rate> |
| βββββ<Cross>EUR/JPY<Cross> <Value side=βBidβ>103.67 |
| βββββ</Value> |
| ββββββ<Value side=βAskβ>103.71</Value> </Rate> |
| ββββ<Rate> <Cross>GBP/USD<Cross> <Value side=βBidβ>1.3889 |
| ββββ</Value> |
| ββββββ<Value side=βAskβ>1.3894</Value> </Rate> |
| βββ</RateList> |
| ββ</Transaction> |
| β</TransactionList> |
| </Body> |
Similar to the pricing and trade request messages and responses discussed above, the process of retrieving trade information involves a simple exchange of messages, preferably in XML format. To receive trade blotter data a βBlotterRequestβ is sent to the trading interface server. The server forwards the request to the financial service provider, receives the returned data, and sends a BlotterResponse message to the requester. A sample BlotterRequest message is shown below:
| <Message type=βNormal> |
| <Header> |
| ββ... header info ... |
| </Header> |
| β<Body> |
| ββ<blotter:BlotterMessage> |
| βββ<blotter:BlotterRequest blotter:data start_time=β978325200β |
| blotter:data_end_time=β1001390400β blotter:mode=βself> |
| βββ</blotter:BlotterRequest> |
| ββ</blotter:BlotterMessage> |
| β</Body> |
| </Message> |
In response to receipt of a BlotterRequest message, and after the appropriate data is provided by the financial service provider, trading interface server issues a response containing the retrieved data. A portion of a sample response with this configuration is shown below:
| <Body> |
| ββ<blotter:BlotterMessage> |
| βββ<blotter:BlotterResponse blotter:count=β13β> |
| ββββ<blotter:BlotterElement blotter:allocated-110β |
| βββββBlotter:amount=β1000000β |
| βββββblotter:buysell_indicator=βBuyβ |
| βββββblotter:company=βInternalβ blotter:cross=βUSD/EURβ |
| βββββblotter:level=β0.8923β blotter:quantity_ccy=βEURβ |
| βββββBlotter:quote_Id=βD2750053β |
| βββββblotter:security_type=βSpotβ |
| βββββblotter:settle_date=β27Mar01β |
| βββββBlotter:trade_string--βbought 1MM EUR vs USD @ 0.8923 |
| βββββon 27Mar01β |
| βββββBlotter:trade_time=β985369542β blotter: user=βfxuserβ/> |
| ββββ<blotter:BlotterElement blotter:allocated=β0β |
| ββββββββ... /> |
| ββββ<blotter:BlotterElement blotter:allocated=β0β |
| βββββββββ... /> |
| ββββ</blotter:BlotterResponse> <Iblotter: BlotterMessage> |
| βββββββ... /> |
| βββ</blotter:BlotterResponse> |
| ββ</blotter:BlotterMessage> |
| </ Body> |
The various aspects of the invention have been described above with reference to the preferred embodiments thereof. However, variations in the form and details can be made without departing from the spirit and scope of the invention.
| TABLE 1 |
| XML Data Type Definition |
| <!ELEMENT Message (Header, Body)> |
| <!ATTLIST Message |
| βtype (Normal | Admin | Diagnostic) #REQUIRED |
| > |
| <!ELEMENT Header (NodeInfo+, SendDateTimeGMT?)> |
| <!ELEMENT NodeInfo (EntityName, Contact, User, SystemName?, Address?, HostAddress?, |
| MessageId?)> |
| <!ATTLIST NodeInfo |
| βrole (Requester | Responder) #REQUIRED |
| > |
| <!ELEMENT EntityName (#PCDATA)> |
| <!ELEMENT SystemName (#PCDATA)> |
| <!ELEMENT Address (#PCDATA)> |
| <!ELEMENT Contact (#PCDATA)> |
| <!ELEMENT User (#PCDATA)> |
| <!ELEMENT MessageId (#PCDATA)> |
| <!ELEMENT HostAddress (#PCDATA)> |
| <!ELEMENT SendDateTimeGMT (#PCDATA)> |
| <!ELEMENT Body (TransactionList)> |
| <!ELEMENT TransactionList (Transaction+)> |
| <!ATTLIST TransactionList |
| βtype (PriceReq | PriceRes | TradeReq | TradeRes | TradeAck | TradeNak | Order | Admin | |
| RateReq RateRes) #REQUIRED |
| βstyle (AtBestFX | MarketFX | LimitFX | StopFX | TwoWay) #IMPLIED |
| > |
| <!ELEMENT Transaction (TransactionStatus?, GSTransId?, QuoteExpiration?, ClientTransId?, |
| ProductDetail?, TimeoutInterval?, RateList?)> |
| <!ATTLIST Transaction |
| βaction (New | Update | Cancel | Admin | Ignore) #REQUIRED |
| βClientTradeType (Buy | Sell ) #IMPLIED |
| > |
| <!ELEMENT TransactionStatus (Accepted?, Rejected?)> |
| <!ATTLIST TransactionStatus |
| βtype (Accepted I Rejected) #REQUIRED |
| > |
| <!ELEMENT Accepted (#PCDATA)> |
| <!ELEMENT Rejected (#PCDATA)> |
| <!ELEMENT TimeoutInterval (#PCDATA)> |
| <!ELEMENT Text (#PCDATA)> |
| <!ELEMENT Code (#PCDATA)> |
| <!ELEMENT ClientTransId (#PCDATA)> |
| <!ELEMENT GSTransId (#PCDATA)> |
| <!ATTLIST GSTransId |
| βtype (QuoteId | TradeId) #REQUIRED |
| > |
| <!ELEMENT QuoteExpiration (#PCDATA)> |
| <!ELEMENT TradeTimeGMT (#PCDATA)> |
| <!ATTLIST TradeTimeGMT |
| βformat CDATA #REQUIRED |
| > |
| <!ELEMENT RateList (Rate*)> |
| <!ATTLIST RateList |
| βtype (ExchangeRate) #REQUIRED |
| βmode (Realtime | Eod) #IMPLIED |
| > |
| <!ELEMENT ProductDetail (FXSpot*, FXFoward*, FXOption?, FXSwap?)> |
| <!ATTLIST ProductDetail |
| βtype (FXSpot | FXForward | FXSwap | FXOption | MoneyLoan) #REQUIRED |
| > |
| <!ELEMENT FXOption (CommodQuantity+, Rate?, Date+, OptionType+, Strike+, |
| SettlementType?, SettlementCurrency?)> |
| <!ATTLIST FXOption |
| βtype (Put | Call) #REQUIRED |
| βstyle (Euro | Amer) #REQUIRED |
| > |
| <!ELEMENT FXForward (CommodQuantity+, Rate*, Date?, SettlementType?, |
| SettlementCurrency?)> |
| <!ATTLIST FXForward |
| βtype (FXLeg1 | FXLeg2) #IMPLIED |
| > |
| <!ELEMENT FXSwap (CommodQuantity+, Rate?, Date?, SettlementType?, |
| SettlementCurrency?)> <!ATTLIST FXSwap |
| βtype (FXLeg1 | FXLeg2 ) IMPLIED |
| > |
| <!ELEMENT FXSpot (CommodQuantity+, Rate?, Date?, SettlementType?, |
| SettlementCurrency?)> <!ATTLIST FXSpot |
| βtype (FXLeg1 | FXLeg2) #IMPLIED |
| > |
| <!ELEMENT CommodQuantity (Commodity, Quantity?, Buyer?, Seller?, Date?)> |
| <!ATTLIST CommodQuantity |
| βtype (QuantityCcy | OtherCcy | Premium | FlowCcy) #REQUIRED |
| > |
| <!ELEMENT Commodity (#PCDATA)> |
| <!ELEMENT Quantity (#PCDATA)> |
| <!ELEMENT Buyer (#PCDATA)> |
| <!ELEMENT Seller (#PCDATA)> |
| <!ELEMENT Date (#PCDATA)> |
| <!ATTLIST Date |
| βtype (SettleDate | ValueDate | ExpirationDate | EndDate | TradeDate) #REQUIRED |
| βLocation (NYC | LDN | HKG | TKY) #IMPLIED |
| > |
| <!ELEMENT Rate (Cross, Value*, Date?, Points*)> |
| <!ATTLIST Rate |
| βtype (ExchangeRate | PremiumRate | VolatilityRate | ReferenceRate I Strike | Level) |
| β#IMPLIED |
| > |
| <!ELEMENT Cross (#PCDATA)> |
| <!ELEMENT Value (#PCDATA)> |
| <!ATTLIST Value |
| βside (Bid | Ask) #IMPLIED |
| > |
| <!ELEMENT Points (#PCDATA)> |
| <!ATTLIST Points |
| βside (Bid | Ask) #IMPLIED |
| > |
| <!ELEMENT SettlementType (#PCDATA)> |
| <!ELEMENT SettlementCurrency (#PCDATA)> |
| <!ELEMENT OptionType (#PCDATA)> |
| <!ELEMENT Strike (#PCDATA)> |
1. A system for providing access to a financial service provider comprising:
an interface to a communications network; and
a computer control system configured to:
(a) receive a price request message from an entity via the network, the price request message having a header containing data identifying the entity and a body containing data identifying a transaction type, containing details regarding a proposed transaction, and requesting a price for entering into the transaction;
(b) obtain a price from the financial service provider;
(c) upon receiving the price, transmit a price response message to the entity, the price response message having a header and a body containing data identifying the transaction type, containing the transaction details, indicating that the price request was accepted, specifying a price for the transaction, and a transaction ID;
(d) receive a trade request message from the entity, the trade request message having a header and a body containing data indicating the transaction ID;
(e) obtain approval to enter into the transaction from the financial service provider;
(f) upon receiving approval, transmit a trade response message to the entity, the trade response message having a header and a body containing data indicating the transaction ID and that the trade request was approved;
(g) receive a trade acknowledgement message from the entity, the trade acknowledgement message having a header and a body containing data indicating the transaction ID; and
(h) upon receipt of the trade acknowledgement message, indicating to the financial service provider to book the transaction associated with the transaction ID.
2.-28. (canceled)