everything breaks when using multiple markets, since streamprices only tracks one market and portfolio tracks multiple markets
solutions are:
-> having mutiple streaming objects for each market
-> saving the current bid/ask for each market in an associative array in streamobject
everything breaks when using multiple markets, since streamprices only tracks one market and portfolio tracks multiple markets solutions are: -> having mutiple streaming objects for each market -> saving the current bid/ask for each market in an associative array in streamobject