Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. nehasrivastava
    N
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    nehasrivastava

    @nehasrivastava

    1
    Reputation
    10
    Posts
    4
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    nehasrivastava Follow

    Best posts made by nehasrivastava

    This user hasn't posted anything yet.

    Latest posts made by nehasrivastava

    • TOTP not getting asked at login

      Hi, I used the SmartAPI in the year 2020 created some strategies and it used to work fine then (before TOTP came in). After long, i was trying to write new strategies but i am not getting asked for TOTP at login "trade.angelone.in' after adding QR code to google authenticator app. everytime i am being asked OTP and sms only and not totp. Can anyone please help with the issue ? Thanks

      posted in General Discussion
      N
      nehasrivastava
    • RE: Fetching Technical Indicators data

      Thanks @rajanprabu for the information !!

      posted in General Discussion
      N
      nehasrivastava
    • RE: Fetching Technical Indicators data

      Thanks @rjbanna for the reply. Calculating indicator values would pose additional challenge in that case. Also historical API is under development.

      posted in General Discussion
      N
      nehasrivastava
    • Fetching Technical Indicators data

      Hi @Admin, do we have an API/mechanism to get values like RSI, MACD,EMA etc ? Thanks

      posted in General Discussion
      N
      nehasrivastava
    • RE: Option sell with stop loss price API

      Thanks @prateekjjw001 for sharing the details. I think, ROBO order placement is required (which is under development as per post in forum) as with the above available options i had tried, either option is getting sold at market price with no SL or an order goes into pending state waiting for the price to match up.

      posted in General Discussion
      N
      nehasrivastava
    • RE: How to place the Robo (BO) Order

      Hi @admin , can you please provide a tentative date for it's implementation ? thanks.

      posted in General Discussion
      N
      nehasrivastava
    • RE: Option sell with stop loss price API

      Thanks @prateekjjw001 for the reply. are you referring to price field or triggerprice value to set? I had a look at the code and only price field is defined. Does API support triggerprice as well if I include in the request? Thanks

      posted in General Discussion
      N
      nehasrivastava
    • RE: Option sell with stop loss price API

      Hi @Admin, i am able to place the order with the below parameters but stop loss field is not getting reflected in the order. Only a sell order gets executed, I want a pending order with SL values and trigger price.Also there is no trigger field defined in the Order parameters, kindly help. thanks

      String sPriceString=String.valueOf(sPrice);
      OrderParams orderParams = new OrderParams();
      orderParams.variety = "NORMAL";
      orderParams.quantity = 25;
      orderParams.symboltoken = symbolToken;
      orderParams.exchange = Constants.EXCHANGE_NFO;
      orderParams.ordertype = Constants.ORDER_TYPE_MARKET;
      orderParams.tradingsymbol = tradingSymbol;
      orderParams.producttype = Constants.PRODUCT_INTRADAY; ;
      orderParams.duration = Constants.VALIDITY_DAY;
      orderParams.transactiontype = Constants.TRANSACTION_TYPE_SELL;
      orderParams.price = Double.valueOf(0);
      orderParams.squareoff = "0";
      orderParams.stoploss = "5.1";

      posted in General Discussion
      N
      nehasrivastava
    • Option sell with stop loss price API

      Hi, Can anyone please help me with placing option sell order through API ?

      I am assuming, i need to give variety as "STOPLOSS" and give the stoploss price while placing the order. Do i need to enter anything in price or square off fields as well ? I want to sell the option at market price and put SL value, Would i be required to place an order at market price and then place an order for SL ? thanks

      	String sPriceString=String.valueOf(sPrice);
      	OrderParams orderParams = new OrderParams();
      	orderParams.variety = "STOPLOSS";
      	orderParams.quantity = 1;
      	orderParams.symboltoken = symbolToken;
      	orderParams.exchange = Constants.EXCHANGE_NFO;
      	orderParams.ordertype = Constants.ORDER_TYPE_SL;
      	orderParams.tradingsymbol = tradingSymbol;
      	orderParams.producttype = Constants.PRODUCT_INTRADAY;		;
      	orderParams.duration = Constants.VALIDITY_DAY;
      	orderParams.transactiontype = Constants.TRANSACTION_TYPE_SELL;
      	orderParams.price = null;
      	orderParams.squareoff = null;
      	orderParams.stoploss = sPriceString;
      
      posted in General Discussion
      N
      nehasrivastava
    • RE: "YOUR USER ID OR PASSWORD IS INVALID","errorcode":"AB1007"

      Hi @admin , kindly migrate N140208 to the new system

      posted in General Discussion
      N
      nehasrivastava