Exemplo n.º 1
0
 public virtual void scannerData(int reqId, int rank, ContractDetails contractDetails, string distance, string benchmark, string projection, string legsStr)
 {
     if (verbose)
     {
         string m = "Scanner Data. Req Id: " + reqId + ", Rank: " + rank + ", Contract Details: " + contractDetails.ToString() + ", Distance: " + distance + ", Benchmark: " + benchmark + ", Projection: " + projection + ", Legs Str: " + legsStr;
         msg.logMessage(clientSocket.getCurrentLocalTime(), 1, "Information", "Market Data", contractDetails.UnderConId, 0, m);
         Console.WriteLine(m);
     }
 }
Exemplo n.º 2
0
 public virtual void bondContractDetails(int ReqId, ContractDetails contractDetails)
 {
     if (verbose)
     {
         string m = "Bond Contract Details. Req Id: " + ReqId + ", Contract Details: " + contractDetails.ToString();
         msg.logMessage(clientSocket.getCurrentLocalTime(), 1, "Information", "Contract", contractDetails.UnderConId, 0, m);
         Console.WriteLine(m);
     }
 }