Skip to content

Commit

Permalink
rm in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ryqdev committed May 21, 2024
1 parent acc2ec1 commit c7614e1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@

debug:
RUST_BACKTRACE=1 cargo run backtest --symbol ${symbol}

backtest:
cargo run backtest --symbol ${symbol}

Expand Down
15 changes: 8 additions & 7 deletions src/cmds/backtest.rs
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
use std::fs;
use std::{
fs,
process::exit
};
use super::Command;
use anyhow::{Result};
use clap::{Arg, ArgMatches, Command as ClapCommand};
use serde_derive::{Deserialize, Serialize};
use super::Command;
use std::process::exit;
use clickhouse::{ Client, Row};
use async_trait::async_trait;
use time::Date;
use crate::green::{Green, feeds, strategy};
use crate::green::feeds::BaseData;
use crate::green::{
Green, feeds, strategy,
};
use crate::strategy::hold::BuyAndHold;


pub struct BackTestCommand;


#[async_trait]
impl Command for BackTestCommand {
fn usage() -> ClapCommand {
Expand Down

0 comments on commit c7614e1

Please sign in to comment.