sig
val iter :
Response.Position.t ->
contract:((Response.Position.t, Raw_contract.t)
Fieldslib.Field.readonly_t ->
Response.Position.t -> Raw_contract.t -> unit) ->
size:((Response.Position.t, Volume.t) Fieldslib.Field.readonly_t ->
Response.Position.t -> Volume.t -> unit) ->
market_price:((Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
Response.Position.t -> Price.t -> unit) ->
market_value:((Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
Response.Position.t -> Price.t -> unit) ->
average_cost:((Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
Response.Position.t -> Price.t -> unit) ->
unrealized_pnl:((Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
Response.Position.t -> Price.t -> unit) ->
realized_pnl:((Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
Response.Position.t -> Price.t -> unit) ->
account_code:((Response.Position.t, Account_code.t)
Fieldslib.Field.readonly_t ->
Response.Position.t -> Account_code.t -> unit) ->
unit
val fold :
Response.Position.t ->
init:'acc__ ->
contract:('acc__ ->
(Response.Position.t, Raw_contract.t)
Fieldslib.Field.readonly_t ->
Response.Position.t -> Raw_contract.t -> 'acc__) ->
size:('acc__ ->
(Response.Position.t, Volume.t) Fieldslib.Field.readonly_t ->
Response.Position.t -> Volume.t -> 'acc__) ->
market_price:('acc__ ->
(Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
Response.Position.t -> Price.t -> 'acc__) ->
market_value:('acc__ ->
(Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
Response.Position.t -> Price.t -> 'acc__) ->
average_cost:('acc__ ->
(Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
Response.Position.t -> Price.t -> 'acc__) ->
unrealized_pnl:('acc__ ->
(Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
Response.Position.t -> Price.t -> 'acc__) ->
realized_pnl:('acc__ ->
(Response.Position.t, Price.t) Fieldslib.Field.readonly_t ->
Response.Position.t -> Price.t -> 'acc__) ->
account_code:('acc__ ->
(Response.Position.t, Account_code.t)
Fieldslib.Field.readonly_t ->
Response.Position.t -> Account_code.t -> 'acc__) ->
'acc__
end