TRTH help for multiple message request types?
1 回表示 (過去 30 日間)
古いコメントを表示
Trying to request multiple message types. If I do them separately it works fine, like the following.
messtype = {'Quote'};
tradefields = {'Bid Price','Bid Size','Number of Buyers','Ask Price','Ask Size','Number of Sellers','Qualifiers'};
x2 = fetch(r,sec,tradefields,daterange,reqtype,messtype,exchange,domain);
messtype = {'Trade'};
tradefields = {'Price','Volume','Qualifiers'};
x1 = fetch(r,sec,tradefields,daterange,reqtype,messtype,exchange,domain);
I would however like to do both these requests at the same time so that my request output is nicely formatted already. I thought it might work in the following way but it doesn't.
messtype = {'Trade','Quote'};
tradefields = {'Price','Volume','Qualifiers','Bid Price','Bid Size','Number of Buyers','Ask Price','Ask Size','Number of Sellers','Qualifiers'};
x3 = fetch(r,sec,tradefields,daterange,reqtype,messtype,exchange,domain);
But it does not. How do I do this?
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Transaction Cost Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!