Support

Equilla Formula Language

GetTraderName

Retrieves the user name for a given trader id, which can be extracted from the values in the Buyer and Seller fields of a bar. Must be supported by the upstream data feed. When supported, Buyer and Seller information is available in tick-by-tick series only.

Inputs

Id
Numeric: The registered trader id which to retrieve the user name for.

Remarks

The given trader id must be registered with the upstream data feed. If the id cannot be matched against a name, an empty string will be returned.

Examples

Write the participants for every trade to the output window
Print( "Buyer:", CStr( GetTraderName( Buyer ) ), "Seller:", CStr( GetTraderName( Seller ) ) );

See also:

Buyer; Seller; GetTraderId;