Basket orders via KiteConnectjs (Node.js)

arsh_makker
hi ,

I am interested in putting up basket orders via kiteconnectjs. Is it possible as of yet, cause I couldnt find any documentation on it related to kiteconnectjs?
(am using nodejs server, so I will make these orders from the nodejs server (not the client browser)).

Regards
Arsh
  • sujith
    Hi @arsh_makker,
    You can make your basket and place any number of orders using kiteconnectjs, just make sure you don't hit API rate limit. It is 3 requests per second. Check out kiteconnectjs documentation here and Kite Connect API documentation here.
  • arsh_makker
    hi @sujith

    So you mean, create send an array of orders like :
    [{
    "tradingsymbol": "INFY",
    "exchange": "NSE",
    "transaction_type": "BUY",
    "order_type": "MARKET",
    "quantity": 10
    }, {
    "tradingsymbol": "NIFTY15DECFUT",
    "exchange": "NFO",
    "transaction_type": "SELL",
    "order_type": "LIMIT",
    "price": 7845,
    "quantity": 1
    }]
    to either kiteconnectjs or kiteapi..

    Please do confirm the array/JSON strucutre above.
    Regards
    Arsh
  • sujith
    Hi @arsh_makker,
    kiteconnectjs is an official Kite Connect API client for javascript. orderplace method will not take array, you need to call orderplace in a for loop.
  • arsh_makker
    ok @sujith

    Thanks.. understood.. will check and revert
Sign In or Register to comment.