It looks like you're new here. If you want to get involved, click one of these buttons!
def place_order(kite, variety='kite.VARIETY_AMO', exchange='kite.EXCHANGE_NFO', tradingsymbol=None, transaction_type='kite.TRANSACTION_TYPE_BUY', quantity=None, price=None, product='kite.PRODUCT_NRML', order_type='kite.ORDER_TYPE_LIMIT', tag='algo_trader'):
try:
order_id = kite.place_order(
variety=variety,
exchange=exchange,
tradingsymbol=tradingsymbol,
transaction_type=transaction_type,
quantity=quantity,
price=price,
product=product,
order_type=order_type,
tag=tag)
except Exception as e:
logging.error("Unable to place order: %s", e)
logging.info("Retrying....")
def place_order(kite, variety='amo', exchange='NFO', transaction_type='BUY', product='NRML', order_type='LIMIT', tradingsymbol=None, price=None, quantity=None, tag="algo_trade"):