rs7683

About

Username
rs7683
Joined
Visits
45
Last Active
Roles
Member

Activity

  • seshareddy
    Dear rs7683.
    You mentioned in the other post that there is a correction in the following code. Would you please post the corrected code. Thanks in advance.

    for i in range(len(kite.orders())):
    if (kite.orders()[i]["status"].find("PENDING") != -1):
    order_id = kite.orders()[-1]["order_id"]
    kite.cancel_order(kite.VARIETY_REGULAR, order_id, parent_order_id=None)
    July 27