V1.Symbol
A symbol on the gemini exchange - Symbols are two currency names appended together which can be thought as "Buy the first one, Sell the second one". So `Btcusd
implies you are buying btc and sell usd, effectively exchanging your currency from usd to btc in the process.
module T : sig ... end
include module type of struct include T end
val __t_of_sexp__ :
Sexplib0.Sexp.t ->
[ `Btcusd
| `Ethusd
| `Ethbtc
| `Zecusd
| `Zecbtc
| `Zeceth
| `Zecbch
| `Zecltc
| `Ltcusd
| `Ltcbtc
| `Ltceth
| `Ltcbch
| `Bchusd
| `Bchbtc
| `Bcheth
| `Lunausd
| `Xtzusd
| `Linkusd
| `Aaveusd
| `Crvusd
| `Injusd
| `Maticusd
| `Ftmusd
| `Dogeusd
| `Cubeusd
| `Chzusd
| `Dotusd
| `Rareusd
| `Qntusd ]
val equal :
[ `Btcusd
| `Ethusd
| `Ethbtc
| `Zecusd
| `Zecbtc
| `Zeceth
| `Zecbch
| `Zecltc
| `Ltcusd
| `Ltcbtc
| `Ltceth
| `Ltcbch
| `Bchusd
| `Bchbtc
| `Bcheth
| `Lunausd
| `Xtzusd
| `Linkusd
| `Aaveusd
| `Crvusd
| `Injusd
| `Maticusd
| `Ftmusd
| `Dogeusd
| `Cubeusd
| `Chzusd
| `Dotusd
| `Rareusd
| `Qntusd ] ->
[ `Btcusd
| `Ethusd
| `Ethbtc
| `Zecusd
| `Zecbtc
| `Zeceth
| `Zecbch
| `Zecltc
| `Ltcusd
| `Ltcbtc
| `Ltceth
| `Ltcbch
| `Bchusd
| `Bchbtc
| `Bcheth
| `Lunausd
| `Xtzusd
| `Linkusd
| `Aaveusd
| `Crvusd
| `Injusd
| `Maticusd
| `Ftmusd
| `Dogeusd
| `Cubeusd
| `Chzusd
| `Dotusd
| `Rareusd
| `Qntusd ] ->
bool
val compare :
[ `Btcusd
| `Ethusd
| `Ethbtc
| `Zecusd
| `Zecbtc
| `Zeceth
| `Zecbch
| `Zecltc
| `Ltcusd
| `Ltcbtc
| `Ltceth
| `Ltcbch
| `Bchusd
| `Bchbtc
| `Bcheth
| `Lunausd
| `Xtzusd
| `Linkusd
| `Aaveusd
| `Crvusd
| `Injusd
| `Maticusd
| `Ftmusd
| `Dogeusd
| `Cubeusd
| `Chzusd
| `Dotusd
| `Rareusd
| `Qntusd ] ->
[ `Btcusd
| `Ethusd
| `Ethbtc
| `Zecusd
| `Zecbtc
| `Zeceth
| `Zecbch
| `Zecltc
| `Ltcusd
| `Ltcbtc
| `Ltceth
| `Ltcbch
| `Bchusd
| `Bchbtc
| `Bcheth
| `Lunausd
| `Xtzusd
| `Linkusd
| `Aaveusd
| `Crvusd
| `Injusd
| `Maticusd
| `Ftmusd
| `Dogeusd
| `Cubeusd
| `Chzusd
| `Dotusd
| `Rareusd
| `Qntusd ] ->
int
module Enum : sig ... end
val to_currency_pair :
[< t ] ->
Gemini__.Common.Currency.Enum_or_string.t
* Gemini__.Common.Currency.Enum_or_string.t
val to_currency :
[< t ] ->
[ `Buy | `Sell ] ->
Gemini__.Common.Currency.Enum_or_string.t
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
include Ppx_enumerate_lib.Enumerable.S with type t := t
val all : t list
module Enum_or_string : sig ... end
Wraps a string value promoting it to type Enum enum
if it is parsable as such, `String string
otherwise.
val dict : (string * t) list
val of_string_opt : string -> t option
val t_of_row' : 'a -> string list -> (unit -> t) * string list
val write_row_of_t' :
is_first:bool ->
is_last:bool ->
writer:(string -> unit) ->
'a ->
'b ->
t ->
unit
val t_of_row : string list -> t
val row_of_t : t -> string list
val csv_load : ?separator:char -> string -> t list
val csv_load_in : ?separator:char -> Core.In_channel.t -> t list
val csv_save_fn : ?separator:char -> (string -> unit) -> t list -> unit
val csv_save_out : ?separator:char -> Core.Out_channel.t -> t list -> unit
val csv_save : ?separator:char -> string -> t list -> unit