Prerequisite
Database Tables
[STRATEGY_ORDERS] [STRATEGY_ORDER_LEGS]
Sql Server
Oracle
Access Rules
insert into ACCESSRULES (OPERATION_NAME, PERMISSION, ACCESSLIST_ID) values ('StrategyOrderEntryService', 1, 1)
Configuration
There is only one configuration file which needs to be set.
Kodi.Kodiak.Strategies.StrategyServer.exe.config
App Settings
<appSettings> <add key="ConnectionString" value="Server=xxxx;Initial Catalog=KODIAK;User Id=Kodiak;Password=xxxx;" /> <add key="ConnectionType" value="oracle" /> <add key="ActiveMQPath" value="tcp://localhost:61616" /> <add key="ActiveMQClientId" value="StrategyServer" /> <add key="ApiUrl" value="https://api-staging.livemarketdata.com" /> <add key="AuthUrl" value="https://users-staging.livemarketdata.com/v2/token" /> <add key="AuthUsername" value="oms_server@kodi.is" /> <add key="AuthPassword" value="kodiak12" /> <add key="log4net.Internal.Debug" value="false" /> </appSettings>
Logging
C:\KODIAK_LOGS\StrategyServer
StrategyServer.log
StrategyServer.Requests.log
StrategyServer.Publisher.log
Wcf
<service name="Kodi.Kodiak.Strategies.StrategyOrderEntryService" behaviorConfiguration="ServiceBehavior"> <host> <baseAddresses> <add baseAddress="https://kodiak-server.kodi.internal:8080/StrategyOrderEntryService.svc" /> </baseAddresses> </host>
Setup
Overview - What does this service do
How do you set this up?
Do you need to create a user/user group/trader/external user?
Where are the executables?
Where is the jenkins build?
Deployment
Where are the configs saved after deployment
What steps should be followed after deployment?
Check logs?
Check endpoints?
Start KODIAK Oms Client?
Windows Service install
"C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.exe" "C:\KodiakStrategyServer\Kodi.Kodiak.Strategies.StrategyServer.exe"