Mixed Syntax

The Complex Syntax can be mixed with Simple Syntax with only one restriction that Ticker string must be the first string (i.e. String1) that appears in the RTD formula.

=RTD(**ProgID**, **Server**, **Ticker**, **String2**, **String3**...)


  • ProgID = "Tws.TwsRtdServerCtrl"
  • Server = "" (empty string)

For example, the formula below will request the Bid Price for IBM while connecting through a customized Host, Port and Client ID:

=RTD("Tws.TwsRtdServerCtrl",,"IBM@SMART", "host=", "port=1234", "clientId=1", "Bid")

See more Syntax Samples.

Additional Info

See also: