149 results

MATLAB example on how to use Reinforcement Learning for developing a financial trading model

Reinforcement Learning For Financial Trading ?How to use Reinforcement learning for financial trading using Simulated Stock Data using MATLAB.SetupTo run:Open RL_trading_demo.prjOpen workflow.mlxRun



by Quinn

A function suite for accessing OANDA's REST API with MatLab

required allowing you to take a strategy from backtesting to live trading with minimal effort.

This book was written to aid in research into signal processing algorithms with application to trading.

https://docs.google.com/document/d/15AGCufJZ8CIUvwFJ9W-IKns88gkWOKBCvByMEvm5MLo/edit, which is titled LazyBear Custom Indicators for TradingView.

Realtime trading demo & presentation, presented at NYC Computational Finance Conference 23 May 2013

These are the files used for my presentation "Realtime Trading with MATLAB", at the MATLAB Computational Finance Conference in New York on May 23, 2013, and updated for the MATLAB Computational

trading tool candlestick chart

Available code: mycodeworklab@gmail.com WhatsApp : +919877014844

A Novel Approach to Balance the Trade-Off between Security and Energy Consumption in WSNAbstract:WSN (Wireless sensor networks) are composed of huge number of non-rechargeable tiny sensor nodes

(price/volume chart)

'. Please see TradeMonitorDemo.m for an example.

App to get charts from historical data, using Trading Economics API.

Example on how to interact Trading Economics historical data for indicators using the API, and plotting the data into a simple chart.If you are not a client, go to developer.tradingeconomics.com and

Suite of functions for accessing the Binance API via MATLAB. Supports trading on spot accounts and most public endpoints.

MATLAB Binance APISuite of functions for accessing the Binance API via MATLAB (R2016b or later). This package supports spot and margin trading and all public endpoints.v0.1.3FeaturesAccess all

Rotman Trader Toolbox provides functionality for connecting MATLAB(R) to Rotman Interactive Trader

Rotman Trader Toolbox allows you to connect to Rotman Interactive Trader from MATLAB(R). From within MATLAB, you can retrieve information in real-time as well as submit trading orders. You can

Uses Moving Averages to Trade the VIX

Demo files from (upcoming) webinar on Machine Learning for Algo Trading

All the sample code and relevant data showed during the webinar Machine Learning for Algo Trading.The video link is here

Demos from the 'Commodities Trading with MATLAB' webinar - July 25, 2013.

This submission contains files from the "Commodities Trading with MATLAB" webinar, broadcast on July 25, 2013. The webinar can be viewed at

A distributed robotic testbed for experimental validation of multi-agent algorithms.

You will learn how to classify trading signals into "buy" or "sell" using machine/deep learning

Using the stock index data, we will show how to perform:- Data preprocessing, factor creation, and data partitioning - Rule-based trading (Demo1)- Classifying trading signals using Classification

Official mForex API binding for Matlab.

The goal of mForex.Matlab API is to provide flexible, asynchronous programming model for Matlab (based on mForex API) for building real-time trading systems.

Files from the November 18, 2010 webinar.

Files used in the webinar - Algorithmic Trading with MATLAB Products for Financial Applications broadcast on November 18, 2010. This webinar can be viewed at

How to Build an Event-based Automated Trading System in MATLAB

Files used in the webinar - Automated Trading System Development with MATLAB broadcast on August 20, 2015. This webinar can be viewed at

This demo will show how to perform a strategy backtesting in just 8 lines of code.

Using the functionalities in MATLAB® and Financial Toolbox™, you can perform a strategy backtesting in just 8 lines of code. This includes: • Data preparation • Trading signal generation •

Algo Trading for Ethanol

Algo Trading for few natural gases using VIX to forecast prices

Files from the Automated Trading webinar showing X_Trader and QuickFIX/J integration.

Files used in the webinar - Automated Trading with MATLAB broadcast on August 21, 2012. This webinar can be viewed at www.mathworks.com/videos/automated-trading-with-matlab-81911.htmlSpecific topics

Matlab connector to IQFeed optimized for reliability, ease-of-use, functionality and performance (including parallelization)

(news/quotes/interval-bar/regional triggers) * Combine all of the above for a full-fledged end-to-end automated trading system using plain MatlabIQML was optimized for reliability, ease-of-use, functionality and performance

This code calculates for a given inputs the necessary DeltaV and wait time for different rendezvous which is necessary for several analysis.

study trade-offs such as wait time vs deltaV for a Coplanar Rendezvous.Calculations are based on: - FAA, "Maneuvering In

Density Functional American Option pricing with Bayesian Monte Carlo Path Int & MUSIC w/ Kelly Criterion

, Intra-day distributions can be remarkably different from end of day distributions, so the results may vary from real world trading but it is probably the most accurate look ahead in stable markets that we

Calculates values for Directional Movement System like J. Welles Wilder describes in his book 'New Concepts in Technical Trading Systems'

Calculation of the Directional Movement System - This function calculates the values needed to trade the Directional Movement System like J. Welles Wilder describes in his book 'New Concepts in

An intraday trading algorithm to absorb the shock to the stock market when rebalancing a portfolio

M-file scripts and Simulink models from webinar on 28 May 2009

These are the files and some of the data that I used in my recent webinar on Algorithmic Trading. Data has been shortened for size reasons. Included are:MARISANearest Neighbour modelTrailing

Stochastic Valuation models for stocks and bond rates.

This is a collection of Stochastic Valuation methods for Monte-Carlo simulations of stock prices and bond interest rates. These simulations help to backtest on synthetic data trading strategies

Demo files from the webinar of same title.

Files used in the April 14, 2011 webinar titled Cointegration and Pairs Trading with Econometrics Toolbox.It is recomended that you watch the recording of the webinar

This BTC-e trade api can be used to automatically trade on btc-e using their api.

These matlab files will allow you to use all methods of the btc-e api. These include:response = GetInfo()response = TransHistory()response = TradeHistory('count',2)response = ActiveOrders()response =

A band trading strategy implemented in MATLAB.

This MATLAB function implements a simple band trading strategy. A band consists of two lines that form the upper and lower boundaries of the band. The upper and lower boundaries are used to to enter

MATLAB code for the generation asset risk analysis case study

Multi-Objective Optimization of Aspen Plus Distillation Column using Stochastic Algorithm (NSGA II).

Many optimization problems in chemical engineering involve integer variables and trade-off objective. One approach to address this type of problem is using algorithms that handle continuous and

Matlab quantitative trading and investment platform

EliteQuant is an open source forever free unified quant trading platform built by quant traders, for quant traders.it’s unified across backtesting and live trading. Just switch the data source to

Matrix-based flexible project planning, scheduling, and risk analysis for traditional, agile, and hybrid project management

DEMO.mImplemented Scheduling Problems:CTCTP: Continuous Time-Cost Trade-off ProblemDTCTP: Discrete Time-Cost Trade-off ProblemCTQCTP: Continuous Time-Quality-Cost Trade-off ProblemDTQCTP: Discrete Time-Quality-Cost

Baseball Flight

version 1.0.0

by Meg Noah

To calculate the trajectory of a ballistic baseball with air drag, wind pressure, and magnus force (lift or curve).

with a parameter sweep. Gravity, wind, and spin are easily turned on or off for trade-space investigations.This model is useful for education settings, to understand magnitude of effects, for analysis

View a stock's buy/sell recommendations based on a synthesis of the indicators SMA, MACD, and RSI

a full version of local receptive field Convolutional neural network is presented in this toolbox.

. Intell., no. Ci, 2005.[3]O. Barak, M. Rigotti, and S. Fusi, “The Sparseness of Mixed Selectivity Neurons Controls the Generalization–Discrimination Trade-Off,” J. Neurosci., vol. 33, no. 9, pp. 3844–3856

Matlab routines to scrape market data for China's pilot emission trade schemes

Scrapes price and volume data for China's pilot cap-and-trade schemes.

Trade-off analysis of an antenna repointing system for computing accurate time budgets during fly-by.

This model has been employed for doing trade-off analysis for the communication between LEO satellites for Earth observation and ground stations. In particular, the model serves to compute the time

pairs trading

This code demonstrates the pairs trading strategy using "minimum distance criterion" as in Gatev et al.(2006), for both industry neutral stocks and industry stocks, the files enclosed are 3 separate

Files from the webinar can be viewed at http://optinum.co.za/_webinar/BloombergEMSXandMATLAB.mp4

Demo files from the OPTI-NUM solutions webinar - Algorithmic Trading with Bloomberg EMSX and MATLAB.The main demo files

(a naive artificial stock market)

chart will appear and run for one minute; once the simulation concludes, you can inspect order and trade histories by examining active objects. You will need to re-start Matlab to re-run the simulation.

This package allows to compute the probability of informed trading from bilateral trades.

The probability of informed trading (PIN) denotes that probability that a counterparty in the trading process has superior information on the value of the asset exchanged. This is a key concept in

(No, we don't trade babies!)

..but build a primitive, stylized automated trading system operated by a fixed-rate timer and handling retrieval, storage and analysis of data; a 'strategy' guides rebalancing the portfolio at each

Matlab functions for directly importing data from IMF (International Monetary Fund)

: the International Financial Statistics (IFS), Balance of Payments (BOP), and Coordinated Portfolio Investment Survey (CPIS), and Direction of Trade Statistics (DOT).

Different exchange rules modify an nitial distribution of wealth among traders.

Pairs Trading


by Hui Gong

This m-file will show you the dynamic pairs trading using the stochastic control approach.

The files are designed for walk-forward analysis of pair trading strategy using Bollinger Band

The files are designed for walk-forward analysis of pair trading strategy using Bollinger Band as entry and exit rules. In this example, you will see 5 pair of stocks tested over the period of 3

Three aggregate objective functions (AOF), the weighted sum, Tchebycheff and the weighted Lk-metric, are investigated respectively.

code-segments are provided respectively to investigate the performance while obtaining the scalarized non-convex PF by using different trade-off levels. The simulation results are helpful for researchers to make

This program shows the profit and lost of using different trading strategies on Singapore stocks.

Directions to run the file.1. Unzip the file "TradingStrat.zip" so that you'll get the folder "TradingStrat".2. Set your working directory as "TradingStrat > CSV" (The CSV folder holds the comma

A framework for detecting misreported returns in hedge funds.

average return on nine big stock portfolios.====> The squared values of the above factors, proposed by Bollen & Pool to capture nonlinearities in exposure generated by dynamic trading and/or

Code for 5 different MCDM methods with weights calculation can be done by AHP and cross entropy

method. Anyone using the codes please cite the papers"Hussain, S. A. I., Sen, B., Das Gupta, A., & Mandal, U. K. (2020). Novel multi-objective decision-making and trade-off approach for selecting


version 6.0.4

by Reza

A toolbox fo calling SAP2000(CSiBRiDGE) by MATLAB

for the design of major projects, including the Taipei 101 Tower in Taiwan, One World Trade Center in New York, the 2008 Olympics Birds Nest Stadium in Beijing, and the cable-stayed Centenario Bridge

Implementation and example of the Generalized Protective Momentum trading strategy

The script downloads 10 years of stock data from Yahoo Finance.

Matlab connector to EODHistoricalData optimized for reliability, ease-of-use, functionality and performance (including parallelization)

interests * Symbols lookup – all listed symbols in a certain exchange, or all exchanges that list a certain symbol * Option chains lookup – contract info, in/out of money, trade info, Greeks, implied

it use Machine Learning in MATLAB to predict the buying-decision of Stock by using real life data.

today to predict the next day stock close price. In this example, the trading strategy is if the close price is higher 1% than the open price in the same day, then we should buy stock at the

Learn how to implement two basic but powerful strategies to solve multi-armed bandit problems with MATLAB.

option from trial and error with live examples. The multi-armed bandits focus on the question of exploration vs. exploitation trade-off - how much resources should be spent in trial and error vs

function getHistoricalIntraDayStockPrice obtains intraday stock price from Google.

alternatives.https://stackoverflow.com/questions/46070126/google-finance-json-stock-quote-stopped-workinghttps://stackoverflow.com/questions/51658401/google-finance-api-address-has-changedFor the adventurous folks, I recommend giving Quantopian (python) or Quantconnect (python, c#) a try. Both platforms provide free intraday data as long as you are doing analysis/trading within their

Load more