All Projects → trsathya → Cryptex

trsathya / Cryptex

Licence: mit
Gemini, GDAX, Bitfinex, Poloniex, Binance, Kraken, Cryptopia, Koinex, BitGrail and CoinMarketCap cryptocurrency exchange API clients in Swift / iOS SDK. Check prices and account balances using Sample iOS app.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Cryptex

Algo Coin
Python library for algorithmic trading cryptocurrencies across multiple exchanges
Stars: ✭ 365 (+615.69%)
Mutual labels:  ethereum, bitcoin, cryptocurrency, poloniex, gemini, gdax
Gnome Feeder
Profit Trailer Feeder Full Build with Settings
Stars: ✭ 122 (+139.22%)
Mutual labels:  ethereum, bitcoin, cryptocurrency, cryptocurrencies, litecoin, crypto
Crypto vba
An Excel/VBA project to communicate with various cryptocurrency exchanges APIs
Stars: ✭ 103 (+101.96%)
Mutual labels:  ethereum, bitcoin, cryptocurrencies, poloniex, binance, gdax
Crypto Whale Watcher
An app to keep a watch on big volume trades of cryptocurrecies on different exchanges by sending alerts via a Telegram Bot.
Stars: ✭ 60 (+17.65%)
Mutual labels:  ethereum, bitcoin, cryptocurrency, cryptocurrencies, binance, gdax
Exchangesharp
ExchangeSharp is a powerful, fast and easy to use .NET/C# API for interfacing with many crypto currency exchanges. REST and web sockets are supported.
Stars: ✭ 489 (+858.82%)
Mutual labels:  ethereum, bitcoin, cryptocurrency, poloniex, gemini, gdax
Stocklook
crypto currency library for trading & market making bots, account management, and data analysis
Stars: ✭ 119 (+133.33%)
Mutual labels:  ethereum, bitcoin, cryptocurrency, litecoin, poloniex, gdax
Crypto Exchange
Pulls together list of crypto exchanges to interact with their API's in a uniform fashion.
Stars: ✭ 241 (+372.55%)
Mutual labels:  bitcoin, poloniex, gemini, gdax, crypto
Optimal Buy Cbpro
Scheduled buying of BTC, ETH, and LTC from Coinbase Pro, optimally!
Stars: ✭ 288 (+464.71%)
Mutual labels:  ethereum, bitcoin, cryptocurrency, litecoin, gdax
Cryptocurrency Dashboard
Crypto Currency Dashboard Using Twitter 🐦 And Coinmarketcap 🚀 API
Stars: ✭ 54 (+5.88%)
Mutual labels:  ethereum, bitcoin, cryptocurrency, litecoin, crypto
Multicurrencywallet
Bitcoin, Ethereum, ERC20 crypto wallets with Atomic Swap exchange. Release announce: https://twitter.com/SwapOnlineTeam/status/1321844352369500160
Stars: ✭ 136 (+166.67%)
Mutual labels:  ethereum, bitcoin, cryptocurrency, litecoin, crypto
My Token
📈Track token prices of your favorite exchanges in terminal!
Stars: ✭ 141 (+176.47%)
Mutual labels:  ethereum, bitcoin, cryptocurrency, poloniex, binance
Crypto Whale Watching App
Python Dash app that tracks whale activity in cryptocurrency markets.
Stars: ✭ 389 (+662.75%)
Mutual labels:  ethereum, bitcoin, cryptocurrency, litecoin, gdax
Crypto Signal
Github.com/CryptoSignal - #1 Quant Trading & Technical Analysis Bot - 3,100+ stars, 900+ forks
Stars: ✭ 3,690 (+7135.29%)
Mutual labels:  ethereum, bitcoin, binance, gdax, crypto
Cbpro Trader
Automated cryptocurrency trading on Coinbase Pro (formerly gdax-trader)
Stars: ✭ 171 (+235.29%)
Mutual labels:  ethereum, bitcoin, cryptocurrency, litecoin, gdax
Peatiocryptoexchange
An open-source Crypto-Currency exchange. Peatio v3.0 Coming Soon !
Stars: ✭ 141 (+176.47%)
Mutual labels:  ethereum, bitcoin, cryptocurrency, cryptocurrencies, crypto
Cryptocurrency Icons
A set of icons for all the main cryptocurrencies and altcoins, in a range of styles and sizes.
Stars: ✭ 2,116 (+4049.02%)
Mutual labels:  ethereum, bitcoin, cryptocurrency, cryptocurrencies, crypto
Go Quote
Yahoo finance/Google finance/Coinbase/Bittrex/Binance/Tiingo historical quote downloader library and cli written in golang
Stars: ✭ 198 (+288.24%)
Mutual labels:  ethereum, bitcoin, litecoin, binance, gdax
Coinpricebar
💰 Cryptocurrency prices on MacBook Touch Bar
Stars: ✭ 290 (+468.63%)
Mutual labels:  ethereum, bitcoin, litecoin, binance
Cryptocurrency Arbitrage
A cryptocurrency arbitrage opportunity calculator. Over 800 currencies and 50 markets.
Stars: ✭ 836 (+1539.22%)
Mutual labels:  ethereum, bitcoin, cryptocurrency, litecoin
tumbleweed gdax
Prototype market maker specialized to trade on CoinbasePro
Stars: ✭ 41 (-19.61%)
Mutual labels:  crypto, cryptocurrencies, gdax, litecoin

Cryptex - iOS SDK for crypto currencies in Swift 4

Swift 4.2 CocoaPods GitHub release Github Commits Since last release badge-mit badge-platforms badge-pms

Cryptex, a single Swift 4 library and an iOS app to watch prices and check realtime account balances across multiple cryptocurrency exchanges. Trading features are coming soon.

Sample App UI

Requirements

  • iOS 9.0+ | macOS 10.10+ | tvOS 9.0+ | watchOS 2.0+
  • Xcode 8.3+

Integration

CocoaPods (iOS 9+, OS X 10.9+)

To install all exchanges

pod 'Cryptex', '~> 0.0.6'

To install only one exchange

pod 'Cryptex/Gemini', '~> 0.0.6'

To install two or more exchanges

pod 'Cryptex', '~> 0.0.6', :subspecs => ['Gemini', 'GDAX', "Poloniex"]

Carthage (iOS 8+, OS X 10.9+)

github "trsathya/Cryptex" ~> 0.0.6

Swift Package Manager

dependencies: [
    .Package(url: "https://github.com/trsathya/Cryptex", from: "0.0.6"),
]

Usage

Initialization

import Cryptex
Fetch coinmarketcap.com global data
let coinMarketCapService = CoinMarketCap.Service(key: nil, secret: nil, session: URLSession.shared, userPreference: .USD_BTC, currencyOverrides: nil)
coinMarketCapService.getGlobal { (_) in
    if let data = coinMarketCapService.store.globalMarketDataResponse.globalData {
        print(data)
    }
}
Console logs
GET https://api.coinmarketcap.com/v1/global
200 https://api.coinmarketcap.com/v1/global/
Response Data: {
    "total_market_cap_usd": 585234214361.0,
    "total_24h_volume_usd": 22202189284.0,
    "bitcoin_percentage_of_market_cap": 34.15,
    "active_currencies": 896,
    "active_assets": 567,
    "active_markets": 8187,
    "last_updated": 1517118863
}
Optional(Cryptex.CoinMarketCap.GlobalMarketData(marketCap: 585234214361, volume24Hrs: 22202189284, bitcoinDominance: 34.15, activeCurrencies: 896, activeAssets: 567, activeMarkets: 8187, lastUpdated: 1517118863))

Or

Fetch Gemini public ticker data
let geminiService = Gemini.Service(key: nil, secret: nil, session: URLSession.shared, userPreference: .USD_BTC, currencyOverrides: nil)
geminiService.getTickers { (_) in
    print(geminiService.store.tickerByName)
}
Console logs
GET https://api.gemini.com/v1/symbols
200 https://api.gemini.com/v1/symbols
GET https://api.gemini.com/v1/pubticker/BTCUSD
GET https://api.gemini.com/v1/pubticker/ETHBTC
GET https://api.gemini.com/v1/pubticker/ETHUSD
200 https://api.gemini.com/v1/pubticker/ETHBTC
200 https://api.gemini.com/v1/pubticker/ETHUSD
200 https://api.gemini.com/v1/pubticker/BTCUSD
[
BTCUSD : 11721 USD,
ETHBTC : 0.0977 BTC,
ETHUSD : 1148.99 USD]

Or

Fetch Gemini private account balance data
let geminiService = Gemini.Service(key: <Your gemini account api key>, secret: <Your gemini account api secret>, session: URLSession.shared, userPreference: .USD_BTC, currencyOverrides: nil)
geminiService.getBalances { (_) in
    for balance in self.gemini.store.balances {
        print("\(balance) \(self.gemini.store.balanceInPreferredCurrency(balance: balance).usdFormatted ?? "")")
    }
}
Console logs
GET https://api.gemini.com/v1/symbols
200 https://api.gemini.com/v1/symbols
GET https://api.gemini.com/v1/pubticker/BTCUSD
GET https://api.gemini.com/v1/pubticker/ETHBTC
GET https://api.gemini.com/v1/pubticker/ETHUSD
200 https://api.gemini.com/v1/pubticker/BTCUSD
200 https://api.gemini.com/v1/pubticker/ETHUSD
200 https://api.gemini.com/v1/pubticker/ETHBTC
POST https://api.gemini.com/v1/balances
200 https://api.gemini.com/v1/balances

BTC: 0.29182653 $3,420.49
USD: 26.96 $26.96
ETH: 0.00000017 $0.00

Note: While creating Binance service, pass a currency override array to resolve a currency code difference. This is because Binance chose to use the code BCC for BitcoinCash instead of BCH.

let currencyOverrides = ["BCC": Currency(name: "Bitcoin Cash", code: "BCC")]
let binanceService = Binance.Service(key: key, secret: secret, session: session, userPreference: .USDT_BTC, currencyOverrides: currencyOverrides)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].