Giter VIP home page Giter VIP logo

ig-us-websocket-client-python-example's Introduction

IG US WebSocket Client Python Example

Introduction

This project is an example to demonstrate calling the IG US WebSocket API using the Python programming language.

It has been developed using Python 3.7.

It is not production quality code.

The example negotiates and establishes a FIXP session and then requests a SecurityList and a stream of Quote messages.

It stops and disconnects after a configured number of Quote messages are received.

To run the example an IG US Demo environment Username and Password are required. Open an account here.

Introduction to the IG US WebSocket API

IG US WebSocket PreTrade API

How to run the example

See below for how to activate the environment if you are using conda.

python WebSocketClient.py --userName=a_username --password=a_password --quoteLimit=10

By default the example will connect to the Demo environment.

Consider Installing Anaconda

Anaconda is a commonly used Python environment.

You may choose to download the Indidual Edition.

Refer to the documents on the above site.

Create (Activate) the provided conda environment

conda env create -f environment.yml

How to export a conda environment if you extend it

conda env export > environment.yml

ig-us-websocket-client-python-example's People

Contributors

david-gibbs-ig 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.