diff --git a/03 Writing Algorithms/01 Key Concepts/06 Security Identifiers/02 Encoding Symbols.html b/03 Writing Algorithms/01 Key Concepts/06 Security Identifiers/02 Encoding Symbols.html index 5e26106bc4..2ebbce7c18 100644 --- a/03 Writing Algorithms/01 Key Concepts/06 Security Identifiers/02 Encoding Symbols.html +++ b/03 Writing Algorithms/01 Key Concepts/06 Security Identifiers/02 Encoding Symbols.html @@ -51,17 +51,22 @@ Security identifier decomposition -

LEAN assumes the ticker you pass to the AddEquityadd_equity method is the current ticker of the Equity asset. To access this ticker, use the Valuevalue property of the Symbol object.

+

+ LEAN assumes the ticker you pass to the AddEquityadd_equity method is the current ticker of the Equity asset. + To access this ticker, use the Valuevalue property of the Symbol object. +

self._symbol = self.add_equity("GOOG").symbol
 self.debug(self._symbol.id.value) # Prints "GOOCV"
 self.debug(self._symbol.value)    # Prints "GOOG"
+self.debug(str(self._symbol.id))  # Prints "GOOCV VP83T1ZUHROL"
 
var symbol = AddEquity("GOOG").Symbol;
-Debug(symbol.ID.Value); // Prints "GOOCV"
-Debug(symbol.Value);    // Prints "GOOG"
+Debug(symbol.ID.Value);       // Prints "GOOCV"
+Debug(symbol.Value);          // Prints "GOOG"
+Debug(symbol.ID.ToString());  // Prints "GOOCV VP83T1ZUHROL"
 
-

If you create the security subscription with a universe selection function, the Valuevalue property of the Symbol object is the point-in-time ticker.

\ No newline at end of file +

If you create the security subscription with a universe selection function, the Valuevalue property of the Symbol object is the point-in-time ticker.