Navigation

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

    Python Thread

    Python SDK
    0
    3
    27
    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.
    • Mnagesh
      Mnagesh last edited by

      1. What is the best practice to execute threads in parallel ?

      2. what is the best practice to execute threads frequently ?

      I mean to Say every one minute run a thread function or every 3 minute get the latest historical data etc... similar to corn in UNIX or run a thread to auto logout after 3:30 pm etc.

      Now I am full time Algo Trader and successfully developed my own Apps for my personal use.

      Mr Depp 1 Reply Last reply Reply Quote 0
      • Mr Depp
        Mr Depp @Mnagesh last edited by

        @Mnagesh you can keep 1 minute and 40 second delay after calling every historical candle if you are using angel historical data. you will get the near by perfect data. so set the crone job at after every 1 minute and 40 seconds.

        Mnagesh 1 Reply Last reply Reply Quote 0
        • Mnagesh
          Mnagesh @Mr Depp last edited by

          @Mr-Depp it will be more delayed ones

          Now I am full time Algo Trader and successfully developed my own Apps for my personal use.

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