Embed
Kite Connect trade buttons on your posts/pages using WordPress shortcodes and add better user experience for your end users, be it readers of your financial blog or consumers of your market analysis. A trading experience unlike anything for them, and prospects of added revenue for you.
Usage
- You can embed shortcode through WordPress visual editor. Look for the Kite logo in your editor buttons.
- Manually embed short code.
Examples
Branded Kite button
[kite type="branded" exchange="NSE" transaction_type="BUY" tradingsymbol="INFY" quantity="1" order_type="MARKET" product="MIS" variety="regular" validity="DAY"][/kite]
Custom button
[kite type="button" exchange="NSE" transaction_type="BUY" tradingsymbol="INFY" quantity="5" order_type="LIMIT" product="MIS" price="200" variety="regular" validity="DAY"]BUY NSE @ 200[/kite]
Anchor tag
[kite type="link" exchange="NSE" transaction_type="BUY" tradingsymbol="INFY" quantity="1" order_type="MARKET" product="MIS" variety="regular" validity="DAY"]BUY INFY [/kite]
Available attributes
exchange
- Name of the exchange (default: NSE
).
tradingsymbol
- Tradingsymbol of the instrument (default: INFY
).
transaction_type
- BUY or SELL (default: BUY
).
price
- For LIMIT and SL orders.
trigger_price
- For SL, SL-M orders.
quantity
- Quantity to transact (default: 1
).
order_type
- Order type (MARKET, LIMIT, SL, SL-M) (default: MARKET
)
variety
- Order variety (regular or amo) (default: regular
)
product
- Order product (MIS, CNC, NRML) (default: MIS
)
validity
- Order validity (DAY or IOC) (default: DAY
)
readonly
- set order as editable or not. (default: false
)
api_key
- Custom Kite publisher api key. You can signup here to ger your own api_key
.
tag
- Order tag (maxium 8 alphanumeric characters) (default: WP
)
1.0
Initial release.
1.0.1
Updated readme file.