An open API service indexing awesome lists of open source software.

https://github.com/blankenshipz/oanda-rs

Rust wrapper for the Oanda Rest API
https://github.com/blankenshipz/oanda-rs

forex forex-trading oanda oanda-api oanda-rest rust

Last synced: 3 months ago
JSON representation

Rust wrapper for the Oanda Rest API

Awesome Lists containing this project

README

          

![docs.rs badge](https://docs.rs/oandars/badge.svg?version=0.1.2)

# OANDARS

`oandars` is a Rust wrapper for the `oanda` [Rest-V20](http://developer.oanda.com/rest-live-v20/introduction/) API

## Missing Features

This library does not yet implement all of the features of the `oanda` API, if a feature you're interested in is missing please feel free to [open an issue](https://github.com/blankenshipz/oanda-rs/issues)

## Usage

See the [examples](examples/) and the [documentation](https://docs.rs/oandars/0.1.1/oandars/) for details

## Development

### Setup

1. Create an `Oanda` test account and name it `Testv20`
1. Copy the `.secrets.sample` to `.secrets` and update the variables based on your new test account

### Running Tests

The test suite can be run with `docker-compose`:

```sh
docker-compose run --rm lib
```

Or if you prefer to just use cargo:

```sh
cargo test -- --nocapture
```