RAPTOR v18.4: Исправлена отчетность, активированы выходные
This commit is contained in:
16
invest-python-master/examples/instruments/instruments.py
Normal file
16
invest-python-master/examples/instruments/instruments.py
Normal file
@@ -0,0 +1,16 @@
|
||||
import os
|
||||
|
||||
from t_tech.invest import Client
|
||||
|
||||
TOKEN = os.environ["INVEST_TOKEN"]
|
||||
|
||||
|
||||
def main():
|
||||
with Client(TOKEN) as client:
|
||||
r = client.instruments.find_instrument(query="BBG001M2SC01")
|
||||
for i in r.instruments:
|
||||
print(i)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user