Create rule not executing


  • Hi @ajaysan91 we have reported this to team from another thread we will update you team is working on this.


  • @admin Still it didn't work -
    {
    status: 'ACTIVE',
    createddate: '2021-06-04T09:02:42.863121Z',
    updateddate: '2021-06-04T09:02:43Z',
    expirydate: '2021-07-04T09:02:42.863121Z',
    clientid: 'xxxxxxx',
    tradingsymbol: 'EXIDEIND-EQ',
    symboltoken: '676',
    exchange: 'NSE',
    producttype: 'DELIVERY',
    transactiontype: 'BUY',
    price: 193.2,
    qty: 1,
    triggerprice: 193.25,
    disclosedqty: 1
    }
    }
    Exide did reach the triggerprice and it never got executed. Any idea?


  • @admin OKay, I will try tomorrow morning and will let you know. Thanks :)


  • Hi @ajaysan91 You can try now As the service was impacted temporarily As team were doing some changes.


  • @admin Sure, Thanks!


  • Hi @ajaysan91 we will get back to you after coordinating with our team.


  • @admin
    Sorry, i didn't understand your last response.
    i just created a rule for Exide -
    { status: true, message: 'Success', errorcode: '', data: { id: 381 } }
    {
    status: 'NEW',
    createddate: '2021-06-02T09:24:03.16765Z',
    updateddate: '2021-06-02T09:24:03.16765Z',
    expirydate: '2021-07-02T09:24:03.16765Z',
    clientid: 'A196910',
    tradingsymbol: 'EXIDEIND-EQ',
    symboltoken: '676',
    exchange: 'NSE',
    producttype: 'DELIVERY',
    transactiontype: 'BUY',
    price: 193.1,
    qty: 1,
    triggerprice: 193.2,
    disclosedqty: 1,
    id: 381
    }

    i see that exide did reach 193.2 but still it didn't execute.


  • Hi @ajaysan91 said in Create rule not executing:

    I am unable to find the reason and i doubt if i misunderstood the functionality of GTT Create rule.
    My expectation was that once the rule is created and the price reach the Target price we have set, it will get executed and gets ordered but nothing happened as far as i see and i had to cancel the rule.
    Kindly send us your client id to check your logs Also we will update you after testing it from our end.


  • @admin thanks for your quick response.
    I did refer the example provided in documentation.
    My question here is that - the rule gets executed if it reach the triggerprice?
    if so, do you see any issue in my rules? because as far as i see it looked fine and it should have executed. But it didn't.


  • Hi @ajaysan91 kindly refer below example:
    Request

    {
    "tradingsymbol" : "SBIN-EQ",
    "symboltoken" : "3045",
    "exchange" : "NSE",
    "producttype" : "MARGIN",
    "transactiontype" : "BUY",
    "price" : 1,
    "qty" : 10,
    "disclosedqty": 10,
    "triggerprice" : 2,
    "timeperiod" : 365
    }

    Response

    {
    "status": true,
    "message": "Success",
    "errorcode": "",
    "data": {
    "id": 317
    }
    }