Migrate remaining legacy operator workflows
This commit is contained in:
@@ -161,7 +161,8 @@ test("candle, line and all five return actions create explicit selections in leg
|
||||
assert.equal(candle.code, "5026");
|
||||
assert.deepEqual(candle.selection, {
|
||||
groupCode: "STOCK", subject: "삼성전자,SK하이닉스",
|
||||
graphicType: "COMPARISON_CANDLE", subtype: "FiveDays", dataCode: ""
|
||||
graphicType: "COMPARISON_CANDLE", subtype: "FiveDays",
|
||||
dataCode: "KOSPI:005930|KOSPI:000660"
|
||||
});
|
||||
|
||||
const line = workflow.createComparisonPlaylistEntry("comparison-line", [samsung, skHynix], {
|
||||
@@ -169,6 +170,7 @@ test("candle, line and all five return actions create explicit selections in leg
|
||||
});
|
||||
assert.equal(line.builderKey, "s5087");
|
||||
assert.equal(line.selection.graphicType, "COMPARISON_LINE");
|
||||
assert.equal(line.selection.dataCode, "KOSPI:005930|KOSPI:000660");
|
||||
|
||||
const batch = workflow.createYieldBatchEntries([samsung, skHynix], {
|
||||
idPrefix: "pair-yield", fadeDuration: 4
|
||||
|
||||
Reference in New Issue
Block a user