@ysgroup/contracts 0.1.12 → 0.1.14
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.
- package/package.json +2 -2
- package/src/index.ts +0 -95
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -430,7 +430,6 @@ export interface Account {
|
|
|
430
430
|
"type": AccountType; /** 账户类型 */
|
|
431
431
|
"broker_id": string; /** 开户公司ID */
|
|
432
432
|
"trade_env": TradeEnvType; /** 交易环境 */
|
|
433
|
-
"fee_rate"?: number; /** 交易手续费 */
|
|
434
433
|
"login_password"?: string; /** 登录密码;sensitivity=credential(仅风险提示,不决定应用授权) */
|
|
435
434
|
"fund_password"?: string; /** 资金密码;sensitivity=credential(仅风险提示,不决定应用授权) */
|
|
436
435
|
"cfmmc_password"?: string; /** CFMMC密码;sensitivity=credential(仅风险提示,不决定应用授权) */
|
|
@@ -446,10 +445,6 @@ export interface Account {
|
|
|
446
445
|
"login_password_hint"?: string; /** 登录密码提示 */
|
|
447
446
|
"fund_password_hint"?: string; /** 资金密码提示 */
|
|
448
447
|
"cfmmc_password_hint"?: string; /** CFMMC密码提示 */
|
|
449
|
-
"profit_enabled"?: boolean; /** 计算盈亏 */
|
|
450
|
-
"commission_refund"?: number; /** 手续费返还 */
|
|
451
|
-
"positions_refund"?: number; /** 持仓返还 */
|
|
452
|
-
"interest"?: number; /** 利息 */
|
|
453
448
|
"memo"?: string; /** 备注 */
|
|
454
449
|
"primary_color"?: string; /** 主题色 */
|
|
455
450
|
}
|
|
@@ -1566,16 +1561,6 @@ export const AUTHORIZATION_FIELD_CATALOG = {
|
|
|
1566
1561
|
"system_required": false,
|
|
1567
1562
|
"blocked_reason": ""
|
|
1568
1563
|
},
|
|
1569
|
-
{
|
|
1570
|
-
"key": "fee_rate",
|
|
1571
|
-
"title": "交易手续费",
|
|
1572
|
-
"kind": "original",
|
|
1573
|
-
"type": "<class 'float'>",
|
|
1574
|
-
"sensitivity": "public",
|
|
1575
|
-
"selectable": true,
|
|
1576
|
-
"system_required": false,
|
|
1577
|
-
"blocked_reason": ""
|
|
1578
|
-
},
|
|
1579
1564
|
{
|
|
1580
1565
|
"key": "login_password",
|
|
1581
1566
|
"title": "登录密码",
|
|
@@ -1726,46 +1711,6 @@ export const AUTHORIZATION_FIELD_CATALOG = {
|
|
|
1726
1711
|
"system_required": false,
|
|
1727
1712
|
"blocked_reason": ""
|
|
1728
1713
|
},
|
|
1729
|
-
{
|
|
1730
|
-
"key": "profit_enabled",
|
|
1731
|
-
"title": "计算盈亏",
|
|
1732
|
-
"kind": "original",
|
|
1733
|
-
"type": "<class 'bool'>",
|
|
1734
|
-
"sensitivity": "public",
|
|
1735
|
-
"selectable": true,
|
|
1736
|
-
"system_required": false,
|
|
1737
|
-
"blocked_reason": ""
|
|
1738
|
-
},
|
|
1739
|
-
{
|
|
1740
|
-
"key": "commission_refund",
|
|
1741
|
-
"title": "手续费返还",
|
|
1742
|
-
"kind": "original",
|
|
1743
|
-
"type": "<class 'float'>",
|
|
1744
|
-
"sensitivity": "public",
|
|
1745
|
-
"selectable": true,
|
|
1746
|
-
"system_required": false,
|
|
1747
|
-
"blocked_reason": ""
|
|
1748
|
-
},
|
|
1749
|
-
{
|
|
1750
|
-
"key": "positions_refund",
|
|
1751
|
-
"title": "持仓返还",
|
|
1752
|
-
"kind": "original",
|
|
1753
|
-
"type": "<class 'float'>",
|
|
1754
|
-
"sensitivity": "public",
|
|
1755
|
-
"selectable": true,
|
|
1756
|
-
"system_required": false,
|
|
1757
|
-
"blocked_reason": ""
|
|
1758
|
-
},
|
|
1759
|
-
{
|
|
1760
|
-
"key": "interest",
|
|
1761
|
-
"title": "利息",
|
|
1762
|
-
"kind": "original",
|
|
1763
|
-
"type": "<class 'float'>",
|
|
1764
|
-
"sensitivity": "public",
|
|
1765
|
-
"selectable": true,
|
|
1766
|
-
"system_required": false,
|
|
1767
|
-
"blocked_reason": ""
|
|
1768
|
-
},
|
|
1769
1714
|
{
|
|
1770
1715
|
"key": "memo",
|
|
1771
1716
|
"title": "备注",
|
|
@@ -3599,14 +3544,6 @@ export const FIELD_SPECS = {
|
|
|
3599
3544
|
"required": true,
|
|
3600
3545
|
"sensitivity": "public"
|
|
3601
3546
|
},
|
|
3602
|
-
{
|
|
3603
|
-
"key": "fee_rate",
|
|
3604
|
-
"title": "交易手续费",
|
|
3605
|
-
"widget": "number",
|
|
3606
|
-
"enum": null,
|
|
3607
|
-
"required": false,
|
|
3608
|
-
"sensitivity": "public"
|
|
3609
|
-
},
|
|
3610
3547
|
{
|
|
3611
3548
|
"key": "login_password",
|
|
3612
3549
|
"title": "登录密码",
|
|
@@ -3727,38 +3664,6 @@ export const FIELD_SPECS = {
|
|
|
3727
3664
|
"required": false,
|
|
3728
3665
|
"sensitivity": "public"
|
|
3729
3666
|
},
|
|
3730
|
-
{
|
|
3731
|
-
"key": "profit_enabled",
|
|
3732
|
-
"title": "计算盈亏",
|
|
3733
|
-
"widget": "switch",
|
|
3734
|
-
"enum": null,
|
|
3735
|
-
"required": false,
|
|
3736
|
-
"sensitivity": "public"
|
|
3737
|
-
},
|
|
3738
|
-
{
|
|
3739
|
-
"key": "commission_refund",
|
|
3740
|
-
"title": "手续费返还",
|
|
3741
|
-
"widget": "number",
|
|
3742
|
-
"enum": null,
|
|
3743
|
-
"required": false,
|
|
3744
|
-
"sensitivity": "public"
|
|
3745
|
-
},
|
|
3746
|
-
{
|
|
3747
|
-
"key": "positions_refund",
|
|
3748
|
-
"title": "持仓返还",
|
|
3749
|
-
"widget": "number",
|
|
3750
|
-
"enum": null,
|
|
3751
|
-
"required": false,
|
|
3752
|
-
"sensitivity": "public"
|
|
3753
|
-
},
|
|
3754
|
-
{
|
|
3755
|
-
"key": "interest",
|
|
3756
|
-
"title": "利息",
|
|
3757
|
-
"widget": "number",
|
|
3758
|
-
"enum": null,
|
|
3759
|
-
"required": false,
|
|
3760
|
-
"sensitivity": "public"
|
|
3761
|
-
},
|
|
3762
3667
|
{
|
|
3763
3668
|
"key": "memo",
|
|
3764
3669
|
"title": "备注",
|