Skip to content

A repo to execute Gemini Exchange trades at lower fees than their Web App.

License

Notifications You must be signed in to change notification settings

mucolon/gemini-interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gemini-interface

A repo to execute Gemini Exchange trades at lower fees than their Web App.

How to make this repo work for you

  1. Create a config.py file with this format

    keys = {
       "real": {
          "pub_key": "account-xxxxxxxxxxxxxxxxxxxx",
          "priv_key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
       },
       "sandbox": {
          "pub_key": "account-xxxxxxxxxxxxxxxxxxxx",
          "priv_key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
       },
    }

    Create your Gemini API key here https://exchange.gemini.com/settings/api Create your Gemini Sandbox API key here, if you want to test it out first https://exchange.sandbox.gemini.com/settings/api

  2. Add missing pairs to trade on cryptos.csv

    • Price_round: The amount of significant figures after the decimal point for any given pair's price.
    • Qty_round: The amount of significant figures after the decimal point for any given pair's quantity.
  3. Read api.py script. Most importantly read after if __name__ == '__main__': for a brief explanation how to execute orders.

  4. Never share your API Keys or config.py as anyone with your keys can control your account. I would recommend making sure config.py is in your .gitignore file.

Dependencies

Run this command to download all required python dependencies.

python3 -m pip install pandas, math, sys, gemini_python

About

A repo to execute Gemini Exchange trades at lower fees than their Web App.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages