QuoteMedia has implemented a parameter that is supported globally in QMod components which will restrict a tool from providing a Real-Time snap quote and escape snap quote fees associated with providing a Real-Time quote within website tools. This is particularly helpful when a user session (SID) is required for user identity information to show the user portfolio, watchlist, or alerts yet the Client does not want to provide end users with a real-time snap quote for all of the symbols in their portfolio (as one example).
For this, clients will need to create a user session (SID) and pass the value generated into the following parameter in the QMod loader:
data-qmod-sid=""Example:
<script id="qmod" type="application/javascript" src="//qmod.quotemedia.com/js/qmodLoader.js" data-qmod-wmid="[insert wmid]" data-qmod-sid="[insert sid]"></script>
In order to limit the entitlement level to avoid real-time snap quote fees, the entmax parameter (accepted values are DL or EOD) should be passed on the tool level, for every tool that the client wants to have this apply to.
Example:
<div data-qmod-tool="[insert qmod tool name]" data-qmod-params='{"entmax":"DL"}' class="qtool"></div>When this is evident in the tool code, QuoteMedia servers will return the matching level of data as the maximum data entitlement.
Real-Time snap quotes can be costly and it is important that there be thorough consideration of the costs associated with providing such a service. Please use your discretion when implementing these services to ensure your implementation follows our best practice when implementing multiple tools on one page as well. Here you would place all of the tool divs on the page where you want the tools to show and then inject a single instance of the qmod loader.
Note: The QMod level2marketdepth module requires that real-time data be entitled to the user. It incurs two (2) snap quote queries each time the tool is loaded. One for the Level 2 bid/ask data and one for the last price, best bid/ask summary at the top.