Skip to content
WPF sample application written in C# to access the IG Web API
C#
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
IGWebApiClient Add missing variable Sep 25, 2017
SampleWPFTrader Fix project config. Aug 16, 2016
packages Update gitignore. Aug 16, 2016
.gitignore Update gitignore. Aug 16, 2016
.travis.yml
IGWebApiDotNetSample.sln Initial commit - WPF sample application to view accounts, trading upd… Aug 16, 2016
LICENSE.md Initial commit - WPF sample application to view accounts, trading upd… Aug 16, 2016
README.md Remove build status icon as Travis can't build WPF projects. Aug 17, 2016

README.md

IG Web API .NET Sample

Overview

This repository contains a .NET WPF sample application written in C# to access the IG REST and Streaming APIs.

Getting started

  1. Open the solution with Visual Studio 2015 or later.

  2. Configure the SampleWPFTrader App.config file:

    <!-- environment = demo|live -->
    <add key="environment" value="demo" />
    <add key="username" value="mydemouser" />
    <add key="password" value="mydemopassword" />
    <add key="apikey" value="3b577d884a6ba7d2b0d036f443bec954ebf3cf14" />
Use the NuGet Package manager if necessary to update assembly references.
  1. Build and run the sample application.

Solution details

SampleWPFTrader contains the WPF implementation.

IGWebApiClient contains a REST and streaming client with DTO classes to access the IG Web API.

packages contains 3rd party libraries located under packages/3rdPartyDlls (e.g. Lightstreamer client's DotNetClient_N2.dll) and those managed by NuGet's package manager.

You can’t perform that action at this time.