Skip to main content

# TSGemini- Shockdav A library for the Gemini bitcoin exchange API

Easily communicate with the Gemini Bitcoin exchange API without having to deal with HTTP requests.

Requirements

Please get an API key from [https://exchange.gemini.com/settings/api](https://exchange.gemini.com/settings/api)

Installation

shell pip install tsgemini

Example

python from tsgemini import TSGemini

# The connection defaults to the Gemini sandbox. # Add ‘live=True’ to use the live exchange con = Geminipy(api_key=’your API key’, secret_key=’your secret key’, live=True)

# public request symbols = con.symbols()

# a Requests response is returned. # So we can access the HTTP reponse code, # the raw response content, or a json object print symbols.status_code print symbols.content print symbols.json()

# authenticated request order = con.new_order(amount=’1’, price=’200’,side=’buy’)

print order.json()

#send a heartbeat con.heartbeat()

The required nonce is the current millisecond timestamp.

TS-Shockdav

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

monedadigitalg-4.0.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

monedadigitalg-4.0.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file monedadigitalg-4.0.0.tar.gz.

File metadata

  • Download URL: monedadigitalg-4.0.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.3

File hashes

Hashes for monedadigitalg-4.0.0.tar.gz
Algorithm Hash digest
SHA256 5c61407e12853a67d029931b9716962f3465c048313170a958f86a2d24fc2bb8
MD5 c66f002df6d3b42f829f9a6103af6122
BLAKE2b-256 cdb2573d28a1f23483ab3669313283126744d226a5298dbffc85157fc7737b4e

See more details on using hashes here.

File details

Details for the file monedadigitalg-4.0.0-py3-none-any.whl.

File metadata

  • Download URL: monedadigitalg-4.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.3

File hashes

Hashes for monedadigitalg-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 235c9ebef5a10430246ee0ee193e78a7377f7d482c67c68b6777022bc2f86a48
MD5 c47a8c26a2a1d36aa063719475b6ce25
BLAKE2b-256 66ce8c6d13e4259aed17c5ef329826a581e9ed36204d7d4dfff57767cdac372c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

4.0.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page