Logistic regression, boosted trees and random forest, calibration, purged validation and the choice by mean gain per proposed operation (refs #63). The first model comes from the crypto history: nothing better than the base rate, so it starts in observation as the report says. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
42 lines
1.5 KiB
C#
42 lines
1.5 KiB
C#
using Anubis.Server;
|
|
|
|
// "anubis db export <folder>" and "anubis db import <folder>" (SPEC 5.4) run with the engine stopped; anything else starts the server.
|
|
if (args.Length >= 1 && args[0] == "db")
|
|
{
|
|
return await DatabaseCommand.RunAsync(args[1..]).ConfigureAwait(false);
|
|
}
|
|
|
|
// "anubis data report|binance|csv": the data quality report and the research imports (Phase 2).
|
|
if (args.Length >= 1 && args[0] == "data")
|
|
{
|
|
return await DataCommand.RunAsync(args[1..]).ConfigureAwait(false);
|
|
}
|
|
|
|
// "anubis backtest base": the honest backtests of the base strategies, written to docs/backtests (Phase 5).
|
|
if (args.Length >= 1 && args[0] == "backtest")
|
|
{
|
|
return await BacktestCommand.RunAsync(args[1..]).ConfigureAwait(false);
|
|
}
|
|
|
|
// "anubis learning base": the first model and its validation report, written to docs/learning (Phase 8).
|
|
if (args.Length >= 1 && args[0] == "learning")
|
|
{
|
|
return await LearningCommand.RunAsync(args[1..]).ConfigureAwait(false);
|
|
}
|
|
|
|
// "anubis soak": the report of the endurance run in real time, read from the bot's records while it works (Phase 6).
|
|
if (args.Length >= 1 && args[0] == "soak")
|
|
{
|
|
return await SoakCommand.RunAsync(args[1..]).ConfigureAwait(false);
|
|
}
|
|
|
|
// "anubis diagnostics": the data collected for the analysis of a long run, as one report to paste (issue #95).
|
|
if (args.Length >= 1 && args[0] == "diagnostics")
|
|
{
|
|
return await DiagnosticsCommand.RunAsync(args[1..]).ConfigureAwait(false);
|
|
}
|
|
|
|
var app = ServerApp.Build(args);
|
|
await app.RunAsync().ConfigureAwait(false);
|
|
return 0;
|