Suggestion:
Why don't you create one struct variable and pass that value to queue, instead of creating a n number of queue.
Example :
typedef struct _STOCKINFO
{
int boughtn ;
int soldn ;
int boughtp ;
int soldp ;
}STOCKINFO, *pSTOCKINFO;
typedef vector<stockinfo> VECSTOCKINFO;
STOCKINFO stStockInfo;
VECSTOCKINFO vecStockInfo;
stStockInfo.boughtn = 10;
stStockInfo.soldn = 10;
stStockInfo.boughtp = 10;
stStockInfo.soldp = 10;
vecStockInfo.push(stStockInfo);
</stockinfo>