package gemini

  1. Overview
  2. Docs
OCaml bindings for Gemini Trading Exchange API

Install

dune-project
 Dependency

Authors

Maintainers

Sources

gemini-0.3.0.tbz
sha256=272dee4881951e559c66dc65d524373132d592af70c5612ae6ce9845956a4b77
sha512=2f6e73ee03d688d7b6f0fd3ec97c67d9bdfee03868ec45c28acb58a7cf71f50f070020f335531c476b11354dff0393cb2d8084e28747d0d5bd8e1ce2a603f0ea

doc/gemini/Gemini/index.html

Module GeminiSource

A strongly typed gemini trading api written in pure OCaml with both websocket and rest endpoints supported.

Submodules of the V1 module are either REST operations which can be invoked via a well typed invocation of Operation.post, or they are web socket interfaces such as Market_data and Order_events. Use the client function to get a typed response pipe over the socket of these services.

All service invocations require a Cfg module which is usually provided from the command line or environment variables for api host and secret information.

Sourcemodule Auth : sig ... end
Sourcemodule Cfg : sig ... end
Sourcemodule Nonce : sig ... end
Sourcemodule Rest : sig ... end

REST api support for the Gemini trading exchange. These endpoints are used to manage orders and check balances.

Sourcemodule Result : sig ... end

Result specification when deserializing raw json into something in strongly typed ocaml.

Sourcemodule Inf_pipe : sig ... end
Sourcemodule Poly_ok : sig ... end
Sourcemodule V1 : sig ... end

Version v1 of the Gemini REST and web socket apis.