TRTH help for multiple message request types?

1 回表示 (過去 30 日間)
Banksy
Banksy 2015 年 8 月 14 日
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 件)

カテゴリ

Help Center および File ExchangeTransaction Cost Analysis についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by