{"repo":"sklinkert/igmarkets","free":true,"listed":false,"github":"https://github.com/sklinkert/igmarkets","clone":"git clone https://github.com/sklinkert/igmarkets.git","description":"Unofficial IG.com (former IG Markets) API client for Go/Golang","language":"Go","stars":33,"topics":["go","golang","igmarkets","trading","lightstreamer","cfd","broker","broker-api","cryptocurrency","bitcoin"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"igmarkets - Unofficial IG Markets Trading API for Golang This is an unofficial API for IG Markets Trading REST API. The StreamingAPI is not part of this project. Disclaimer : This library is not associated with IG Markets Limited or any of its affiliates or subsidiaries. If you use this library, you should contact them to make sure they are okay with how you intend to use it. Use this lib at your own risk. Reference: https://labs.ig.com/rest-trading-api-reference Currently supported endpoints Lightstreamer - Create session, add subscription(control), bind session Account - GET /accounts - GET /accounts/preferences Session - POST /session (version 2 + 3) Markets - GET /markets/{epic} - GET /markets?searchTerm=... Client sentiment - GET /clientsentiment/{marketID} Positions - POST /positions/otc - PUT /positions/otc/{dealId} - GET /positions - DELETE /positions - GET /confirms/{dealReference} Workingorders - GET /workingorders - POST /workingorders/otc - DELETE /workingorders/otc/{dealId} Prices - GET /prices/{epic}/{resolution}/{startDate}/{endDate} Watchlists - POST /watchlists/ (Create watchlist) - GET /watchlists/{watchlistid} - DELETE /watchlists/{watchlistid} (Delete watchlist) - GET /watchlists (Get all watchlists) - PUT /watchlists/{watchlistid} (Add epic) - DELETE /watchlists/{watchlistid}/{epic} (Delete epic) History - GET /history/activity - GET /history/transactions Example More examples can be found here. LightStreamer API Subscription Example Output: TODOs - Write","default_branch":null,"files":null,"tree":[],"storefront":"/r/sklinkert","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sklinkert/igmarkets/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}