Giter Club home page Giter Club logo

drivewealth's Introduction

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')

drivewealth's People

Contributors

4lfredosh avatar

Watchers

 avatar  avatar  avatar

drivewealth's Issues

CVE-2018-17175 Low Severity Vulnerability detected by WhiteSource

CVE-2018-17175 - Low Severity Vulnerability

Vulnerable Library - marshmallow-3.0.0b8-py2.py3-none-any.whl

A lightweight library for converting complex datatypes to and from native Python datatypes.

path: /drivewealth/requirements.txt

Library home page: https://files.pythonhosted.org/packages/0b/66/39fca5bbce1d221c8711c5f8cdc78da41c1bb53298c71b2f697757e5a540/marshmallow-3.0.0b8-py2.py3-none-any.whl

Dependency Hierarchy:

  • marshmallow-3.0.0b8-py2.py3-none-any.whl (Vulnerable Library)

Vulnerability Details

In the marshmallow library before 2.15.1 and 3.x before 3.0.0b9 for Python, the schema "only" option treats an empty list as implying no "only" option, which allows a request that was intended to expose no fields to instead expose all fields (if the schema is being filtered dynamically using the "only" option, and there is a user role that produces an empty value for "only").

Publish Date: 2018-09-18

URL: CVE-2018-17175

CVSS 2 Score Details (3.4)

Base Score Metrics not available


Step up your Open Source Security Game with WhiteSource here

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.