Skip to content
This repository has been archived by the owner on Sep 7, 2021. It is now read-only.
/ drivewealth Public archive

código fuente libreria django-drivewealth

Notifications You must be signed in to change notification settings

AxiomaLabs/drivewealth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DriveWealth

Integración Python con la API de DriveWealth.

Uso

  • Obtener una session.
>> import drivewealth
>> dw = drivewealth.Api(username='username', password='password')
>> print dw
  • Obtener la cuenta asociada a la session.
>> import drivewealth
>> dw = drivewealth.Api(username='username', password='password')
>> dw.accounts
  • Obtener data de un usuario en especifico.
    • @Params:
      • user_id
>> import drivewealth
>> dw = drivewealth.Api(username='username', password='password')
>> dw.get_user('user_id')
  • Obtener el listado de todos los instrumentos disponibles.
>> import drivewealth
>> dw = drivewealth.Api(username='username', password='password')
>> dw.get_instruments()
  • Obtener un instrumento en especifico.
    • @Params:
      • instrument_id
>> import drivewealth
>> dw = drivewealth.Api(username='username', password='password')
>> dw.get_instrument('instrument_id')
  • Buscar un instrumento.
    • @Params:
      • symbol
      • name
      • tag
>> import drivewealth
>> dw = drivewealth.Api(username='username', password='password')
>> dw.search_instruments(symbol='symbol', name='name', tag='tag')
  • Obtener el estatus de una orden.
    • @ Params:
      • order_id
>> import drivewealth
>> dw = drivewealth.Api(username='username', password='password')
>> dw.get_order_status(order_id='order_id')
  • Obtener Performance de una cuenta
    • @Params:
      • user_id
      • account_id
>> import drivewealth
>> dw = drivewealth.Api(username='username', password='password')
>> dw.get_account_performance(user_id='user_id', account_id='account_id')

About

código fuente libreria django-drivewealth

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages