版本 (3.8 MB) 作者: Quinn
A function suite for accessing OANDA's REST API with MatLab
391.0 次下载
更新时间 2020/11/17

The aim of this project is to unlock as much as possible of the functionality of OANDA's REST API for use in MatLab and to eventually provide a back-testing and strategy development utility that will use all the same function names and function I/O as the other modules.
This design philosophy is based on the words of the great Dr. Ernest P. Chan:
"This ease of switching between backtesting and live execution is more than just convenience: It eliminates any possibility of discrepancies or errors in transcribing a backtest strategy into a live strategy, discrepancies that often plague strategies written in a general programming language whether it is C++ or MATLAB."
It allows you to check prices, retrieve instrument history, place or modify orders and open or close trades in just one line each.

The final suite will consist of three parts:

1: OAPI: Human
This module is designed to be the most user friendly, intuitive and easy to use, it outputs a lot of human-readable information and asks for user input to decide what it should do with data it has collected.
The drawback of this is a lack of efficiency and the requirement of a human supervisor during operation, this makes it's best use for running experiments or debugging code.

2: OAPI: Bot
This module has the same functions as OAPI Human with the exact same inputs, this is so once you have developed code carefully in the human module, the same code can be applied to the bot module with no re-design or testing required, allowing a strategy to run without supervision.

3: OAPI: Backtester
This module again has identically named functions with identical input requirements as module 1 and 2.
It will allow for simulations to be ran on historical or simulated data much faster than forward tests.
The strategies created in the back-tester will run live with no re-design required allowing you to take a strategy from backtesting to live trading with minimal effort.


Quinn (2024). QuinnSys/QuinnSys-OAPI (https://github.com/QuinnSys/QuinnSys-OAPI), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2015b
Windows macOS Linux
Help CenterMATLAB Answers 中查找有关 Transaction Cost Analysis 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库