@gbozee/ultimate 0.0.2-155 → 0.0.2-157
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/frontend-index.d.ts +1 -0
- package/dist/frontend-index.js +4 -2
- package/dist/index.cjs +3057 -39
- package/dist/index.d.ts +10 -1
- package/dist/index.js +3057 -39
- package/dist/mcp-server.cjs +3057 -39
- package/dist/mcp-server.js +3057 -39
- package/package.json +4 -2
package/dist/frontend-index.d.ts
CHANGED
package/dist/frontend-index.js
CHANGED
|
@@ -2128,7 +2128,8 @@ function getRiskReward(payload) {
|
|
|
2128
2128
|
stop,
|
|
2129
2129
|
risk,
|
|
2130
2130
|
global_config,
|
|
2131
|
-
force_exact_risk = false
|
|
2131
|
+
force_exact_risk = false,
|
|
2132
|
+
target_loss
|
|
2132
2133
|
} = payload;
|
|
2133
2134
|
const { entries, last_value, ...app_config } = buildAppConfig(global_config, {
|
|
2134
2135
|
entry,
|
|
@@ -2141,7 +2142,8 @@ function getRiskReward(payload) {
|
|
|
2141
2142
|
app_config,
|
|
2142
2143
|
entry,
|
|
2143
2144
|
stop,
|
|
2144
|
-
risk_per_trade: risk
|
|
2145
|
+
risk_per_trade: risk,
|
|
2146
|
+
target_loss
|
|
2145
2147
|
});
|
|
2146
2148
|
if (force_exact_risk) {
|
|
2147
2149
|
const new_risk_per_trade = determineOptimumRisk(global_config, {
|