Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 769 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 769 Bytes

🚧 Notice

Date: 2024 August

This repository is now deprecated and may be removed/replaced at a later date.

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/