🔗Embed a Quantsapp Module

You can use the following method to embed a Quantsapp module in your application and specify module parameters. Note that the instructions below demonstrate how to embed a module. The following section explains how to configure your module to load a specific instrument or change the theme of the module.

Embed a module using an <iframe> tag

Define an <iframe> tag in your application in which the src URL specifies the module that the you will load as well as any other module parameters you want to set. The <iframe> tag's height and width parameters specify the dimensions of the module.

You can append module parameters directly to the end of the URL. The URL has the following format:

https://iframe.quantsapp.com/option-chain/BANKNIFTY

The <iframe> tag below would load a 640x550px window that would open the quantsapp option-chain module. Since the URL has only userEmail, quantsapp will check for the user account availability and accordingly display verification options .

<iframe id="qModule" type="text/html" width="640" height="550"
  src="https://iframe.quantsapp.com/option-chain/BANKNIFTY?userEmail=abc@gmail.com"
  frameborder="0"></iframe>

Last updated