config.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "account": {
  3. "total_capital": 1000000,
  4. "currency": "CNY"
  5. },
  6. "strategies": {
  7. "convertible_bond": {
  8. "enabled": true,
  9. "allocation": 0.40,
  10. "params": {
  11. "max_holdings": 20,
  12. "price_limit": 115,
  13. "premium_limit": 30,
  14. "min_rating": "AA-",
  15. "stop_loss": -0.08,
  16. "take_profit": 0.15,
  17. "rebalance_freq": "monthly"
  18. }
  19. },
  20. "small_cap_momentum": {
  21. "enabled": true,
  22. "allocation": 0.30,
  23. "params": {
  24. "max_holdings": 10,
  25. "max_market_cap": 50,
  26. "min_turnover": 1000,
  27. "lookback_days": 20,
  28. "stop_loss": -0.08,
  29. "market_filter": true,
  30. "rebalance_freq": "biweekly"
  31. }
  32. },
  33. "high_dividend": {
  34. "enabled": true,
  35. "allocation": 0.20,
  36. "params": {
  37. "min_dividend_yield": 0.04,
  38. "target_stocks": 5,
  39. "core_pool": [
  40. "600900", "601088", "601288", "601006",
  41. "600377", "600887", "000895", "600048"
  42. ]
  43. }
  44. },
  45. "cash": {
  46. "enabled": true,
  47. "allocation": 0.10
  48. }
  49. },
  50. "risk_management": {
  51. "max_drawdown_total": 0.12,
  52. "max_drawdown_strategy": 0.15,
  53. "max_loss_per_trade": 0.08,
  54. "position_size_limit": 0.05
  55. },
  56. "trading": {
  57. "commission_rate": 0.0003,
  58. "min_commission": 5,
  59. "stamp_tax": 0.001,
  60. "transfer_fee": 0.00002
  61. },
  62. "data": {
  63. "provider": "akshare",
  64. "update_time": "09:00"
  65. },
  66. "notification": {
  67. "email": {
  68. "enabled": false,
  69. "smtp_server": "",
  70. "smtp_port": 587,
  71. "username": "",
  72. "password": "",
  73. "to_address": ""
  74. },
  75. "daily_report": true,
  76. "trade_alert": true,
  77. "risk_alert": true
  78. }
  79. }