Module Response.Commission

module Commission: sig .. end

type t = private {
   exec_id : Execution_id.t;
   commission : Price.t;
   currency : Currency.t;
   realized_pnl : Price.t;
   yield : float;
   yield_redemption_date : int option;
}
val yield_redemption_date : t -> int option
val yield : t -> float
val realized_pnl : t -> Price.t
val currency : t -> Currency.t
val commission : t -> Price.t
val exec_id : t -> Execution_id.t
module Fields: sig .. end
include Response_intf.S
val create : exec_id:Execution_id.t ->
commission:Price.t ->
currency:Currency.t ->
realized_pnl:Price.t ->
yield:float -> yield_redemption_date:int option -> t
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t