Module Response.Position.Fields

module Fields: sig .. end

val names : string list
val account_code : (Response.Position.t, Account_code.t) Fieldslib.Field.readonly_t
val realized_pnl : (Response.Position.t, Price.t) Fieldslib.Field.readonly_t
val unrealized_pnl : (Response.Position.t, Price.t) Fieldslib.Field.readonly_t
val average_cost : (Response.Position.t, Price.t) Fieldslib.Field.readonly_t
val market_value : (Response.Position.t, Price.t) Fieldslib.Field.readonly_t
val market_price : (Response.Position.t, Price.t) Fieldslib.Field.readonly_t
val size : (Response.Position.t, Volume.t) Fieldslib.Field.readonly_t
val contract : (Response.Position.t, Raw_contract.t) Fieldslib.Field.readonly_t
val fold : init:'acc__ ->
contract:('acc__ ->
(Response.Position.t, Raw_contract.t) Fieldslib.Field.readonly_t ->
'acc__) ->
size:('acc__ ->
(Response.Position.t, Volume.t) Fieldslib.Field.readonly_t -> 'acc__) ->
market_price:('acc__ ->
(Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
'acc__) ->
market_value:('acc__ ->
(Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
'acc__) ->
average_cost:('acc__ ->
(Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
'acc__) ->
unrealized_pnl:('acc__ ->
(Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
'acc__) ->
realized_pnl:('acc__ ->
(Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
'acc__) ->
account_code:('acc__ ->
(Response.Position.t, Account_code.t)
Fieldslib.Field.readonly_t -> 'acc__) ->
'acc__
val iter : contract:((Response.Position.t, Raw_contract.t) Fieldslib.Field.readonly_t ->
unit) ->
size:((Response.Position.t, Volume.t) Fieldslib.Field.readonly_t -> unit) ->
market_price:((Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
unit) ->
market_value:((Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
unit) ->
average_cost:((Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
unit) ->
unrealized_pnl:((Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
unit) ->
realized_pnl:((Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
unit) ->
account_code:((Response.Position.t, Account_code.t)
Fieldslib.Field.readonly_t -> unit) ->
unit
val for_all : contract:((Response.Position.t, Raw_contract.t) Fieldslib.Field.readonly_t ->
bool) ->
size:((Response.Position.t, Volume.t) Fieldslib.Field.readonly_t -> bool) ->
market_price:((Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
bool) ->
market_value:((Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
bool) ->
average_cost:((Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
bool) ->
unrealized_pnl:((Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
bool) ->
realized_pnl:((Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
bool) ->
account_code:((Response.Position.t, Account_code.t)
Fieldslib.Field.readonly_t -> bool) ->
bool
val exists : contract:((Response.Position.t, Raw_contract.t) Fieldslib.Field.readonly_t ->
bool) ->
size:((Response.Position.t, Volume.t) Fieldslib.Field.readonly_t -> bool) ->
market_price:((Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
bool) ->
market_value:((Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
bool) ->
average_cost:((Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
bool) ->
unrealized_pnl:((Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
bool) ->
realized_pnl:((Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
bool) ->
account_code:((Response.Position.t, Account_code.t)
Fieldslib.Field.readonly_t -> bool) ->
bool
val to_list : contract:((Response.Position.t, Raw_contract.t) Fieldslib.Field.readonly_t ->
'elem__) ->
size:((Response.Position.t, Volume.t) Fieldslib.Field.readonly_t -> 'elem__) ->
market_price:((Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
'elem__) ->
market_value:((Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
'elem__) ->
average_cost:((Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
'elem__) ->
unrealized_pnl:((Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
'elem__) ->
realized_pnl:((Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
'elem__) ->
account_code:((Response.Position.t, Account_code.t)
Fieldslib.Field.readonly_t -> 'elem__) ->
'elem__ list
val map_poly : ([< `Read ], Response.Position.t, 'x0) Fieldslib.Field.user -> 'x0 list
module Direct: sig .. end