Algostream_common_config.Exchange_configPer-exchange ingestion configuration.
Pure data + a JSON loader. Read from a config file at startup or built programmatically.
type t = {name : string;endpoints : string list;symbols : string list;retry : retry_policy;rate_limit_per_sec : int;pong_reserve_per_sec : int;}val default_retry : retry_policyval binance_default : symbols:string list -> tval coinbase_default : symbols:string list -> tval of_yojson : Yojson.Safe.t -> (t, string) Stdlib.resultParse a single-exchange JSON object.
val load_file : string -> (t list, string) Stdlib.resultLoad a JSON config file. Top-level shape is either a single exchange object or an array of them.