Ejemplo n.º 1
0
 /// <summary>
 /// Full Constructor
 /// </summary>
 /// <param name="faDataType">Specifies the type of Financial Advisor configuration data being received from TWS.</param>
 /// <param name="xml">The XML string containing the previously requested FA configuration information.</param>
 public ReceiveFAEventArgs(FADataType faDataType, string xml)
 {
     this.faDataType = faDataType;
     this.xml        = xml;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Call this method to request FA configuration information from TWS. The data returns in an XML string via a "receiveFA" ActiveX event.
 /// </summary>
 /// <param name="requestId">Request Id</param>
 /// <param name="faDataType">
 /// specifies the type of Financial Advisor configuration data being requested. Valid values include:
 /// 1 = GROUPS
 /// 2 = PROFILE
 /// 3 = ACCOUNT ALIASES</param>
 /// <param name="xml">the XML string containing the new FA configuration information.</param>
 public void ReplaceFA(int requestId, FADataType faDataType, string xml)
 {
     lock (this)
         ClientSocket.replaceFA(requestId, faDataType.Value, xml);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Full Constructor
 /// </summary>
 /// <param name="faDataType">Specifies the type of Financial Advisor configuration data being received from TWS.</param>
 /// <param name="xml">The XML string containing the previously requested FA configuration information.</param>
 public ReceiveFAEventArgs(FADataType faDataType, string xml)
 {
     this.faDataType = faDataType;
     this.xml = xml;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Call this method to request FA configuration information from TWS. The data returns in an XML string via the receiveFA() method.
 /// </summary>
 /// <param name="faDataType">
 /// faDataType - specifies the type of Financial Advisor configuration data being requested. Valid values include:
 /// 1 = GROUPS
 /// 2 = PROFILE
 /// 3 =ACCOUNT ALIASES
 /// </param>
 public void RequestFA(FADataType faDataType)
 {
     lock (this)
         ClientSocket.requestFA(faDataType.Value);
 }