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