lucasgut / ig-webapi-clojure-sample

IG API clojure sample application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ig-webapi-clojure-sample

Build Status

IG WebAPI Clojure sample This sample authenticates a user via the IG REST API, subscribes to Lightstreamer heartbeat messages and retrieves a list of positions and market data. See api-sample.clj for further details.

To run in the REPL: (require '[ig-webapi-sample.api-sample]) (ig-webapi-sample.api-sample/-main "myuser" "mypwd" "myapikey" :demo)

where :demo refers to the DEMO environment (use :live to connect to the LIVE environment)

API reference: http://labs.ig.com/

About

IG API clojure sample application

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Clojure 100.0%