oanda-v20-rs

Crates.iooanda-v20-rs
lib.rsoanda-v20-rs
version0.1.2
created_at2025-09-01 19:56:44.069769+00
updated_at2025-09-08 21:00:19.687243+00
descriptionA Rust client for the OANDA v20 REST and Streaming APIs
homepage
repositoryhttps://github.com/jxcv0/oanda-v20-rs.git
max_upload_size
id1820213
size51,913
Jacob (jxcv0)

documentation

README

OANDA v20 Client (Rust)

Status: Under active development — APIs may change without notice.

Disclaimer: Use at your own risk. No warranty. Not affiliated with OANDA.

Risk warning: Trading foreign exchange (FX) involves significant risk of loss and is not suitable for all investors. Nothing in this project constitutes financial advice.

This is a wrapper around the autogenerated oanda-v20-openapi crate that I also maintain. The idea is that eventually this crate will evolve into a much more ergonomic interface, however for the time being I recommend using the raw generated crate is it much more functional.

A Rust client for the OANDA v20 REST API.

Pull requests are welcome.

Running the Integration Tests

Run these tests at your own risk.

The integration tests (tests/*_integration.rs) require two environment variables API_TOKEN and ACCOUNT_ID to be defined.

To run the tests:

cargo test -- --ignored
Commit count: 0

cargo fmt