Dear Traders,
What if you could switch brokers without rewriting a single line of code and run your trading strategies on your own system—without any coding knowledge?
Imagine you have a powerful Iron Condor strategy that you want to automate but don’t have the development skills to bring it to life. What if I told you that you could set up and execute this strategy simply by configuring a few parameters in a JSON file? It’s that easy.
All you need is a basic understanding of JSON and a little development know-how. Here’s how you can do it:
- Broker Portability: Switch brokers anytime without touching your code.
- No-Code Strategy Deployment: Define your strategy using standard parameters like legs, entry/exit rules, adjustments, etc., in a JSON format.
- Automated Execution: Deploy your strategy on your cloud server with minimal setup.
Would you be interested?
Here’s a sneak peek:
SingleApi singleApi = CreateBrokerSession(BrokerSecretConfig, SingleApiKey);
SingleApiTicker singleApiTicker = new SingleApiTicker(singleApi.getAccessToken, singleApi.getApiKey);
singleApiTicker.connect(dataSourceConfig);
Strategy juicyIronCondor = new BaseStrategy(StrategyConfig);
juicyIronCondor.start();
while(marketIsOpen) {
juicyIronCondor.run();
}
And here’s a sample JSON for an Iron Condor strategy:
{
"name": "Nifty Iron Condor Weekly",
"index": "NIFTY",
"expiryDate": "2023-06-01",
"barTimeFrame": "5 minutes",
"status": "INACTIVE",
"globalRules": [
{
"type": "ENTRY",
"ruleType": "TimeRule",
"parameters": "09:15",
"combinator": "AND"
},
{
"type": "EXIT",
"ruleType": "TimeRule",
"parameters": "15:30",
"combinator": "OR"
}
],
"legs": [
{
"direction": "SHORT",
"transactionType": "SELL",
"quantity": 50,
"productType": "OPTION",
"optionType": "CALL",
"strikeSelectCriteria": "OTM1",
"entryRules": [
{
"ruleType": "IndicatorRule",
"indicatorType": "RSI",
"parameters": "14",
"condition": "OVER",
"threshold": "60",
"combinator": "AND"
}
],
"exitRules": [
{
"ruleType": "IndicatorRule",
"indicatorType": "SMA",
"parameters": "20",
"condition": "CROSS_ABOVE",
"threshold": "0",
"combinator": "OR"
}
],
"stopLoss": {
"type": "PERCENTAGE",
"value": 50
},
"takeProfit": {
"type": "PERCENTAGE",
"value": 80
},
"allowReentry": true,
"maxReentries": 1,
"reentryCooldownBars": 3
},
// Additional legs here
]
}