apple-quant-algorithmic 0.2.0

Apple Quant's algorithmic trading api
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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, end: String },
}