Giter Site home page Giter Site logo

johndpope / swift-poloniex-portfolio Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chrispix/swift-poloniex-portfolio

0.0 2.0 0.0 46 KB

Command-line executable to load a portfolio of cryptocoins from Poloniex

License: MIT License

Ruby 1.86% Swift 31.20% C 66.91% Objective-C 0.03%

swift-poloniex-portfolio's Introduction

swift-poloniex-portfolio

Command-line executable to load a portfolio of cryptocoins from Poloniex

This executable uses the Poloniex API to load your portfolio and open orders, and report the total value in BTC and USD. It can be used with an app like Bitbar to make it easy to quickly check on your portfolio.

Requirements

You must have the Xcode command-line tools and Swift 3 installed.

xcode-select --install

The executable also uses your Poloniex API keys to load data from your account. Be careful with those keys, as they can be used to make trades and transfers from your account. Put the key and secret in a json file in this format:

{
    "API_KEY": "xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx",
    "API_SECRET": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx..."
}

Building

swift build

Running

.build/debug/poloniex-portfolio <path to keys file>

swift-poloniex-portfolio's People

Contributors

chrispix avatar thuss avatar twobitlabs avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.