forked from letianzj/quanttrader
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
40 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,46 @@ | ||
account: LU1832 | ||
theme: dark # white, dark | ||
host: '127.0.0.1' | ||
port: 7497 | ||
client_id: 0 | ||
total_trade_limit: 20 | ||
total_cancel_limit: 10 | ||
total_active_limit: 3 | ||
total_loss_limit: 5000 | ||
|
||
#-------------- active strategies -------------# | ||
host: 127.0.0.1 | ||
port: 7497 | ||
strategy: | ||
MovingAverageCrossStrategy: | ||
active: False | ||
DoubleMovingAverageCrossStrategy: | ||
active: false | ||
capital: 10000 | ||
params: | ||
G: 20 | ||
n_fast_ma: 20 | ||
n_slow_ma: 200 | ||
symbols: | ||
- CLV0 FUT NYMEX | ||
- NGV0 FUT NYMEX | ||
DualThrustStrategy: | ||
active: False | ||
active: false | ||
capital: 10000 | ||
params: | ||
G: 20 | ||
symbols: | ||
- MES FUT GLOBEX | ||
DoubleMovingAverageCrossStrategy: | ||
active: False | ||
- MES FUT GLOBEX | ||
MovingAverageCrossStrategy: | ||
active: false | ||
capital: 10000 | ||
params: | ||
n_fast_ma: 20 | ||
n_slow_ma: 200 | ||
G: 20 | ||
symbols: | ||
- NGV0 FUT NYMEX | ||
- CLV0 FUT NYMEX | ||
OrderPerIntervalStrategy: | ||
active: False | ||
active: false | ||
capital: 50000 | ||
order_start_time: 09:40:00 # pad 0 in front | ||
order_end_time: 15:50:00 | ||
single_trade_limit: 3 | ||
total_trade_limit: 15 | ||
total_cancel_limit: 5 | ||
total_active_limit: 2 | ||
total_loss_limit: 500 | ||
order_end_time: 57000 | ||
order_start_time: 09:40:00 | ||
params: | ||
tick_trigger_threshold: 6000 | ||
single_trade_limit: 3 | ||
symbols: | ||
#- SPY STK SMART | ||
#- AAPL STK SMART | ||
#- AMZN STK SMART | ||
- ESU0 FUT GLOBEX | ||
#- NGV0 FUT NYMEX | ||
- ESU0 FUT GLOBEX | ||
total_active_limit: 2 | ||
total_cancel_limit: 5 | ||
total_loss_limit: 500 | ||
total_trade_limit: 15 | ||
theme: dark | ||
total_active_limit: 3 | ||
total_cancel_limit: 10 | ||
total_loss_limit: 5000 | ||
total_trade_limit: 20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters