Coder Social home page Coder Social logo

fat2020-preprints's Introduction

IMPORTANT

This is an old project and hasn't been actively maintained since 2015 and we're not providing any paid support for it.

Forexware-Connector

This project contains a connector of Forexware for TradeSharp (a C# based Algorithmic Trading Platform).

Find more about TradeSharp here.


Getting Started

Tools

  • Microsoft Visual Studio 2012 or higher
  • .NET Framework 4.5.1

Prerequisites

  • Working TradeSharp Application
  • Demo Account for Forexware

Setting up The Connector

  1. Download the connector zip file or clone the repository.

  2. Add FIX dictionary to TradeSharp.MarketDataProvider.Forexware and TradeSharp.OrderExecutionProvider.Forexware projects.

  3. Right click on the added FIX dictionary. Click properties. Select Copy Always for parameter Copy to Output Directory.

  4. Update ForexwareFIXSettings.txt files in Config folders in TradeSharp.MarketDataProvider.Forexware and TradeSharp.OrderExecutionProvider.Forexware projects. Update values for all parameters with comment #####To Be Updated.


Installing Stunnel

Secure Sockets Layer (SSL) is required to connect to a FIX Gateway through a public Internet. Follow the steps below to install and configure Stunnel.

Step # 1: Installing Stunnel

  1. Download installer from here.
  2. Install Stunnel.
  3. Fill the small form for certificate regarding (Country, Province/State, City etc)

Step # 2: Editing stunnel.conf

  1. Open stunnel.conf file with text editor located at C:\Program Files (x86)\stunnel\stunnel.conf
  2. Set output for log file like output = stunnel.log
  3. Set certificate like cert = stunnel_demo.pem
  4. SSL server mode service

Sample Stunnel.conf file Forexware

; Sample stunnel configuration file for Win32 by Michal Trojnara 2002-2012
; Some options used here may be inadequate for your particular configuration
; This sample file does *not* represent stunnel.conf defaults
; Please consult the manual for detailed description of available options

; **************************************************************************
; * Global options                                                         *
; **************************************************************************

; Debugging stuff (may useful for troubleshooting)
debug = 7
output = stunnel.log

; Disable FIPS mode to allow non-approved protocols and algorithms
fips = no

; **************************************************************************
; * Service defaults may also be specified in individual service sections  *
; **************************************************************************

; Certificate/key is needed in server mode and optional in client mode
cert = stunnel_demo.pem
;key = stunnel.pem

; Disable support for insecure SSLv2 protocol
options = NO_SSLv2
; Workaround for Eudora bug
;options = DONT_INSERT_EMPTY_FRAGMENTS

; These options provide additional security at some performance degradation
;options = SINGLE_ECDH_USE
;options = SINGLE_DH_USE

; **************************************************************************
; * Service definitions (at least one service has to be defined)           *
; **************************************************************************

; Example SSL server mode services

[FIXCLIENT]
client=yes
accept=127.0.0.1:8882
connect=74.217.226.197:19905

Step # 3: Starting Stunnel

  1. Search for Stunnel GUI Start program and start it.

OR

To start the service

  1. Search for Stunnel Service Install and execute it (Needs Administrative Privileges).
  2. Search for Stunnel Service Start and execute it (Needs Administrative Privileges).

Compiling Code

Clean and Build the code from Visual Studio.


Bugs

Please report bugs here

fat2020-preprints's People

Contributors

karhw avatar

Watchers

 avatar

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.