Swiftpack.co - jackpooleybc/exchange-swift as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by jackpooleybc.
jackpooleybc/exchange-swift 0.0.1
A Blockchain.com Exchange API client written in Swift
⭐️ 1
🕓 3 years ago
iOS macOS
.package(url: "https://github.com/jackpooleybc/exchange-swift.git", from: "0.0.1")

BlockchainExchangeKit

A Blockchain.com Exchange API client written in Swift.

Supports the following features

  • ☑ Create market, and limit orders
  • ☑ Cancel an order
  • ☑ Subscribe to balances
  • ☑ Subscribe to market data
  • ☑ Subscribe to symbol reference data

Example Project

Check out the BlockchainExchangeExample project to see how to connect to the exchange and subscribe to the available channels.

Anonymous example

$ swift run examples anonymous 

Authenticated example

$ swift run examples authenticated --token "<API_TOKEN>"

Requirements

BlockchainExchangeKit works on iOS 13 and macOS Catalina or above.

Installation

Swift Package Manager

dependencies: [
    .package(name: "BlockchainExchangeKit", url: "https://github.com/jackpooleybc/exchange-swift.git", from: "0.0.1")
]

GitHub

link
Stars: 1
Last commit: 3 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Dependencies

Release Notes

0.0.1
3 years ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics