Git Product home page Git Product logo

simpletradingsimulator's Introduction

SimpleTradingSimulator

SimpleTradingSimulator is a Forex trading simulator for manually testing trading strategies and analysing results.

The application allows stepping through a market at any speed allowing trades to be simulated across many years of data very quickly. It currently has 20 markets each with around 10 years of data from FXCM built in, hence the large size of the download.

Screenshot

Installation

  1. Download latest version from: https://github.com/Hallupa/SimpleTradingSimulator/releases

  2. Run 'TradingSimulatorInstaller.msi' which will install the application along with shortcuts on the desktop and start menu

How to use

After starting the application there will be a random chart from one of 20 markets at a random point in time.

The chart on the left shows day candles, on the right are 2 hour or 4 hour candles. Clicking 'next candle' or pressing Control-F will progress one candle forward. Clicking 'New chart' will select another random market and time.

Setting up a trade

Clicking 'long trade' or 'short trade' will add a new trade in the trades window. Every trade has to have a stop so the trade can calculate a risk to reward ratio.

Set stop

Select the new trade, click 'Set stop' then click a point on the chart for the stop.

Set limit (optional)

If wanted, click 'Set limit' and click a point on the chart for the limit.

Market price

If no order price has been set, when time is progressed the trade will automatically start at market price.

Entry price

To set the entry price, click 'Set entry price' then select a point on the chart. When progressing through the candles, if the entry price is hit the trade will start.

Editing the trade

When a trade is active selecting the trade then clicking the toolbar option 'Set stop', 'Set limit' or 'Set stop' will then allow selecting a point on the chart.

Results

In the Results section analysis is shown of the trades, such as average return in in risk to reward ratios, or R, and shows statistics such as % trades that made a positve R, expectancy, etc.

Building the source code

Visual Studio 2017 or later is required

Building the application

To build the application:

  1. Install Expression Blend SDK from https://www.microsoft.com/en-gb/download/details.aspx?id=10801
  2. Install SciChart 3.5.0.7128 from https://www.scichart.com/Downloads/v3.5/SciChart_v3.5.7128_Installer.zip
  3. Load Visual Studio .NET 2017
  4. Select x86 build configuration
  5. Build

Building the installer

To build the installer, Installer Project extension must be installed. This can be done by:

1 Load Visual Studio .NET 2017 2 Click on "Tools" -> Extension and Updates -> Online 3 Type "Installer Project" on the search box 4 Click on "Install" in Microsoft Visual Studio Installer Project 5 Restart Visual Studio .NET and follow the instructions to install the extension

Or by downloading via marketplace.visualstudio.com

Once installed the installer should build

License

This library is release under GNU General Public License v3.0.

Copyright (c) 2019 Oliver Wickenden

https://github.com/Hallupa/TraderSimulator/blob/master/LICENSE

simpletradingsimulator's People

Contributors

hallupa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

simpletradingsimulator's Issues

Nice looking application

Hi

Looks like a very nice application for testing trading, which I am currently doing

I am trying to get this application installed and running
When I have installed the msi file and try to run the application nothing happens. Are there some dependencies that I require on my Windows 11 computer

I have also tried downloading the code to recompile it but have not been successful.

Is it possible to have this code updated or can you please guide my on getting this compiled. I usually program with java, jython and python

Thanks
Stephen

A newbie's Issue

Hi , I really appreciate what you have done for us.
I'm very interested in it . but when I open the “src\TraderSimulator.sln" file with my Visual Studio 2017 , What I saw is "Unsupported" , what happened ? would you help me ? Thx

Unsupported
This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them.
For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK.
- TraderSimulatorInstaller, "D:\Git_storage\Git_Tradesimulator\SimpleTradingSimulator-1.0.5\SimpleTradingSimulator-1.0.5\Src\TraderSimulatorInstaller\TraderSimulatorInstaller.vdproj"

No changes required
These projects can be opened in Visual Studio 2015, Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1 without changing them.
- TraderSimulator, "D:\Git_storage\Git_Tradesimulator\SimpleTradingSimulator-1.0.5\SimpleTradingSimulator-1.0.5\Src\TraderSimulator.sln"
- , ""
- , ""
- , ""
- , ""
- , ""
- , ""

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.