Skip to content

Biblioteca cliente oficial da plataforma Smartt na linguage Python

License

Notifications You must be signed in to change notification settings

leocm/smartt-python-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pysmartt - Smartt Python Client

Bibliotecas e aplicações cliente para o Smartt na linguagem Python.

O código dessa biblioteca é aberto, distribuído sob a licença BSD de duas cláusulas (ver arquivo LICENSE).

Dependências

Python 2.7

Exemplo

from pysmartt import smartt_client

client = smartt_client.SmarttClient()

print client.logged()

print client.login("LOGIN", "PASSWORD")

print client.getPortfolio("auto")

# Envia uma ordem de compra de uma ação da Petrobrás a R$5,00
print client.sendOrder(investment_code="auto", order_type="buy",
					   stock_code="PETR3F", number_of_stocks=1,
					   price=5.00)

About

Biblioteca cliente oficial da plataforma Smartt na linguage Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published