I am a developer and have built my own strategy in Python that monitors NIFTY.
What I want is that whenever my Python code generates a Buy signal, AlgoDelta should execute whatever is configured in the Up Side Execution of the Custom Bridge.
Similarly, when my Python code generates a Sell signal, I want the Down Side Execution to happen automatically.
Now you just have to call the function wherever your strategy conditions are met.
Example:
if buy_signal:
send_signal("UP")
elif sell_signal:
send_signal("DOWN")
elif exit_signal:
send_signal("EXIT")
That’s it.
Whenever your Python strategy sends:
-UP → AlgoDelta executes the Upside configuration
-DOWN → AlgoDelta executes the Downside configuration
-EXIT → AlgoDelta exits the active position
This is one of the easiest ways to integrate Python strategies with AlgoDelta’s Custom Bridge.
Verified Solution
Appreciate your answer and with the code it’s super easy to integrate the custom bridge with python, now I can be able to integrate the Custom bridge easily. Thanks for code and explanation.– Radhesh JoshiJul 28