Anonymous
Функция дампа linqpad не игнорирует столбцы
Сообщение
Anonymous » 21 сен 2024, 00:18
У меня есть набор данных, в котором я хочу пропустить небольшой набор столбцов. поэтому я использую опцию исключения. Но дамп действительно не игнорирует это.
Код: Выделить всё
// List of columns to ignore as a comma-separated string
var columnsToIgnore = "sessionDate, initializedTime, entryTime, TradeNumber, EntryNumber, BarssinceDirectionStarted, halfExitTime, baseBreakoutPrice, initial_scalein1price_monitor, commission_exit, smallgains_exit, scaleout1price, scaleout1time, scaleout1qty, scaleout2price, scaleout2time, scaleout2qty, scaleoutqty, finalscaleoutqty, scaleoutMFE, scaleoutMAE, halfExitPrice, triggerTrailStopPercent, todayDailyRangeTakenBeforeEntry, todayTargetRemainingatStart, todayTargetRemainingatEnd, cumulativeMAEtoday, cumulativeMFEtoday, MeetTargetToday, reEntryTimeinMinutes, reEnteredSameDirection, CrossedWeekend, pulledBackin5, movedBackin5, movedStop45, MaxMoveBeforePullback, MaxMoveAgainstAfterPullback, pulledBackin5Time, movedBackinTime, fastMovein5min_count, url, entryQty, hh7, mfe_after_1ATRAGainst_trigger, mfe_after_2ATRAGainst_trigger, mfe_after_3ATRAGainst_trigger, mfe_after_yesterdayedge, mae_after_yesterdayedge, StockasisticsAverage, equalabrium_ratio, below_equalabrium_rate, ccicrossedzerotimes, ccicrossed100times, ccicrossed200times, cciAgaist0Bars, cciAgainst100Bars, cciAgainst200Bars, cci20Against200Bars, countMacdAgainst, totalbars, minute5ATR_inpips, BEFOREENTRY_Need2CancelAgainstHH7eqTRUE, macd_difference, macdagainstPercent, DAilyCCI_20, tightenStop4MidHH7SameDirection, HigherTF_HH7Against, HigherTF_9EMA_TOUCHED, shortTermMACrossed, touchedDailyDonchiantoday, stockDOppExtreme, stockDcameback, longTermDirection, OppEdgeReversalEntry, EventsManaged_archieved, EventsManaged, oco_id_for_exit_triggered, oco_id_for_exit2_triggered, totalWaves, count_completedWaves, totalWavesin5Min, completedWavesin5Min, tradeRating, instrument, account, EMA20Used, DonchianUsed, missingbars, ninjatradenumber, Entry_name, ChangedDirectionPreEntry, inTradeChangeDirection, entry_MOVINGAVERAGE_FAILED, Open2directionedge, Open2Awayedge, quantity, cciup1, cciup2, ccidown1, ccidown2, weak5minutebreakout_Stoptriggered, profitImproved, HH7against";
// Add any additional columns to the list
// Dump the collection while excluding the specified columns
analyticsObjectsCollection.Dump("MachineLearningFile", exclude: columnsToIgnore);
Результат:
Подробнее здесь:
https://stackoverflow.com/questions/790 ... he-columns
1726867115
Anonymous
У меня есть набор данных, в котором я хочу пропустить небольшой набор столбцов. поэтому я использую опцию исключения. Но дамп действительно не игнорирует это. [code]// List of columns to ignore as a comma-separated string var columnsToIgnore = "sessionDate, initializedTime, entryTime, TradeNumber, EntryNumber, BarssinceDirectionStarted, halfExitTime, baseBreakoutPrice, initial_scalein1price_monitor, commission_exit, smallgains_exit, scaleout1price, scaleout1time, scaleout1qty, scaleout2price, scaleout2time, scaleout2qty, scaleoutqty, finalscaleoutqty, scaleoutMFE, scaleoutMAE, halfExitPrice, triggerTrailStopPercent, todayDailyRangeTakenBeforeEntry, todayTargetRemainingatStart, todayTargetRemainingatEnd, cumulativeMAEtoday, cumulativeMFEtoday, MeetTargetToday, reEntryTimeinMinutes, reEnteredSameDirection, CrossedWeekend, pulledBackin5, movedBackin5, movedStop45, MaxMoveBeforePullback, MaxMoveAgainstAfterPullback, pulledBackin5Time, movedBackinTime, fastMovein5min_count, url, entryQty, hh7, mfe_after_1ATRAGainst_trigger, mfe_after_2ATRAGainst_trigger, mfe_after_3ATRAGainst_trigger, mfe_after_yesterdayedge, mae_after_yesterdayedge, StockasisticsAverage, equalabrium_ratio, below_equalabrium_rate, ccicrossedzerotimes, ccicrossed100times, ccicrossed200times, cciAgaist0Bars, cciAgainst100Bars, cciAgainst200Bars, cci20Against200Bars, countMacdAgainst, totalbars, minute5ATR_inpips, BEFOREENTRY_Need2CancelAgainstHH7eqTRUE, macd_difference, macdagainstPercent, DAilyCCI_20, tightenStop4MidHH7SameDirection, HigherTF_HH7Against, HigherTF_9EMA_TOUCHED, shortTermMACrossed, touchedDailyDonchiantoday, stockDOppExtreme, stockDcameback, longTermDirection, OppEdgeReversalEntry, EventsManaged_archieved, EventsManaged, oco_id_for_exit_triggered, oco_id_for_exit2_triggered, totalWaves, count_completedWaves, totalWavesin5Min, completedWavesin5Min, tradeRating, instrument, account, EMA20Used, DonchianUsed, missingbars, ninjatradenumber, Entry_name, ChangedDirectionPreEntry, inTradeChangeDirection, entry_MOVINGAVERAGE_FAILED, Open2directionedge, Open2Awayedge, quantity, cciup1, cciup2, ccidown1, ccidown2, weak5minutebreakout_Stoptriggered, profitImproved, HH7against"; // Add any additional columns to the list // Dump the collection while excluding the specified columns analyticsObjectsCollection.Dump("MachineLearningFile", exclude: columnsToIgnore); [/code] Результат: [img]https://i.sstatic.net/zI9aE5nm.png[/img] Подробнее здесь: [url]https://stackoverflow.com/questions/79008291/linqpad-dump-function-not-ignoring-the-columns[/url]