Need some details about Upstox API



  • Hello,
    Currently, I'm Using Upstox web Pro.
    I want to know some details about Upstox API.

    1. What is the main purpose of Upstox API?
    2. Can I buy and sell orders automatically?
    3. Can I use this for Options (Put and Call) Trading?
    4. Can I write python code to place multiple orders?
    5. Can use Logical code to buy or sell orders?

    Can please reply to these questions.

    Thanks and Regards,
    JS Reddy.



  • @jsreddy79
    What is the main purpose of Upstox API?
    Upstox API is a set of rest APIs that provide data required to build a complete investment and trading platform. For example: you can execute orders in real time, manage user portfolio, stream live market data (using Websocket), and more, with the easy to understand API collection.

    Can I write python code to place multiple orders?
    That would be similar to sending multiple rest calls. So yes it is possible

    Can use Logical code to buy or sell orders?
    Yes you can process the received data at your end and write conditional code to send rest call for placing order

    @kunal or @RenukaMisal can help you with Question 2 and 3


  • Global Moderator

    @jsreddy79 said in Need some details about Upstox API:
    Can I buy and sell orders automatically?

    Fully automatic trading is not allowed by exchange.

    Can I write python code to place multiple orders?

    Yes, you can.
    Use our Python library for this. It provides an easy to use wrapper over the HTTPs APIs.
    The HTTP calls have been converted to methods and JSON responses are wrapped into Python-compatible objects.
    Websocket connections are handled automatically with the library.
    The library is available here - https://github.com/upstox/upstox-python

    Can I use this for Options (Put and Call) Trading?

    Yes, you can.



  • @surya Thank you so much for your kind support.



  • @kunal Thank you, This helped me a lot.


Log in to reply
 

Looks like your connection to Upstox Forum was lost, please wait while we try to reconnect.