package gemini
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
include Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
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
include Csvfields.Csv.Stringable with type t := t
val to_string : t -> string
val of_string : string -> t
val rev_csv_header_spec' :
Csvfields.Csv.Spec.t list ->
'a ->
'b ->
Csvfields.Csv.Spec.t list
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 csv_header_spec : Csvfields.Csv.Spec.t list
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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>