Navigation

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

    Deepakc8051

    @Deepakc8051

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

    Deepakc8051 Follow

    Best posts made by Deepakc8051

    This user hasn't posted anything yet.

    Latest posts made by Deepakc8051

    • RE: TrailingStoploss in ROBO Order

      Check this:
      def PlaceRoboOrder(self, TradingSymbol, Token, BuySell, Exchange, Quantity, Price, stoploss,squareoff):
      try:
      orderparams = {
      "variety": "ROBO",
      "tradingsymbol": TradingSymbol, #"SBIN-EQ",
      "symboltoken": Token, #"3045",
      "transactiontype": BuySell, #"BUY",
      "exchange": Exchange, #"NSE",
      "ordertype": "LIMIT", #"LIMIT",Limit_Market
      "producttype": "BO",
      "duration": "DAY",
      "price": Price, #"19500",
      "squareoff": squareoff,
      "stoploss": stoploss-1, #"0",
      "quantity": Quantity, #"1"
      "triggerprice" : stoploss, #Price-stoploss
      "trailingstoploss": 5
      }
      smartApi.placeOrder(orderparams)

      posted in Python SDK
      D
      Deepakc8051