<filename>03 Asset Classes/06 Crypto/01 Crypto/04 code.py<gh_stars>0
# In OnData(self, data)
bar = data["BTCUSD"]

# Anywhere in the code
crypto = self.Securities["BTCUSD"]
<filename>03 Asset Classes/06 Crypto/01 Crypto/04 code.py<gh_stars>0
# In OnData(self, data)
bar = data["BTCUSD"]

# Anywhere in the code
crypto = self.Securities["BTCUSD"]
# In OnData(self, data) # Anywhere in the code