import os

from t_tech.invest import Client

token = os.environ["INVEST_TOKEN"]


with Client(token) as client:
    statuses = client.market_data.get_trading_statuses(instrument_ids=["BBG004730N88"])
    print(statuses)
