Skip to content

Commit

Permalink
simplify test cse
Browse files Browse the repository at this point in the history
  • Loading branch information
Cuizi7 committed Jun 8, 2020
1 parent b24196f commit 27edfee
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions tests/api_tests/test_config.py
Expand Up @@ -87,24 +87,12 @@ def on_trade(_, event):
def test_position():
__config__ = {
"base": {
"start_date": "2018-04-01",
"end_date": "2018-05-01",
"frequency": "1d",
"accounts": {
"stock": 10000000
},
"init_positions": "000006.XSHE:10000"
},
"extra": {
"log_level": "error",
},
"mod": {
"sys_progress": {
"enabled": True,
"show": True,
},
},
}
}

def init(context):
context.f1 = "000006.XSHE"
Expand Down

0 comments on commit 27edfee

Please sign in to comment.