156 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

App to plot charts using data from Trading Economics. This app will give you an overview on what you can do with our API.

Trading Economics provides its users with accurate information for 196 countries including historical data and forecasts for more than 20 million economic indicators, exchange rates, stock market

Demo files from the webinar of same title.

Files used in the April 14, 2011 webinar titled Cointegration and Pairs Trading with Econometrics Toolbox.



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.

intended to explain an approach to backtesting and partial optimization of a trading strategy. Backtesting and selection of parameters through testing or optimization (improvement) are critical to the

Uses Moving Averages to Trade the VIX

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

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

trading tool candlestick chart

(price/volume chart)

'. Please see TradeMonitorDemo.m for an example.

Suite of functions for accessing the Binance API via MATLAB. Supports spot and margin trading and all public endpoints.

MATLAB Binance APISuite of functions for accessing the Binance API via MATLAB (R2019b or later). This package supports spot and margin trading and all public endpoints.v0.1.6Disclaimer:This

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

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

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.

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: https://www.mathworks.com/videos/machine-learning-for-algorithmic-trading

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.

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

A novel phasianidae optimization approach called peafowl optimization algorithm (POA) was proposed to solve serial engineering issues.

Inspired by the intelligent behaviors of peafowls swarm, the design of POA includes effective and efficient exploratory and exploitative searching operators to provide a proper trade-off between

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

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

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

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

Algo Trading for Ethanol

Algo Trading for few natural gases using VIX to forecast prices

Peak fitting GUI for Diffraction Data

and/or other materials provided with the distribution.The names North Carolina State University, NCSU and any tradename, personal name,trademark, trade device, service mark, symbol, image, icon, or any

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 •

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

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

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

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

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

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

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

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

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

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

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

(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

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

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

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).

(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

Pairs Trading


by Hui Gong

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

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

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

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

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

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

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.


version 7.0.2

by Reza

A toolbox for 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

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

This code analytically generates the total AC loss in a multi-phase system consisting of axisymmetric, cylindrically-wound Litz coils.

increased (in integer steps) to increase accuracy with trade-offs in computation time.

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

Collection of invalid correlation matrices

This repository contains code for end-term project of class Digital Image Processing & Applications taught by Prof Deboot Sheet.

like use of Classifiers on top extracted feature using feature extraction and more advanced deep learning algorithms like Deep CNNs. But there is a trade-off between computaional effiecieny, time

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

Load more