Giter VIP home page Giter VIP logo

gdaxcli's Introduction

Xin Chào 👋


My name is Son (Sean) Pham and I'm a Vietnamese Software Engineer, working in the Bay Area since 2016. Previously I studied Computer Science at the University of Texas at Dallas.

I specialize in backend stacks, databases, data processing pipelines, validation, compliance and life cycle.

I am currently the Tech Lead for Takeout infrastructure (data portability) and regionalized batch data processing (data compliance) for Google Chat.

gdaxcli's People

Contributors

sonph avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

etemiz yg10 ddaahk

gdaxcli's Issues

Add tests

  • more unittests
  • functional tests against the sandbox
  • add continuous integration

Interactive REPL

Maybe we can separate into panes, one with the repl and one with the live data?

Add a --debug option

To print out values. This will help debugging issues. Make sure we don't log SENSITIVE information though.

Improve README

  • mention the sandbox for testing
  • create gif/asciinema demo
  • explain what each field is

gdaxcli is not installed correctly

Hi @sonph, I'm not sure if I'm installing the app correctly. This is what I'm doing.

$ python2 -m virtualenv env
$ . env/bin/activate
(env) $ python -V
Python 2.7.13
(env) $ pip -V
pip 9.0.1 ...
(env) $ pip install gdaxcli
(env) $ python -m gdaxcli
.../env/bin/python: No module named gdaxcli

Any idea on how to resolve this?

Improve usability

  • rename commands so it's easier to memorize
  • maybe add autocomplete in REPL mode
  • allow user to add aliases
  • user friendly error messages

Orders with not enough funds.

I discovered that when order size exceeds the funds on the account order is executed with max size possible. Looks like the is i GDAX API engine.
I added some code to fix this.

gdax order market buy btc-usd 5.5
Not enough funds: 60690.85 USD required, 93.5376156937
available

order market sell ltc-btc 6.8
Not enough funds: 6.8 LTC required, 3.12091758 available

Fixed code is located at https://github.com/yg10/gdaxcli

Add confirmation for ordering

  • print out order details and ask for confirmation just before sending it off
  • confirmation can be bypassed with -y or --yes

Add order cancellation

  • order id should be shown when listing orders
  • cancel with short order id (just short enough to uniquely identify an order)
  • add confirmation
  • cancel all

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.