Navigation

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

    chexki

    @chexki

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

    chexki Follow

    Best posts made by chexki

    • RE: API BUG

      @rajanprabu
      Got that, I'll sure try it.
      Thank you for your valuable response.

      posted in Python SDK
      C
      chexki

    Latest posts made by chexki

    • RE: unable to place order

      @T167171
      Facing same issue, Python SDK

      posted in Python SDK
      C
      chexki
    • RE: API BUG

      @rajanprabu
      Got that, I'll sure try it.
      Thank you for your valuable response.

      posted in Python SDK
      C
      chexki
    • RE: API BUG

      @rajanprabu
      Yes, Trying to sell my holding.

      posted in Python SDK
      C
      chexki
    • RE: API BUG

      @rajanprabu said in API BUG:

      Are you using the latest SDK ?

      smartapi-python-1.3.0

      posted in Python SDK
      C
      chexki
    • API Bug in order placement

      When I try to place SELL order from API example, my order is getting placed.

      {
      "variety":"NORMAL",
      "tradingsymbol":"SBIN-EQ",
      "symboltoken":"3045",
      "transactiontype":"SELL",
      "exchange":"NSE",
      "ordertype":"MARKET",
      "producttype":"DELIVERY",
      "duration":"DAY",
      "price":"194.50",
      "squareoff":"0",
      "stoploss":"0",
      "quantity":"1"
      }

      But, when I try to put my stockname & symbol to it. it returns an error "TypeError: 'NoneType' object is not subscriptable"

      {
      "variety":"NORMAL",
      "tradingsymbol":"COALINDIA-EQ",
      "symboltoken":"20374",
      "transactiontype":"SELL",
      "exchange":"NSE",
      "ordertype":"MARKET",
      "producttype":"DELIVERY",
      "duration":"DAY",
      "price":"194.50",
      "squareoff":"0",
      "stoploss":"0",
      "quantity":"1"
      }

      This is really a frustrating problem, no proper documentation of errors is present.
      Please help & resolve it. ASAP

      posted in General Discussion
      C
      chexki
    • API BUG

      When I try to place SELL order from API example, my order is getting placed.

      {
      "variety":"NORMAL",
      "tradingsymbol":"SBIN-EQ",
      "symboltoken":"3045",
      "transactiontype":"SELL",
      "exchange":"NSE",
      "ordertype":"MARKET",
      "producttype":"DELIVERY",
      "duration":"DAY",
      "price":"194.50",
      "squareoff":"0",
      "stoploss":"0",
      "quantity":"1"
      }

      But, when I try to put my stockname & symbol to it. it returns an error "TypeError: 'NoneType' object is not subscriptable"

      {
      "variety":"NORMAL",
      "tradingsymbol":"COALINDIA-EQ",
      "symboltoken":"20374",
      "transactiontype":"SELL",
      "exchange":"NSE",
      "ordertype":"MARKET",
      "producttype":"DELIVERY",
      "duration":"DAY",
      "price":"194.50",
      "squareoff":"0",
      "stoploss":"0",
      "quantity":"1"
      }

      This is really a frustrating problem, no proper documentation of errors is present.
      Please help & resolve it. ASAP

      posted in Python SDK
      C
      chexki
    • Stoploss

      Hello,
      I want to place a limit buy order, and if gets placed I want to put a stoploss to it.
      The following format is able to place order, but Stoploss & Trigger has not been set.

      What format should I follow to do the same ?
      should I go with ROBO order in such case ?

      {"variety": "STOPLOSS",
      "tradingsymbol": "SBI-EQ",
      "symboltoken": "123",
      "transactiontype":"BUY",
      "exchange": "NSE",
      "ordertype": "STOPLOSS_LIMIT",
      "producttype": "DELIVERY",
      "duration": "DAY",
      "price": "500",
      "squareoff": "0",
      "triggerprice" : "475",
      "stoploss": "474",
      "quantity": "1"}

      posted in Python SDK
      C
      chexki