コード例 #1
0
 internal MarketDepthExchange(ResponseReader r)
 {
     Exchange = r.ReadString();
     SecType  = r.ReadString();
     if (r.Builder.SupportsServerVersion(ServerVersion.SERVICE_DATA_TYPE))
     {
         ListingExch    = r.ReadString();
         ServiceDataTyp = r.ReadString();
         AggGroup       = r.ReadIntNullable();
     }
     else
     {
         ListingExch    = "";
         ServiceDataTyp = r.ReadBool() ? "Deep2" : "Deep";
     }
 }
コード例 #2
0
 internal void ReadDisplaySize()
 {
     if (MessageVersion >= 9)
     {
         Order.DisplaySize = R.ReadIntNullable();
     }
 }