apple-quant-algorithmic 0.4.0

Apple Quant's algorithmic library.
Documentation
use clap::{Parser, Subcommand};

#[derive(Debug, Parser)]
pub(crate) struct CLI {
	#[arg(long)]
	pub(crate) key: Option<String>,

	#[command(subcommand)]
	pub(crate) command: Commands,
}

#[derive(Debug, Subcommand)]
pub(crate) enum Commands {
	#[command(arg_required_else_help = true)]
	Backtest { start: String, last: String },

	#[command(arg_required_else_help = true)]
	Fetch { start: String, last: String },
}