# PYOANDA 

Python library that wraps [Oanda](http://oanda.com) API.


Status: __ALPHA__ [![Build Status](https://travis-ci.org/toloco/pyoanda.svg?branch=master)](https://travis-ci.org/toloco/pyoanda)



### Code example

```python
    from pyoanda.client import Client

    c = Client(
        domain="https://api-fxpractice.oanda.com, 
        domain_stream="https://stream-fxpractice.oanda.com", 
        account_id="Your Oanda account ID",
        access_token="Your Oanda access token"
    )

    c.get_instrument_history(
    	instrument="EUR_GBP",
    	candle_format="midpoint",
    	granularity="S30"
    )
```

### Run test
```shell
py.test
```


[Pypi Page](https://pypi.python.org/pypi/pyoanda/0.1.0)

# PYOANDA

Python library that wraps [Oanda](http://oanda.com) API.


Status: __ALPHA__ [![Build Status](https://travis-ci.org/toloco/pyoanda.svg?branch=master)](https://travis-ci.org/toloco/pyoanda)



### Code example

```python
    from pyoanda.client import Client

    c = Client(
        domain="https://api-fxpractice.oanda.com,
        domain_stream="https://stream-fxpractice.oanda.com",
        account_id="Your Oanda account ID",
        access_token="Your Oanda access token"
    )

    c.get_instrument_history(
    	instrument="EUR_GBP",
    	candle_format="midpoint",
    	granularity="S30"
    )
```

### Run test
```shell
py.test pyoanda
```


[Pypi Page](https://pypi.python.org/pypi/pyoanda/0.1.0)

Add module to test in docs
Add module to test in docs
