Skip to content

Commit

Permalink
formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
albertandking committed Sep 19, 2023
1 parent 3ab86f7 commit 9d33bd4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@
print(pb.__version__)

config = StrategyConfig(initial_cash=500_000)
strategy = Strategy(data_source=AKShare(), start_date='20220101', end_date='20230916', config=config)
strategy = Strategy(
data_source=AKShare(),
start_date='20220101',
end_date='20230916',
config=config
)


def buy_low(ctx: ExecContext):
Expand Down

0 comments on commit 9d33bd4

Please sign in to comment.