Unable to get live quote and unable to place order

mayura
kite.quote('NSE','NIFTY BANK') just giving {}
kite.quote(['NSE:NIFTY']) just giving {}
kite.quote('NSE:256265') just giving {}
kite.ltp(['NSE:NIFTY']) just giving {}
kite connect version is 3.7.7

error while placing order
kite.place_order(tradingsymbol="NIFTY1941812500CE",quantity=2*75,exchange="NFO",order_type="MARKET",transaction_type="SELL",product="NRML")

ERROR:place_order() takes at least 8 arguments (7 given)
  • rakeshr
    @mayura
    kite.place_order(tradingsymbol="NIFTY1941812500CE",quantity=2*75,exchange="NFO",order_type="MARKET",transaction_type="SELL",product="NRML")
    You also need to add variety='regular'.Check all order params here.
    kite.quote('NSE','NIFTY BANK')
    kite.quote('NSE:NIFTY BANK') and kite.quote('NSE:NIFTY 50') .
  • mayura
    It is WORKING!!!!! Thanks a lot
  • sujith
    You can check out the pykiteconnect documentation here.
  • sujith
    You can check out place_order documentation here.
This discussion has been closed.