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