stealth-feed-umd
UMD Modules
This StealthFeed module is exported as a UMD moduleUsage
You can import our QuantGateModule's renderStealthNPM function in the following way to use it in your HTML files
HTML example
<div id="root-stealth"></div>
<script src="//path-to-umd-file/QuantGateModule.min.js"></script>
<script>
const sampleMarketData = (marketDataObj) => {
console.log(marketDataObj);
}
QuantGateModule.renderStealthNPM({
rootId: 'root-stealth',
credentials: {
UserName: "your user name",
Password: "your password",
},
brokerName: 'broker name',
symbol: 'symbol name',
getMarketData: sampleMarketData
});
</script>