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: