RAPTOR v18.4: Исправлена отчетность, активированы выходные

This commit is contained in:
root
2026-04-18 23:26:45 +03:00
commit ef0958239e
312 changed files with 54247 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
import os
from t_tech.invest import GetMaxLotsRequest
from t_tech.invest.sandbox.client import SandboxClient
TOKEN = os.environ["INVEST_SANDBOX_TOKEN"]
def main():
with SandboxClient(TOKEN) as client:
account_id = client.users.get_accounts().accounts[0].id
request = GetMaxLotsRequest(
account_id=account_id,
instrument_id="BBG004730N88",
)
print(client.sandbox.get_sandbox_max_lots(request=request))
if __name__ == "__main__":
main()