RAPTOR v18.4: Исправлена отчетность, активированы выходные
This commit is contained in:
18
invest-python-master/examples/instruments/get_brands.py
Normal file
18
invest-python-master/examples/instruments/get_brands.py
Normal file
@@ -0,0 +1,18 @@
|
||||
"""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()
|
||||
Reference in New Issue
Block a user