bmahakud / WorkReport-Shradha

0 stars 0 forks source link

Implement "Then" Condition Block in Strategy Creation #63

Closed ss-sahoo closed 1 month ago

ss-sahoo commented 1 month ago

Add support for a "Then" condition block in the strategy configuration. The block should include the following parameters:

Wait: "Yes" — instructs the strategy engine to delay further action until the specified condition is met.

count: "at least 1" — condition is valid only if at least one occurrence/event (e.g., signal or condition match) is detected.

candle: "30min" — applies the count check within a 30-minute candle timeframe.

"Then": { "Wait": "Yes", "count": "at least 1", "candle": "30min" }