IG API clojure sample application
Clojure
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
src/ig_webapi_sample
test/ig_webapi_sample
.gitignore
.travis.yml
LICENSE.md
README.md
project.clj

README.md

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/