szl880219 发表于 2026-6-12 02:01:08

反向对冲功能需求

<div class="ce-block ce-block--focused" data-id="Ya120oAl46" >
        <div class="ce-block__content">
                <div class="ce-paragraph cdx-block ce-paragraph--left">hedging这个ea反向对冲模块里</div>
        </div>
</div><div class="ce-block ce-block--focused" data-id="T-gKpF0WLI" >
        <div class="ce-block__content">
                <div class="ce-paragraph cdx-block ce-paragraph--left">NvM对冲,下面盈利点数这里。</div>
        </div>
</div><div class="ce-block ce-block--focused" data-id="hvuMH9Hd3f" >
        <div class="ce-block__content">
                <div class="ce-paragraph cdx-block ce-paragraph--left">能不能加一个区分识别的功能。</div>
        </div>
</div><div class="ce-block ce-block--focused" data-id="rSdfqwSJaV" >
        <div class="ce-block__content">
                <div class="ce-paragraph cdx-block ce-paragraph--left">需求大概是这样,</div>
        </div>
</div><div class="ce-block ce-block--focused" data-id="pfiZTw38L4" >
        <div class="ce-block__content">
                <div class="ce-paragraph cdx-block ce-paragraph--left">1手对冲1手的50%

(对冲百分比还是自己填)&nbsp; ,盈利点数10点(盈利点数还是自己填)</div>
        </div>
</div><div class="ce-block ce-block--focused" data-id="IAFt9HWS38" >
        <div class="ce-block__content">
                <div class="ce-paragraph cdx-block ce-paragraph--left">1手对冲0.25手的50%

(对冲百分比还是自己填)&nbsp; ,盈利200点

(盈利点数还是自己填)</div>
        </div>
</div><div class="ce-block ce-block--focused" data-id="a6TppdPjNe" >
        <div class="ce-block__content">
                <div class="ce-paragraph cdx-block ce-paragraph--left">大致就是加个自动识别的,多空比或者空多比。超过70%(自己填或者固定70%)的让设置一个盈利点数对冲,少于40%(自己填或者固定40%)就让用另一个设置的盈利点数对冲。</div>
        </div>
</div><style type="text/css">
.ce-block {
    margin-bottom: 20px;
}
.ce-block__content,.ce-toolbar__content {
        /* max-width:calc(100% - 50px) */
        margin-left: auto;
    margin-right: auto;
}
.ce-paragraph {
    line-height: 1.6em;
    outline: none;
    text-indent: 2em;
    font-size: 16px;
}
.ce-paragraph--right {
    text-align: right;
}
.ce-paragraph--center {
    text-align: center;
}
.ce-paragraph--left {
    text-align: left;
}

.ce-paragraph--justify {
    text-align: justify;
}

.ce-paragraph-text-indent {
    text-align: justify;
}
.ce-paragraph:empty::before{
content: attr(data-placeholder);
color: #707684;
font-weight: normal;
opacity: 0;
}

/** Show placeholder at the first paragraph if Editor is empty */
.codex-editor--empty .ce-block:first-child .ce-paragraph:empty::before {
opacity: 1;
}

.codex-editor--toolbox-opened .ce-block:first-child .ce-paragraph:empty::before,
.codex-editor--empty .ce-block:first-child .ce-paragraph:empty:focus::before {
opacity: 0;
}

.ce-paragraph p:first-of-type{
    margin-top: 0;
}

.ce-paragraph p:last-of-type{
    margin-bottom: 0;
}


.svg-icon {
    width: 1em;
    height: 1em;
}

.svg-icon path,
.svg-icon polygon,
.svg-icon rect {
    fill: #4691f6;
}

.svg-icon circle {
    stroke: #4691f6;
    stroke-width: 1;
}
</style><style type="text/css">
.inline-code {
background: rgba(250, 239, 240, 0.78);
color: #b44437;
padding: 3px 4px;
border-radius: 5px;
margin: 0 1px;
font-family: inherit;
font-size: 0.86em;
font-weight: 500;
letter-spacing: 0.3px;
}
</style>

18735779977 发表于 2026-6-12 11:34:41

这思路厉害了
学习学习

admin2 发表于 2026-6-13 20:38:40

回头看一下吧。
页: [1]
查看完整版本: 反向对冲功能需求