Swiftpack.co - Package - UnfairAdvantage/UnfairCrypto

UnfairCrypto: Algorithmic crypto trading for the masses

platforms Carthage compatible

Unfair Crypto is the quickest and simplest way to get started with algorithmic trading of crypto currencies (and derivatives). It currently supports Bitmex and Binance, and over time all exchanges that provide an API will be added. Unfair Crypto requires a Mac and uses Swift, Apple's new programming language. But you don't need to know Swift to get started using the platform! Unfair Crypto is made to be extremely simple to use, even for newcomers to the language or programming in general.

Background

Unfair Advantage is a Scandinavian software development company that specialises in very challenging projects within fields such as drone and fintech, and Unfair Crypto was built for the Skye crypto fund, a crypto arbitrage fund that until recently was only taking private investments. When they decided to take investments from the broader community through an ICO they wanted a reliable toolchain that facilitated fast iteration and minimised the time spent fixing bugs. The result is the UnfairCrypto platform, which is gradually being open-sourced. It is extremely easy to use and highly extensible, and now anyone can use it to implement their crypto trading ideas, build visualisation tools or any other crypto related Mac or iOS app they can imagine.

The first part of the platform to be released is the interface for obtaining data from and placing orders at two major exchanges, Bitmex and Binance. Over time the entire toolchain will be open-sourced.

Usage

Unfair Crypto covers the entire APIs of both exchanges, which in turn means that anything you can do in the web interfaces, you can do with Unfair Crypto -- from getting the latest quotes to placing complex interlinked orders.

Examples

Places a simple limit order for 0.1 Cardano's at a price of 23 BTC, and prints the order status


// Sets up your API key and secret
Bitmex.setup(id: "My API id", secret: "My API secret")

// Places a simple limit buy order for 8 Ether's at a price of 0.065 BTC, and prints the order status
Bitmex.rest
    .order
    .create(symbol: .eth, side: .buy, quantity: 8)
    .limit(price: 0.065)
    .handleSuccess { order in print(order.ordStatus) }

// Send a chat message
Bitmex.rest
    .chat
    .send("Hello world")
    .handleSuccess { _ in print("Message was sent succesfully") }

Requirements

We have some very exciting things in the pipeline that will change this, but at the moment, you need a Mac to get started with algorithmic crypto trading using Unfair Crypto. You can also use a Hackintosh or a virtual Mac.

Installation

The tutorial goes through everything in detail, but in general terms you need to perform the steps below. The whole process takes less than 30 minutes and is entirely free.

  • Create an Apple ID
  • Enroll in the Apple developer programme
  • Download and install XCode
  • Create an account at Bitmex and/or Binance
  • Create API keys at the exchange(s) you are intertested in using.
  • Create an app and add Unfair Crypto to your app using Carthage (github UnfairAdvantage/UnfairCrypto) (or use our app template)
  • Profit

Tutorial

Tutorials and instructions

Roadmap

Over the coming months, we will be rolling out a number of exciting features, including:

  • Support for all remaining crypto exchanges
  • Useful template trading apps that you can leverage to implement your own algorithms even faster
  • Built-in support for RxSwift
  • New platforms, making algo trading even more accessible

Feedback

Create an issue here on Github or get in touch at info@unfair.me

Consulting

Get in touch with us at Unfair Advantage for enquiries about custom requirements or full implementations of your trading ideas.

Github

link
Stars: 0
Help us keep the lights on

Dependencies

Used By

Total: 0

Releases

0.1.1 - Apr 7, 2018

Fixed workspace etc

0.1.0 - Apr 5, 2018