Git Product home page Git Product logo

gemini's Introduction

Gemini API Console App

For use with:

Quick Start

  1. Create a test account on: https://exchange.sandbox.gemini.com/.

  2. Create an API Key with Primary scope and Trading permissions.

  3. Install Docker Desktop for Mac.

  4. Run the app and login with the API Key you created in step #2.

docker run -it --rm prasek/gemini:v1.2.0

Local

To get started on OSX:

 brew install python
 pip3 install virtualenv
 make

To run after initial install:

make run

Sandbox Exchange for Testing

Before trading live, you can get used to the app with the Gemini sandbox exchange by creating a test account here: https://exchange.sandbox.gemini.com/

To set a default sandbox API account-key and secret-key, create a ./config/sandbox.yaml:

# sandbox API test key for use with https://exchange.sandbox.gemini.com
api_key: "your-account-key"
secret_key: "your-secret-key"

Live Exchange

Normally you'd manually enter your live exchange credentials each time you use the console app.

If you have a secure system you can setup default live credentials in ./config/live.yaml which must have a 600 file permission to be read by the app.

It's recommended to use an API token with restricted perimssions, e.g. Auditor.

To set a default live API account-key and secret-key, create a ./live.yaml:

# live API test key for use with https://exchange.gemini.com
api_key: "your-account-key"
secret_key: "your-secret-key"

Then set the required 600 permission:

chmod 600 live.yaml

Config Options

You can customize config options with the set opt command or in ./config/config.yaml:

reserve_api_fees: none
maker_or_cancel: on
debug: on

Passing Config Options with Docker

docker run -it --rm -v "$(pwd)/config":/app/config prasek/gemini:v1.2.0

gemini's People

Contributors

prasek 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.