cfquant 0.2.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. LTtx/__init__.py +2 -0
  2. LTtx/tx/Config.txt +8 -0
  3. LTtx/tx/LTtx_server.py +1177 -0
  4. LTtx/tx/__init__.py +5 -0
  5. LTtx/tx/tx.py +1935 -0
  6. cfquant/__init__.py +26 -0
  7. cfquant/account_routing.py +119 -0
  8. cfquant/channels.py +76 -0
  9. cfquant/cli.py +266 -0
  10. cfquant/client.py +365 -0
  11. cfquant/config.py +86 -0
  12. cfquant/hub.py +304 -0
  13. cfquant/logging_i18n.py +348 -0
  14. cfquant/normal_bridge.py +676 -0
  15. cfquant/pipe_bridge.py +249 -0
  16. cfquant/pipe_client.py +223 -0
  17. cfquant/pipe_hub.py +602 -0
  18. cfquant/pipe_transport.py +493 -0
  19. cfquant/protocol.py +238 -0
  20. cfquant/qmt_bridge.py +1081 -0
  21. cfquant/runtime_report.py +334 -0
  22. cfquant/tx.py +1898 -0
  23. cfquant/tx_trade_bridge.py +1905 -0
  24. cfquant/version.py +5 -0
  25. cfquant/xtconstant.py +262 -0
  26. cfquant/xtdata.py +462 -0
  27. cfquant/xttrader.py +955 -0
  28. cfquant/xttype.py +586 -0
  29. cfquant-0.2.0.dist-info/LICENSE +21 -0
  30. cfquant-0.2.0.dist-info/METADATA +144 -0
  31. cfquant-0.2.0.dist-info/RECORD +90 -0
  32. cfquant-0.2.0.dist-info/WHEEL +5 -0
  33. cfquant-0.2.0.dist-info/entry_points.txt +4 -0
  34. cfquant-0.2.0.dist-info/top_level.txt +6 -0
  35. cfquant_pipe_hub.py +45 -0
  36. cfquant_web_server.py +12137 -0
  37. qmt_scripts/CFQUANT.py +507 -0
  38. qmt_scripts/CFQUANT_CTYPE_ALL_LOWLAT.py +830 -0
  39. qmt_scripts/CFQUANT_LITE.py +4928 -0
  40. qmt_scripts/CFQUANT_TRADE_LOWLAT.py +382 -0
  41. qmt_scripts/__init__.py +1 -0
  42. qmt_scripts//321/205/320/240/320/234/321/210/342/224/244/320/266/321/205/320/237/342/225/226/321/207/320/233/320/274/321/207/320/273/320/233/321/205/342/225/225/320/222/321/205/320/254/342/225/221/CFQUANT_CTYPE_ALL_LOWLAT_SH.py +866 -0
  43. qmt_scripts//321/205/320/240/320/234/321/210/342/224/244/320/266/321/205/320/237/342/225/226/321/207/320/233/320/274/321/207/320/273/320/233/321/205/342/225/225/320/222/321/205/320/254/342/225/221/CFQUANT_CTYPE_ALL_LOWLAT_SZ.py +866 -0
  44. qmt_scripts//321/205/320/240/320/234/321/210/342/224/244/320/266/321/205/320/237/342/225/226/321/207/320/233/320/274/321/207/320/273/320/233/321/205/342/225/225/320/222/321/205/320/254/342/225/221/CFQUANT_LITE_SH.py +5020 -0
  45. qmt_scripts//321/205/320/240/320/234/321/210/342/224/244/320/266/321/205/320/237/342/225/226/321/207/320/233/320/274/321/207/320/273/320/233/321/205/342/225/225/320/222/321/205/320/254/342/225/221/CFQUANT_LITE_SZ.py +5020 -0
  46. qmt_scripts//321/205/320/240/320/234/321/210/342/224/244/320/266/321/205/320/237/342/225/226/321/207/320/233/320/274/321/207/320/273/320/233/321/205/342/225/225/320/222/321/205/320/254/342/225/221/CFQUANT_TRADE_LOWLAT_SH.py +436 -0
  47. qmt_scripts//321/205/320/240/320/234/321/210/342/224/244/320/266/321/205/320/237/342/225/226/321/207/320/233/320/274/321/207/320/273/320/233/321/205/342/225/225/320/222/321/205/320/254/342/225/221/CFQUANT_TRADE_LOWLAT_SZ.py +436 -0
  48. qmt_scripts//321/205/320/240/320/234/321/210/342/224/244/320/266/321/205/320/237/342/225/226/321/207/320/233/320/274/321/207/320/273/320/233/321/205/342/225/225/320/222/321/205/320/254/342/225/221/readme.md +95 -0
  49. web_dashboard/__init__.py +1 -0
  50. web_dashboard/app.js +9847 -0
  51. web_dashboard/avatars/amber-pulse.svg +15 -0
  52. web_dashboard/avatars/copper-grid.svg +15 -0
  53. web_dashboard/avatars/market-blue.svg +15 -0
  54. web_dashboard/avatars/rose-circuit.svg +15 -0
  55. web_dashboard/avatars/signal-green.svg +15 -0
  56. web_dashboard/avatars/slate-wave.svg +15 -0
  57. web_dashboard/avatars/teal-orbit.svg +16 -0
  58. web_dashboard/avatars/violet-node.svg +15 -0
  59. web_dashboard/favicon.svg +5 -0
  60. web_dashboard/image/qmt_deploy/image-10.png +0 -0
  61. web_dashboard/image/qmt_deploy/image-11.png +0 -0
  62. web_dashboard/image/qmt_deploy/image-12.png +0 -0
  63. web_dashboard/image/qmt_deploy/image-13.png +0 -0
  64. web_dashboard/image/qmt_deploy/image-14.png +0 -0
  65. web_dashboard/image/qmt_deploy/image-15.png +0 -0
  66. web_dashboard/image/qmt_deploy/image-16.png +0 -0
  67. web_dashboard/image/qmt_deploy/image-17.png +0 -0
  68. web_dashboard/image/qmt_deploy/image-18.png +0 -0
  69. web_dashboard/image/qmt_deploy/image-19.png +0 -0
  70. web_dashboard/image/qmt_deploy/image-20.png +0 -0
  71. web_dashboard/image/qmt_deploy/image-21.png +0 -0
  72. web_dashboard/image/qmt_deploy/image-4.png +0 -0
  73. web_dashboard/image/qmt_deploy/image-5.png +0 -0
  74. web_dashboard/image/qmt_deploy/image-6.png +0 -0
  75. web_dashboard/image/qmt_deploy/image-7.png +0 -0
  76. web_dashboard/image/qmt_deploy/image-8.png +0 -0
  77. web_dashboard/image/qmt_deploy/image-9.png +0 -0
  78. web_dashboard/image//321/211/320/220/320/252/321/207/320/244/320/270/321/206/320/270/320/261/321/205/342/225/235/320/237/321/211/320/223/320/270/321/207/342/225/234/342/226/223/321/206/320/234/320/227/321/205/320/235/320/247/image-1.png +0 -0
  79. web_dashboard/image//321/211/320/220/320/252/321/207/320/244/320/270/321/206/320/270/320/261/321/205/342/225/235/320/237/321/211/320/223/320/270/321/207/342/225/234/342/226/223/321/206/320/234/320/227/321/205/320/235/320/247/image-2.png +0 -0
  80. web_dashboard/image//321/211/320/220/320/252/321/207/320/244/320/270/321/206/320/270/320/261/321/205/342/225/235/320/237/321/211/320/223/320/270/321/207/342/225/234/342/226/223/321/206/320/234/320/227/321/205/320/235/320/247/image-3.png +0 -0
  81. web_dashboard/image//321/211/320/220/320/252/321/207/320/244/320/270/321/206/320/270/320/261/321/205/342/225/235/320/237/321/211/320/223/320/270/321/207/342/225/234/342/226/223/321/206/320/234/320/227/321/205/320/235/320/247/image.png +0 -0
  82. web_dashboard/image//321/211/320/223/320/270/321/207/342/225/234/342/226/223/321/206/320/234/320/227/321/205/320/235/320/247/1783479325179.png +0 -0
  83. web_dashboard/image//321/211/320/223/320/270/321/207/342/225/234/342/226/223/321/206/320/234/320/227/321/205/320/235/320/247/1783479745262.png +0 -0
  84. web_dashboard/image//321/211/320/223/320/270/321/207/342/225/234/342/226/223/321/206/320/234/320/227/321/205/320/235/320/247/1783480178700.png +0 -0
  85. web_dashboard/image//321/211/320/223/320/270/321/207/342/225/234/342/226/223/321/206/320/234/320/227/321/205/320/235/320/247/1783480428759.png +0 -0
  86. web_dashboard/image//321/211/320/223/320/270/321/207/342/225/234/342/226/223/321/206/320/234/320/227/321/205/320/235/320/247/1783489807217.png +0 -0
  87. web_dashboard/image//321/211/320/223/320/270/321/207/342/225/234/342/226/223/321/206/320/234/320/227/321/205/320/235/320/247/1783490503491.png +0 -0
  88. web_dashboard/index.html +2317 -0
  89. web_dashboard/styles.css +7817 -0
  90. web_dashboard/vendor/mermaid.min.js +2029 -0
@@ -0,0 +1,15 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 160 160" role="img" aria-label="Amber Pulse avatar">
2
+ <defs>
3
+ <linearGradient id="bg" x1="20" y1="18" x2="138" y2="142" gradientUnits="userSpaceOnUse">
4
+ <stop stop-color="#f59e0b"/>
5
+ <stop offset="1" stop-color="#5c3b00"/>
6
+ </linearGradient>
7
+ </defs>
8
+ <rect width="160" height="160" rx="32" fill="url(#bg)"/>
9
+ <path d="M25 83h25l9-18 16 36 13-55 17 37h30" fill="none" stroke="#fff7df" stroke-width="7" stroke-linejoin="round" stroke-linecap="round" opacity=".58"/>
10
+ <circle cx="80" cy="65" r="31" fill="#fff7df"/>
11
+ <path d="M41 132c8-29 24-43 39-43s31 14 39 43" fill="#ffd784"/>
12
+ <circle cx="66" cy="75" r="5" fill="#5c3b00"/>
13
+ <circle cx="94" cy="75" r="5" fill="#5c3b00"/>
14
+ <path d="M68 91h24" stroke="#5c3b00" stroke-width="5" stroke-linecap="round"/>
15
+ </svg>
@@ -0,0 +1,15 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 160 160" role="img" aria-label="Copper Grid avatar">
2
+ <defs>
3
+ <linearGradient id="bg" x1="18" y1="20" x2="142" y2="140" gradientUnits="userSpaceOnUse">
4
+ <stop stop-color="#f2c94c"/>
5
+ <stop offset="1" stop-color="#9a4b16"/>
6
+ </linearGradient>
7
+ </defs>
8
+ <rect width="160" height="160" rx="32" fill="url(#bg)"/>
9
+ <path d="M31 42h98M31 80h98M31 118h98M42 31v98M80 31v98M118 31v98" stroke="#fff7df" stroke-width="4" opacity=".38"/>
10
+ <circle cx="80" cy="67" r="31" fill="#fff4d2"/>
11
+ <path d="M41 132c8-28 24-42 39-42s31 14 39 42" fill="#ffe2a0"/>
12
+ <rect x="55" y="61" width="50" height="16" rx="8" fill="#5c3b00"/>
13
+ <circle cx="66" cy="69" r="4" fill="#fff4d2"/>
14
+ <circle cx="94" cy="69" r="4" fill="#fff4d2"/>
15
+ </svg>
@@ -0,0 +1,15 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 160 160" role="img" aria-label="Market Blue avatar">
2
+ <defs>
3
+ <linearGradient id="bg" x1="20" y1="18" x2="136" y2="142" gradientUnits="userSpaceOnUse">
4
+ <stop stop-color="#1f6feb"/>
5
+ <stop offset="1" stop-color="#101820"/>
6
+ </linearGradient>
7
+ </defs>
8
+ <rect width="160" height="160" rx="32" fill="url(#bg)"/>
9
+ <circle cx="80" cy="66" r="32" fill="#eef5ff"/>
10
+ <path d="M40 132c6-28 24-43 40-43s34 15 40 43" fill="#d7e8ff"/>
11
+ <path d="M51 75h58" stroke="#1f6feb" stroke-width="9" stroke-linecap="round"/>
12
+ <path d="M58 58h44" stroke="#101820" stroke-width="8" stroke-linecap="round"/>
13
+ <circle cx="65" cy="76" r="5" fill="#101820"/>
14
+ <circle cx="95" cy="76" r="5" fill="#101820"/>
15
+ </svg>
@@ -0,0 +1,15 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 160 160" role="img" aria-label="Rose Circuit avatar">
2
+ <defs>
3
+ <linearGradient id="bg" x1="18" y1="18" x2="142" y2="142" gradientUnits="userSpaceOnUse">
4
+ <stop stop-color="#e11d48"/>
5
+ <stop offset="1" stop-color="#4c0519"/>
6
+ </linearGradient>
7
+ </defs>
8
+ <rect width="160" height="160" rx="32" fill="url(#bg)"/>
9
+ <path d="M35 45h28v24h34V45h28M63 69v28H39m58 0h24" fill="none" stroke="#ffe4e6" stroke-width="5" stroke-linecap="round" stroke-linejoin="round" opacity=".42"/>
10
+ <circle cx="80" cy="66" r="32" fill="#fff1f2"/>
11
+ <path d="M42 132c7-29 23-43 38-43s31 14 38 43" fill="#fecdd3"/>
12
+ <circle cx="66" cy="76" r="5" fill="#4c0519"/>
13
+ <circle cx="94" cy="76" r="5" fill="#4c0519"/>
14
+ <path d="M58 61c8-11 36-11 44 0" stroke="#e11d48" stroke-width="7" stroke-linecap="round" fill="none"/>
15
+ </svg>
@@ -0,0 +1,15 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 160 160" role="img" aria-label="Signal Green avatar">
2
+ <defs>
3
+ <linearGradient id="bg" x1="18" y1="18" x2="142" y2="142" gradientUnits="userSpaceOnUse">
4
+ <stop stop-color="#0f7b46"/>
5
+ <stop offset="1" stop-color="#0e2f28"/>
6
+ </linearGradient>
7
+ </defs>
8
+ <rect width="160" height="160" rx="32" fill="url(#bg)"/>
9
+ <circle cx="80" cy="68" r="33" fill="#e8f7ef"/>
10
+ <path d="M42 134c7-29 23-44 38-44 16 0 32 15 38 44" fill="#b8d9c6"/>
11
+ <path d="M55 66c13-18 37-18 50 0" fill="none" stroke="#0f7b46" stroke-width="8" stroke-linecap="round"/>
12
+ <circle cx="66" cy="80" r="5" fill="#0e2f28"/>
13
+ <circle cx="94" cy="80" r="5" fill="#0e2f28"/>
14
+ <path d="M69 94c7 5 15 5 22 0" fill="none" stroke="#0e2f28" stroke-width="5" stroke-linecap="round"/>
15
+ </svg>
@@ -0,0 +1,15 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 160 160" role="img" aria-label="Slate Wave avatar">
2
+ <defs>
3
+ <linearGradient id="bg" x1="16" y1="18" x2="146" y2="140" gradientUnits="userSpaceOnUse">
4
+ <stop stop-color="#526173"/>
5
+ <stop offset="1" stop-color="#101820"/>
6
+ </linearGradient>
7
+ </defs>
8
+ <rect width="160" height="160" rx="32" fill="url(#bg)"/>
9
+ <path d="M14 106c26-19 49-19 70 0s43 19 66 0v53H14z" fill="#8ca0b7" opacity=".42"/>
10
+ <circle cx="80" cy="66" r="32" fill="#f1f5f9"/>
11
+ <path d="M42 132c7-28 23-42 38-42s31 14 38 42" fill="#d8e0ea"/>
12
+ <path d="M54 63c17 7 35 7 52 0" fill="none" stroke="#526173" stroke-width="8" stroke-linecap="round"/>
13
+ <circle cx="67" cy="78" r="5" fill="#17202a"/>
14
+ <circle cx="93" cy="78" r="5" fill="#17202a"/>
15
+ </svg>
@@ -0,0 +1,16 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 160 160" role="img" aria-label="Teal Orbit avatar">
2
+ <defs>
3
+ <linearGradient id="bg" x1="18" y1="18" x2="142" y2="142" gradientUnits="userSpaceOnUse">
4
+ <stop stop-color="#0891b2"/>
5
+ <stop offset="1" stop-color="#083344"/>
6
+ </linearGradient>
7
+ </defs>
8
+ <rect width="160" height="160" rx="32" fill="url(#bg)"/>
9
+ <ellipse cx="80" cy="80" rx="56" ry="27" fill="none" stroke="#cffafe" stroke-width="5" opacity=".58"/>
10
+ <circle cx="120" cy="72" r="8" fill="#cffafe"/>
11
+ <circle cx="80" cy="66" r="32" fill="#ecfeff"/>
12
+ <path d="M42 132c7-28 23-42 38-42s31 14 38 42" fill="#a5f3fc"/>
13
+ <circle cx="67" cy="77" r="5" fill="#083344"/>
14
+ <circle cx="93" cy="77" r="5" fill="#083344"/>
15
+ <path d="M63 57c13-10 21-10 34 0" stroke="#0891b2" stroke-width="7" stroke-linecap="round" fill="none"/>
16
+ </svg>
@@ -0,0 +1,15 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 160 160" role="img" aria-label="Violet Node avatar">
2
+ <defs>
3
+ <linearGradient id="bg" x1="20" y1="18" x2="140" y2="142" gradientUnits="userSpaceOnUse">
4
+ <stop stop-color="#7c3aed"/>
5
+ <stop offset="1" stop-color="#17202a"/>
6
+ </linearGradient>
7
+ </defs>
8
+ <rect width="160" height="160" rx="32" fill="url(#bg)"/>
9
+ <path d="M35 46l31 24 31-24 28 26-28 39-31-23-31 23-28-39z" fill="#ede9fe" opacity=".28"/>
10
+ <circle cx="80" cy="66" r="32" fill="#f4f0ff"/>
11
+ <path d="M42 133c7-29 23-44 38-44s31 15 38 44" fill="#ddd6fe"/>
12
+ <circle cx="66" cy="76" r="5" fill="#30204d"/>
13
+ <circle cx="94" cy="76" r="5" fill="#30204d"/>
14
+ <path d="M58 57c12-9 32-9 44 0" fill="none" stroke="#7c3aed" stroke-width="7" stroke-linecap="round"/>
15
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
2
+ <rect width="64" height="64" rx="12" fill="#f2c94c"/>
3
+ <path d="M18 45c-3 0-5.4-.9-7.1-2.7C9.1 40.5 8.2 38 8.2 35v-6c0-3 .9-5.5 2.7-7.3 1.7-1.8 4.1-2.7 7.1-2.7h8.4v7H19c-1.2 0-2.1.3-2.7 1-.6.6-.9 1.5-.9 2.7v4.7c0 1.2.3 2.1.9 2.7.6.7 1.5 1 2.7 1h7.4v7H18z" fill="#101820"/>
4
+ <path d="M35.2 45V25.9h-4.4V19h4.4v-1.3c0-3.2.9-5.7 2.7-7.4 1.8-1.7 4.3-2.5 7.4-2.5h9.3v6.8h-8.4c-1.2 0-2.1.3-2.7.8-.6.6-.9 1.4-.9 2.6v1h10.9v6.9H42.6V45h-7.4z" fill="#101820"/>
5
+ </svg>