API Support Forum
OEC API > API Support > api server unsollicited xml transmission?
Author Topic: api server unsollicited xml transmission?
(4 messages, Page 1 of 1)
Moderators: VPfau
GBerenyi319
Posts: 3
Joined: Nov 13, 2013


Posted: Dec 02, 2013 @ 11:53 AM             Msg. 1 of 4
Hi, using folling config for Log thread :

OEC.API.OECClient.Global.SetLoggingConfig(new LoggingConfiguration { Level = LogLevel.All, DataFeedLoggingInterval = TimeSpan.FromSeconds(0), DataFeedLogIndexNumber = 0 });

I received this seemingly unsolicited xml snippet :

<OsmAlgoList XmlString=<?xml version="1.0" encoding="utf-16"?>
<OsmAlgoInfoList xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<List>
<OsmAlgoInfo Name="Iceberg">
<Params>
<Param Name="ShowVolume" Modifiable="true" Enabled="true" Description="Quantity that order will be splited." DataType="Integer" Units="Lots" DefaultValue="3">
<DomainValues>
<anyType xsi:type="xsd:int">1</anyType>
<anyType xsi:type="xsd:int">100000</anyType>
</DomainValues>
</Param>
</Params>
<OrderTypes>
<OrderType>Limit</OrderType>
<OrderType>StopLimit</OrderType>
</OrderTypes>
<OrderFlags>
<OrderFlags>None</OrderFlags>
<OrderFlags>GTC</OrderFlags>
</OrderFlags>
</OsmAlgoInfo>
<OsmAlgoInfo Name="ImprovedTimeSlice">
<Params>
<Param Name="AggregateUnfilled" Modifiable="true" Enabled="true" Description="Aggregate unfilled quantities to current time slice." DataType="Bool" Units="Yes/No" DefaultValue="False">
<Category>Price Improvement</Category>
<DomainValues>


...and so on for about 100 more lines.

Why? What does this message mean?

George Berenyi
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Dec 05, 2013 @ 10:59 AM             Msg. 2 of 4
As any other log messages on this level of logging, these messages are protocol-level messages related to OSM logic of OECAPI. You can contact our Customer Service about OSM offering.

Victor Vins
Lead Software Developer
GBerenyi319
Posts: 3
Joined: Nov 13, 2013


Posted: Dec 06, 2013 @ 11:14 AM             Msg. 3 of 4
Yes, but does it mean the server thinks I've placed an OSM order? Are there other unsolicited xml messages one might need to know of?

George Berenyi
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Dec 06, 2013 @ 01:15 PM             Msg. 4 of 4
This is a description of available OSM algorithms that came from server.

Victor Vins
Lead Software Developer