Skip to content

Commit

Permalink
using label for column name
Browse files Browse the repository at this point in the history
  • Loading branch information
silvadom committed Dec 19, 2024
1 parent 63094ce commit 77a4f91
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions samples/sources/strategies/crossemastrategy/CrossEmaStrategy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ std::vector<Json::Value> CrossEmaStrategy::PredictSignal(const StrategyInputData
const auto& longEma = indicators.at(longEmaIdx);

// construct column name
auto rsiNames = BuildProcessorsColumnNames(instrum, rsi, "winsize");
auto atrNames = BuildProcessorsColumnNames(instrum, atr, "winsize");
auto shortEmaNames = BuildProcessorsColumnNames(instrum, shortEma, "winsize");
auto midEmaNames = BuildProcessorsColumnNames(instrum, midEma, "winsize");
auto longEmaNames = BuildProcessorsColumnNames(instrum, longEma, "winsize");
auto rsiNames = BuildProcessorsColumnNames(instrum, rsi, "label");
auto atrNames = BuildProcessorsColumnNames(instrum, atr, "label");
auto shortEmaNames = BuildProcessorsColumnNames(instrum, shortEma, "label");
auto midEmaNames = BuildProcessorsColumnNames(instrum, midEma, "label");
auto longEmaNames = BuildProcessorsColumnNames(instrum, longEma, "label");
std::string closeName = instrum;
closeName.append("#").append("close");

Expand Down

0 comments on commit 77a4f91

Please sign in to comment.