You could, in theory, make a multi-dimensional array within PHP, and then JSON encode it and store it in a table with a structure like this:
Company|Current Stocks
The multi dimensional array could look like this:
[[price,owner],[price,owner]...]
Then just decode it in PHP whenever you need to access these values.