Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /
  • EMA /
avatar image
Question by luxiangyuan · Mar 09, 2019 at 04:19 AM · ema c++

Is there a total count limit of quote for TREP?

hello:

I develop with EMA C++。

I request for quote from HKSE, include index、stock、fund、ETF、warrant,position......and I get some error as follows:

"Item State: Closed / Suspect / Too many items / 'A20: Aggregate item limit exceeded.'"

but the count I add in the batch request array is less than "Maximum Batch"l

after I tried many times ,

I found when the total code num I request is bigger than 25270, I will get the errors,

if the total code num I request is less than 25270, bigger than 20553, I will not get the errors

20553 = 389 + 1 + 1978 + 223 + 6915 + 6915 + 4132;

the quotes I request is shown as follows:

count : 389------ GEM_HKSE_CHAIN
count : 1------ HKSE_DR_CHAIN
count : 1978------ HKSE_QUOTE_CHAIN
count : 223------ INDEX_HKSE_CHAIN
count : 1978------ HKSE_QUOTE_POSITION
count : 6915------ WARRANT_HKSE_CHAIN
count : 6915------ HKSE_WARRANT_POSITION
count : 4132------ HK_CBBC_CHAIN
count : 4132------ HK_CBBC_POSITION
count : 39------ HKSE_EFN_CHAIN
count : 40------ HKSE_FUND_CHAIN
count : 253------ ETF_HKSE_CHAIN
count : 253------ HK_FUND_POSITION"

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by jirapongse.phuriphanvichai · Mar 11, 2019 at 03:50 AM

@luxiangyuan

Yes, TREP can limit the number of subscribed items. Refer to the ADS installation guide,

  • A20: Aggregate item limit exceeded

This status is sent when the application tries to open an item but the aggregateItemLimit for the user has been reached. aggregateItemLimit is the maximum number of items which the specified user is allowed to have open simultaneously across all services. Increase this parameter value if the user needs more items.

Therefore, to get more items, you need to change the value of aggregateItemLimit configuration in ADS.

Comment

People who like this

0 Show 2 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
luxiangyuan · Mar 12, 2019 at 03:50 AM 0
Share

hello jirapongse.phuriphanvichai:

thanks for your answer.

I have another question.

If aggregateItemLimit = 10k;

if I register 1k items at 8:00 in the morning with fun "registerClient()"

then I unRegister them with fun "unregister()"

after this, can I register 10k items or only 9k items?

thank you.

avatar image
REFINITIV
jirapongse.phuriphanvichai ♦♦ luxiangyuan · Mar 12, 2019 at 04:19 AM 0
Share

After closing or unregistering all items, you can register 10k items.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
6 People are following this question.

Related Questions

how can I deserialize RefreshMsg and UpdateMsg ?

convert EMA C++ sample code into a Windows Service

I have an EMA C++ consumer appilcation which does offstream posting. I want to run multiple instances using the same machine account/password. Is this allowed?

access violation when reading from a container

Exception Type='OmmInvalidUsageException' when using fixedWidth in view Array

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges