{"repo":"stensoosaar/IBKit","free":true,"listed":false,"github":"https://github.com/stensoosaar/IBKit","clone":"git clone https://github.com/stensoosaar/IBKit.git","description":"Interactive Brokers TWS/Gateway API in Swift","language":"Swift","stars":24,"topics":["interactivebrokers","trading","ibapi","tws-api","marketdata","swift","ib-gateway","order-routing","interactive-brokers","quantitative-trading"],"license":"MIT","category":"trading","readme_excerpt":"IBKit - Interactive Brokers API swiftified IBKit is open source Interactive Brokers API library written in Swift. It allows you to automate trades, retrieve market data and monitor positions and orders. Offering both live and paper trading capabilities, it can be used as an algo trading platform or as an backtesting datasource. In latter case you need to write your own portfolio accounting and performance measurement methods. The software is not an official API and is not affiliated or related with Interactive Brokers. Conformance The current version should conform with IB API version 10.24. It is the aim to update the software with to MacOS major releases and include also better bites from TWS API. Current status - Common features seems to work fine but complex orders may generate errors. - FA Accounts are not currently supported Requirements - IB Gateway. - macOS 12+ - Swift 5.5+ - XCode 13+ Setting up IB Gateway - Launch IB Gateway, select IB Api as interface and use your live or paper trading credentials to log in. - To prevent IB Gateway/TWS to close application on your specified time, you need to select “Restart” option instead of “Auto logoff” under Configuration Lock and Exit menu. IB maintains its servers on Saturday early mornings (GMT) and the service is disrupted for a few hours. They also restart their servers on each morning so your gateway or workstation will be disconnected for a minute or two. - Pay attention to your Master Client ID, host and port as you wil","default_branch":null,"files":null,"tree":[],"storefront":"/r/stensoosaar","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stensoosaar/IBKit/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."}