Added a SortedDict to the orderbook to hold a cumulative quantity for each price. Changed the bids/asks to only accept the order when the player has enough to settle the order (added a property that is the marketplayer.available_currency)
Have to change the visualization of the orderbook to use the new datastructure
Been investigating more closely. This can't be merged. There's a bunch of strange stuff going on underneath which I am making some progress towards remedying locally.
Added a SortedDict to the orderbook to hold a cumulative quantity for each price. Changed the bids/asks to only accept the order when the player has enough to settle the order (added a property that is the marketplayer.available_currency)
Have to change the visualization of the orderbook to use the new datastructure