包详细信息

kite-publisher

cvasingh20ISC1.0.3

The Kite Publisher Javascript plugin lets you add one-click trade buttons to your webpage. It works like a basket combined with a payment gateway, where an inline popup opens on your webpage, guides the user through a trade, and lands the user back on you

kiteconnect, kite, zerodha, rainmatter

自述文件

Kite Publisher

A lightweight NPM package for integrating Kite Connect Publisher functionalities.

Installation

npm install kite-publisher
const KitePublisher = require('kite-publisher');

const publisher = new KitePublisher("your_api_key");

publisher.initialize().then(() => {
publisher.addStockToBasket({
exchange: "NSE",
tradingsymbol: "INFY",
quantity: 1,
transaction_type: "BUY",
order_type: "MARKET",
});

    publisher.renderButton('#buy-button');

});