1.0.0 • Published 2 years ago

@quantgate-systems/stealthfeed v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

stealth-feed-umd

This StealthFeed module is exported as a UMD module UMD Modules

Usage

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>