Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    How to post order and fetch historical date using Curl php

    General Discussion
    curl php
    3
    6
    93
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      Ved last edited by

      Please provide how to post order and fetch historical data using data ?
      I want fetch market data (current price and last price) and post buy/sell order using curl php with rest api.
      Please provide documentation for this.

      A M 2 Replies Last reply Reply Quote 0
      • A
        admin @Ved last edited by

        Hi @aksharmty , Curl php SDK and historical data will be made available is part of our Phase 2 development.

        1 Reply Last reply Reply Quote 0
        • M
          MyAgent @Ved last edited by

          @aksharmty This is quite old so just confirming, If you are still stuck with this, let me know. I have implemented similar functionality in PHP and might be able to help you in this.

          V 1 Reply Last reply Reply Quote 0
          • V
            Ved @MyAgent last edited by

            @jax248
            Yes , I want make my bot in php. How can help me?

            M 1 Reply Last reply Reply Quote 0
            • M
              MyAgent @Ved last edited by MyAgent

              @aksharmty I am using direct HTTP calls to API using Curl and managing response in my classes. To place different orders, I am creating json data and sending it along with proper authorization headers. Fetching data and other profile details using this only. Code part is very detailed, so can't put up all code here. Let me know in case you are stuck in any place. Also as of now historical data is not given by Smart API.

              1 Reply Last reply Reply Quote 0
              • A
                admin last edited by

                Hi @aksharmty we are working on PHP sdk we will update you on this.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post