Skip to content

Commit

Permalink
added sample file
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Busbey committed Oct 12, 2011
1 parent 08d8cda commit 1884fdb
Showing 1 changed file with 52 additions and 2 deletions.
54 changes: 52 additions & 2 deletions tutorial/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ QuickFIX Settings
* [Initiator](#initiator)
* [Acceptor](#acceptor)
* [Logging](#logging)
* [Sample Settings File](#sample)

<a name='session'> </a>

Expand Down Expand Up @@ -349,6 +350,55 @@ QuickFIX Settings
<td class='valid'>Valid directory for storing files, must have write access</td>
<td class='default'/>
</tr>


</table>

<a name='sample'></a>

###Sample Settings File

Here is a typical settings file you might find in a firm that wants to connect to several ECNs.

# default settings for sessions
[DEFAULT]
ConnectionType=initiator
ReconnectInterval=60
SenderCompID=TW

# session definition
[SESSION]
# inherit ConnectionType, ReconnectInterval and SenderCompID from default
BeginString=FIX.4.1
TargetCompID=ARCA
StartTime=12:30:00
EndTime=23:30:00
HeartBtInt=20
SocketConnectPort=9823
SocketConnectHost=123.123.123.123
DataDictionary=somewhere/FIX41.xml

[SESSION]
BeginString=FIX.4.0
TargetCompID=ISLD
StartTime=12:00:00
EndTime=23:00:00
HeartBtInt=30
SocketConnectPort=8323
SocketConnectHost=23.23.23.23
DataDictionary=somewhere/FIX40.xml

[SESSION]
BeginString=FIX.4.2
TargetCompID=INCA
StartTime=12:30:00
EndTime=21:30:00
# overide default setting for RecconnectInterval
ReconnectInterval=30
HeartBtInt=30
SocketConnectPort=6523
SocketConnectHost=3.3.3.3
# (optional) alternate connection ports and hosts to cycle through on failover
SocketConnectPort1=8392
SocketConnectHost1=8.8.8.8
SocketConnectPort2=2932
SocketConnectHost2=12.12.12.12
DataDictionary=somewhere/FIX42.xml

0 comments on commit 1884fdb

Please sign in to comment.