# Sample Template files

**URL:** <https://forum.fixtrading.org/t/sample-template-files/894>\
**Category:** General Q&A\
**Tags:** xid\_169624, imported, fast-protocol\
**Created:** [November 2, 2006, 1:04am UTC](https://forum.fixtrading.org/t/sample-template-files/894 "2006-11-02T01:04:36Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanjoyghosh\_x](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@sanjoyghosh\_x](https://forum.fixtrading.org/u/sanjoyghosh_x)\
**Post date:** [November 2, 2006, 1:04am UTC](https://forum.fixtrading.org/t/sample-template-files/894/1 "2006-11-02T01:04:36Z")

</div>

Imported from previous forum

---

<div class="post-metadata">

**Author:** ![sanjoyghosh\_x](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@sanjoyghosh\_x](https://forum.fixtrading.org/u/sanjoyghosh_x)\
**Post date:** [November 2, 2006, 1:04am UTC](https://forum.fixtrading.org/t/sample-template-files/894/2 "2006-11-02T01:04:36Z")

</div>

Hello,

Would someone be willing to send me some sample template files, preferably in XML? And ofcourse some sample FAST messages to go with them would be greatly appreciated.

Thanks,  
Sanjoy

---

<div class="post-metadata">

**Author:** ![aarongorrell\_x](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@aarongorrell\_x](https://forum.fixtrading.org/u/aarongorrell_x)\
**Post date:** [November 2, 2006, 4:44pm UTC](https://forum.fixtrading.org/t/sample-template-files/894/3 "2006-11-02T16:44:06Z")

</div>

> Hello,
> 
> Would someone be willing to send me some sample template files,  
> preferably in XML? And ofcourse some sample FAST messages to go with  
> them would be greatly appreciated.
> 
> Thanks, Sanjoy

I also would enjoy having sample templates and sample messages. Thank you very much.

---

<div class="post-metadata">

**Author:** ![fplpo\_x](https://avatars.discourse-cdn.com/v4/letter/f/7ab992/32.png) [@fplpo\_x](https://forum.fixtrading.org/u/fplpo_x)\
**Post date:** [November 2, 2006, 6:08pm UTC](https://forum.fixtrading.org/t/sample-template-files/894/4 "2006-11-02T18:08:28Z")

</div>

[original email was from Darshan Khedekar - [darshan.khedekar.ext@deutsche-boerse.com](mailto:darshan.khedekar.ext@deutsche-boerse.com) ]  
I would be also grateful if these samples reach me!!  
Thanks  
Darshan

> > Hello,
> > 
> > Would someone be willing to send me some sample template files,  
> > preferably in XML? And ofcourse some sample FAST messages to go with  
> > them would be greatly appreciated.
> > 
> > Thanks, Sanjoy
> 
> I also would enjoy having sample templates and sample messages. Thank  
> you very much.

---

<div class="post-metadata">

**Author:** ![fplpo\_x](https://avatars.discourse-cdn.com/v4/letter/f/7ab992/32.png) [@fplpo\_x](https://forum.fixtrading.org/u/fplpo_x)\
**Post date:** [November 2, 2006, 10:32pm UTC](https://forum.fixtrading.org/t/sample-template-files/894/5 "2006-11-02T22:32:56Z")

</div>

[original email was from Matt Simpson - [msimpson@cme.com](mailto:msimpson@cme.com) ]  
Let’s talk about this at next weeks working group meeting. We should be able to put together a small test kit which includes a template, input data, and the encoded results.

> I would be also grateful if these samples reach me!! Thanks Darshan
> 
> > > Hello,
> > > 
> > > Would someone be willing to send me some sample template files,  
> > > preferably in XML? And ofcourse some sample FAST messages to go with  
> > > them would be greatly appreciated.
> > > 
> > > Thanks, Sanjoy
> > 
> > I also would enjoy having sample templates and sample messages. Thank  
> > you very much.

---

<div class="post-metadata">

**Author:** ![sanjoyghosh\_x](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@sanjoyghosh\_x](https://forum.fixtrading.org/u/sanjoyghosh_x)\
**Post date:** [November 3, 2006, 7:10pm UTC](https://forum.fixtrading.org/t/sample-template-files/894/6 "2006-11-03T19:10:33Z")

</div>

Thanks a TON Matt. That would be MUCH appreciated.

Darshan and Aaron, if you would to cooperate on exchanging samples, test cases, etc. please contact me offline at [sanjoy@yahoo.com](mailto:sanjoy@yahoo.com)

Thanks,  
Sanjoy

> Let’s talk about this at next weeks working group meeting. We should be  
> able to put together a small test kit which includes a template, input  
> data, and the encoded results.
> 
> > I would be also grateful if these samples reach me!! Thanks Darshan
> > 
> > > > Hello,
> > > > 
> > > > Would someone be willing to send me some sample template files,  
> > > > preferably in XML? And ofcourse some sample FAST messages to go  
> > > > with them would be greatly appreciated.
> > > > 
> > > > Thanks, Sanjoy
> > > 
> > > I also would enjoy having sample templates and sample messages.  
> > > Thank you very much.

---

<div class="post-metadata">

**Author:** ![fplpo\_x](https://avatars.discourse-cdn.com/v4/letter/f/7ab992/32.png) [@fplpo\_x](https://forum.fixtrading.org/u/fplpo_x)\
**Post date:** [November 16, 2006, 4:55pm UTC](https://forum.fixtrading.org/t/sample-template-files/894/7 "2006-11-16T16:55:47Z")

</div>

[original email was from Dmitriy Ovdienko - [odp@btobits.com](mailto:odp@btobits.com) ]  
Hi

Did anybody test his code on FAST Test Kit?  
I can’t parse fast messages from ‘messages.fast’ file.  
7th byte should contain #131: 3 | SBIT, 3 sequence entries with SBIT. But it contains #35 and SBIT is at 14th byte.

Thanks for assistance.  
/Dmitriy Ovdienko

---

<div class="post-metadata">

**Author:** ![davidrosenborg30\_x](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@davidrosenborg30\_x](https://forum.fixtrading.org/u/davidrosenborg30_x)\
**Post date:** [November 16, 2006, 10:06pm UTC](https://forum.fixtrading.org/t/sample-template-files/894/8 "2006-11-16T22:06:15Z")

</div>

Yes, we’ve successfully parsed the file.

The 7th byte is the first byte of the SendingTime delta which is transferred as an int64: 20061101132712124 which is represented as 0x23 0x51 0x2E 0x71 0x36 0x46 0x11 0xBC when sbit-coded.

/David

> Hi
> 
> Did anybody test his code on FAST Test Kit? I can’t parse fast  
> messages from ‘messages.fast’ file. 7th byte should contain #131: 3 |  
> SBIT, 3 sequence entries with SBIT. But it contains #35 and SBIT is at  
> 14th byte.
> 
> Thanks for assistance. /Dmitriy Ovdienko

---

<div class="post-metadata">

**Author:** ![fplpo\_x](https://avatars.discourse-cdn.com/v4/letter/f/7ab992/32.png) [@fplpo\_x](https://forum.fixtrading.org/u/fplpo_x)\
**Post date:** [November 17, 2006, 2:06pm UTC](https://forum.fixtrading.org/t/sample-template-files/894/9 "2006-11-17T14:06:18Z")

</div>

[original email was from Dmitriy Ovdienko - [odp@btobits.com](mailto:odp@btobits.com) ]  
\> The 7th byte is the first byte of the SendingTime delta which is

> transferred as an int64: 20061101132712124 which is represented as 0x23  
> 0x51 0x2E 0x71 0x36 0x46 0x11 0xBC when sbit-coded.

There is no 20061101132712124 value in sample 🙂

In first msg of ‘FAST Tool Input.txt’ 52=20061101132712123  
In first msg of ‘FIX Test Input.txt’ 52=20061101153347123

---

<div class="post-metadata">

**Author:** ![davidrosenborg30\_x](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@davidrosenborg30\_x](https://forum.fixtrading.org/u/davidrosenborg30_x)\
**Post date:** [November 17, 2006, 6:43pm UTC](https://forum.fixtrading.org/t/sample-template-files/894/10 "2006-11-17T18:43:29Z")

</div>

Ah, I was only looking at the decoded output. The encoded value is indeed 20061101132712124, but it should be 20061101132712123, so in this regard the encoded file is broken. But otherwise it is structurally intact.

/David

> > The 7th byte is the first byte of the SendingTime delta which is  
> > transferred as an int64: 20061101132712124 which is represented as  
> > 0x23 0x51 0x2E 0x71 0x36 0x46 0x11 0xBC when sbit-coded.
> 
> There is no 20061101132712124 value in sample 🙂
> 
> In first msg of ‘FAST Tool Input.txt’ 52=20061101132712123 In first msg  
> of ‘FIX Test Input.txt’ 52=20061101153347123

---

<div class="post-metadata">

**Author:** ![larsmattsson\_x](https://avatars.discourse-cdn.com/v4/letter/l/90db22/32.png) [@larsmattsson\_x](https://forum.fixtrading.org/u/larsmattsson_x)\
**Post date:** [November 17, 2006, 8:17am UTC](https://forum.fixtrading.org/t/sample-template-files/894/11 "2006-11-17T08:17:10Z")

</div>

> Hi
> 
> Did anybody test his code on FAST Test Kit? I can’t parse fast  
> messages from ‘messages.fast’ file. 7th byte should contain #131: 3 |  
> SBIT, 3 sequence entries with SBIT. But it contains #35 and SBIT is at  
> 14th byte.
> 
> Thanks for assistance. /Dmitriy Ovdienko

Where can I find the FAST Test Kit?

Lars

---

<div class="post-metadata">

**Author:** ![thomasclark11\_x](https://avatars.discourse-cdn.com/v4/letter/t/4491bb/32.png) [@thomasclark11\_x](https://forum.fixtrading.org/u/thomasclark11_x)\
**Post date:** [April 8, 2007, 12:11am UTC](https://forum.fixtrading.org/t/sample-template-files/894/12 "2007-04-08T00:11:15Z")

</div>

Where can I find the FAST Test Kit?

–Thanks, Tom.

> > Hi
> > 
> > Did anybody test his code on FAST Test Kit? I can’t parse fast  
> > messages from ‘messages.fast’ file. 7th byte should contain #131: 3 |  
> > SBIT, 3 sequence entries with SBIT. But it contains #35 and SBIT is at  
> > 14th byte.
> > 
> > Thanks for assistance. /Dmitriy Ovdienko
> 
> Where can I find the FAST Test Kit?
> 
> Lars

---

<div class="post-metadata">

**Author:** ![rahulmahajan\_x](https://avatars.discourse-cdn.com/v4/letter/r/a6a055/32.png) [@rahulmahajan\_x](https://forum.fixtrading.org/u/rahulmahajan_x)\
**Post date:** [November 22, 2006, 11:12am UTC](https://forum.fixtrading.org/t/sample-template-files/894/13 "2006-11-22T11:12:17Z")

</div>

> Hello,
> 
> Would someone be willing to send me some sample template files,  
> preferably in XML? And ofcourse some sample FAST messages to go with  
> them would be greatly appreciated.
> 
> Thanks, Sanjoy

Hii,  
I am bit confused regarding to type of template file, We have stock - Exchange Application is in ‘C’ language,then should sample files be in XML or in C-structure or simple text file. Is any standerd defined for it.  
And suppose I use the formate suitable to me (e.g. not XML) for template, then what would happen when when other party gives their template file in another type (i.e. XML)? Do I need to make conversion machanism also?

---

<div class="post-metadata">

**Author:** ![rolfandersson58\_x](https://avatars.discourse-cdn.com/v4/letter/r/b9e5f3/32.png) [@rolfandersson58\_x](https://forum.fixtrading.org/u/rolfandersson58_x)\
**Post date:** [November 23, 2006, 5:37am UTC](https://forum.fixtrading.org/t/sample-template-files/894/14 "2006-11-23T05:37:58Z")

</div>

Hi Rahul,

you can use any internal format that suits your needs,  
including straight C code. (We used C code to implement  
some of the template handling in the POC project)

If you look at the 1.0 fastapi, you’ll find that the  
arca example relies on a C-struct style template.

Online template exchange on the other hand relies on the  
existence of an agreed upon (between the parties) format.  
Again, any format that two parties agree to use is OK.  
Obviously, the format must be able to represent whatever  
contructs you want to use. So, if you decide to use a  
subset of FAST 1.1, then you can use a template format  
that only supports that subset.

That said, we encourage people to adopt the template  
format described in the 1.1 spec for interoperability  
reasons. You can then create tools that convert between  
the standardized exchange format and your internal format.

The XML format is not suitable for high-volume, low  
latency exchange of templates. There is a proposal for  
FAST encoded template exchange, but this format has not  
been fully discussed and as far as I know only Pantor  
has so far implemented this format.

Hope this helps,  
Rolf

> Hii, I am bit confused regarding to type of template file,  
> We have stock - Exchange Application is in ‘C’ language,  
> then should sample files be in XML or in C-structure or  
> simple text file. Is any standerd defined for it.  
> And suppose I use the formate suitable to me (e.g. not XML)  
> for template, then what would happen when when other party  
> gives their template file in another type (i.e. XML)?  
> Do I need to make conversion machanism also?
