vicsharp-shibusa / kyna

Open source stock data collection and analysis.
MIT License
2 stars 1 forks source link

Add source deletion to `kyna-migrator` #55

Closed vicsharp-shibusa closed 6 months ago

vicsharp-shibusa commented 6 months ago

This needs flushed out:

if (_configuration.SourceDeletionMode != SourceDeletionMode.None)
{
    foreach (var item in actions.Where(a => a.Category.Equals(t) && a.DeleteFromSource))
    {
        string msg =
            $"Delete {item.Id,12}\t{item.Category,15}\t{item.SubCategory,10}";

        Communicate?.Invoke(this, new CommunicationEventArgs(msg, nameof(EodHdMigrator)));
    }

    if (!_dryRun)
    {
        // TODO: NEEDS WORK
    }
}