Informations
Jump to content

Lorem Ipsum...

Click to Dismiss this Notification
Ładowanie danych...

A Quick Start Guide For Trading On The Gemini Exchange


100%

Recommended Posts

  • Administrator

Quick Start Guide

Installation Steps

  1. Download and Set Up
This is the hidden content, please
  1. Obtain Your API Key & Secret

Visit

This is the hidden content, please
to generate your API key and secret.

This is the hidden content, please
  1. Begin Trading!
This is the hidden content, please

(Optionally) Execute the sample bot

This is the hidden content, please

Configuration Files

This is the hidden content, please

API Documentation

This is the hidden content, please

Data Types

Currencies:

  • symbols.USD: U.S. Dollar USD(1.25)
  • symbols.BTC: Bitcoin BTC(0.000001)
  • symbols.ETH: Ethereum ETH(0.0001)

All currency symbols are derived from the base type symbols.Currency.

Order Object: All API functions interacting with order data, such as new_order or order_status, return a raw JSON dictionary from Gemini in the following format. You can convert this into a type-checked Python object using Order(order_json).

 
This is the hidden content, please

REST API Functions

You can find the documentation for the Gemini REST API functions here:

This is the hidden content, please

  • Fetch Ticker Information:
This is the hidden content, please
  • Create a New Order:
This is the hidden content, please
  • Check Order Status:
This is the hidden content, please

WebSocket API Functions

Documentation for the Gemini WebSocket API functions can be found here:

This is the hidden content, please

  • Live Order Events:
This is the hidden content, please

Example Bot

example.py is a straightforward bot that randomly initiates some initial purchases and sells as soon as it achieves a specified profit percentage.

This bot might be profitable if the market is on the rise, but this strategy typically isn't effective for making significant money. The code serves as a foundational example to build more advanced trading bots.

This type of conservative bot will generate modest profits since it doesn't wait for substantial upward trends but instead sells immediately upon seeing gains. Moreover, scenarios where it starts off underperforming often diminish the overall profit.

Future Plans

  • Develop a meta-trader that launches multiple traders with adjusted parameters to identify the most profitable combinations.
  • Integrate GDAX/Coinbase Exchange API bindings.
  • Add Bitfinex Exchange API bindings.

Developer Information

This library has been created using Python 3.6 and utilizes MyPy for type checking.

To check MyPy types, run:

This is the hidden content, please

Disclaimer

I am not liable for any financial losses incurred from using this code. The code is licensed under MIT.


Feel free to adjust any parts further if needed!

 

This is the hidden content, please

This is the hidden content, please

This is the hidden content, please

This is the hidden content, please

This is the hidden content, please

Spoiler

Author - Nick Sweeting pirate

 

Link to comment
Share on other sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

spacer.png

Disable AdBlock
The popup will be closed in 5 seconds...