Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

<!

DOCTYPE html>
<html>
<title>SSUNNEL</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway">
<style>
body,h1 {font-family: "Raleway", sans-serif}
body, html {height: 100%}
.bgimg {
background-image: url('/w3images/forestbridge.jpg');
min-height: 100%;
background-position: center;
background-size: cover;
}
</style>
<body>

<div class="bgimg w3-display-container w3-animate-opacity w3-text-white">


<div class="w3-display-topleft w3-padding-large w3-xlarge">

</div>
<div class="w3-display-middle">
<h1 class="w3-jumbo w3-animate-top">SSUNNEL-BOT</h1>
<hr class="w3-border-grey" style="margin:auto;width:40%">
<p class="w3-large w3-center">CRUDEOIL</p>
</div>
<div class="w3-display-bottomleft w3-padding-large">

</div>
</div>

<div dir="ltr" style="text-align: left;" trbidi="on">


<!-- A Kite button will be generated inside this container //-->

<br />
<div id="default-button">
</div>
<!-- The basket will be linked to this element's onClick //-->
<button id="custom-button">place the basket order</button>

<!-- Include the plugin //-->


<script src="https://kite.trade/publisher.js?v=3"></script>

<script>
// Only run your custom code once KiteConnect has fully initialised.
// Use KiteConnect.ready() to achieve this.
KiteConnect.ready(function() {
// Initialize a new Kite instance ,HERE IS YOUR API KEY.
// You can initialize multiple instances if you need.
var kite = new KiteConnect("t67801tqkxq010mu");<div dir="ltr" style="text-
align: left;" trbidi="on">
<!-- A Kite button will be generated inside this container //-->

<br />
<div id="default-button">
</div>
<!-- The basket will be linked to this element's onClick //-->
<button id="custom-button">Buy the basket</button>

<!-- Include the plugin //-->


<script src="https://kite.trade/publisher.js?v=3"></script>

<script>
// Only run your custom code once KiteConnect has fully initialised.
// Use KiteConnect.ready() to achieve this.
KiteConnect.ready(function() {
// Initialize a new Kite instance.
// You can initialize multiple instances if you need.
var kite = new KiteConnect("t67801tqkxq010mu");kite.add

({"tradingsymbol": "CRUDEOIL19OCTFUT", "exchange": "MCX",


"transaction_type":"SELL","order_type":"LIMIT","product":"MIS","price":4180,"quanti
ty":1,"variety":"CO","stoploss":4165,"squareoff":4192,"trailing_stoploss":0,"readon
ly": true});kite.add

// Register an (optional) callback.


kite.finished(function(status, request_token) {
alert("Finished. Status is " + status);
});

// Render the in-built button inside a given target


kite.renderButton("#default-button");

// OR, link the basket to any existing element you want


kite.link("#custom-button");
});
</script><br />
<div dir="ltr" style="text-align: left;" trbidi="on">
<br /></div>
</div>

</body>
</html>

You might also like