Does orders generated via colocated dhan cloud have rate limits?

I came across this discussion - Static Ip Dhan cloud is not working

So if I have to use a special approved order system then I was wondering about the rate limits.

  1. Does the same 10 order/second rate limit applies to the strategies run via algos hosted on colocated dhan cloud system?
  2. Can my ‘app’ running inside Dhan cloud make a persistent websocket connection with a websocket server running in AWS EC2?
    Basically I want to constantly communicate with my App for entry confirmation and if required manual exit.

cc: @Tradehull_Imran

Hi @nidhindn

  1. Yes, the same 10 orders/second limit applies for Dhan cloud as well. adding @Hardik for sharing his thoughts on this one.

  2. Yes the app can run inside Dhan Cloud and connect with AWS EC2 to read data

Hi @Tradehull_Imran I have multiple algorithms that I want to deploy simultaneously when the market opens. Will this consume the same amount of Dhan Cloud credits, or will the usage increase?

Also, what factors determine Dhan Cloud credit consumption? Is it influenced by the loop sleep interval specified in the Python program, or by other factors? I have noticed that running an algo for only a few seconds sometimes consumes more credits, while running it for a longer period appears to consume less. I would appreciate clarification on how the credit consumption is calculated.

Hi @Imam_Noorbhash ,

Dhan Cloud credits mainly depend on the selected compute tier and the total runtime of your strategy.

If you run multiple algorithms as separate strategies on Dhan Cloud , each strategy gets its own cloud runtime and consumes credits independently. So, the total credit usage will increase based on the number of strategies running.

The time.sleep() value does not directly affect credit consumption. Any variation you notice is usually due to billing intervals or how usage is calculated/displayed by Dhan Cloud.