void function ( MarketPosition arg0 ) { broker . getBroker ( ) . addMarketPosition ( arg0 , arg0 . getTimeslotIndex ( ) ) ; }
receives a marketposition message , representing our commitments on the wholesale market concode_field_sep BrokerPropertiesService propertiesService concode_elem_sep double[] marketPrice concode_elem_sep double buyLimitPriceMax concode_elem_sep double meanMarketPrice concode_elem_sep double buyLimitPriceMin concode_elem_sep Logger log concode_elem_sep HashMap<Integer,Order> lastOrder concode_elem_sep BrokerContext broker concode_elem_sep double sellLimitPriceMax concode_elem_sep double sellLimitPriceMin concode_elem_sep TimeslotRepo timeslotRepo concode_elem_sep Random randomGen concode_elem_sep double[] marketMWh concode_elem_sep double minMWh concode_elem_sep PortfolioManager portfolioManager concode_field_sep double getMeanMarketPrice concode_elem_sep void activate concode_elem_sep void submitOrder concode_elem_sep Double computeLimitPrice concode_elem_sep void initialize