Files
raptor-trading/invest-python-master/examples/instruments/get_brands.py

19 lines
321 B
Python

"""Example - How to get Brands"""
import os
from t_tech.invest import Client
TOKEN = os.environ["INVEST_TOKEN"]
def main():
with Client(TOKEN) as client:
r = client.instruments.get_brands()
for brand in r.brands:
print(brand)
if __name__ == "__main__":
main()