ソースを参照

查市场交易配置接口增加积分上下限字段

zou.yingbin 4 年 前
コミット
a0792201bf
4 ファイル変更46 行追加0 行削除
  1. 16 0
      docs/docs.go
  2. 16 0
      docs/swagger.json
  3. 12 0
      docs/swagger.yaml
  4. 2 0
      models/wrTrade2.go

+ 16 - 0
docs/docs.go

@@ -18969,6 +18969,10 @@ var doc = `{
                     "description": "交易账号名称",
                     "type": "string"
                 },
+                "agreeunit": {
+                    "description": "商品合约单位",
+                    "type": "number"
+                },
                 "begindate": {
                     "description": "开始交易日",
                     "type": "string"
@@ -19101,6 +19105,10 @@ var doc = `{
                     "description": "交易品种代码",
                     "type": "string"
                 },
+                "qtydecimalplace": {
+                    "description": "成交量小数位",
+                    "type": "integer"
+                },
                 "reckondate": {
                     "description": "日照时期(yyyyMMdd)",
                     "type": "string"
@@ -30060,6 +30068,14 @@ var doc = `{
         "models.WrMarketTradeConfig": {
             "type": "object",
             "properties": {
+                "basisdownratio": {
+                    "description": "浮动价基差下限比例(仓单贸易)",
+                    "type": "number"
+                },
+                "basisupratio": {
+                    "description": "浮动价基差上限比例(仓单贸易)",
+                    "type": "number"
+                },
                 "buychargealgorithm": {
                     "description": "买方手续费收取方式 1:比率  2:固定",
                     "type": "integer"

+ 16 - 0
docs/swagger.json

@@ -18953,6 +18953,10 @@
                     "description": "交易账号名称",
                     "type": "string"
                 },
+                "agreeunit": {
+                    "description": "商品合约单位",
+                    "type": "number"
+                },
                 "begindate": {
                     "description": "开始交易日",
                     "type": "string"
@@ -19085,6 +19089,10 @@
                     "description": "交易品种代码",
                     "type": "string"
                 },
+                "qtydecimalplace": {
+                    "description": "成交量小数位",
+                    "type": "integer"
+                },
                 "reckondate": {
                     "description": "日照时期(yyyyMMdd)",
                     "type": "string"
@@ -30044,6 +30052,14 @@
         "models.WrMarketTradeConfig": {
             "type": "object",
             "properties": {
+                "basisdownratio": {
+                    "description": "浮动价基差下限比例(仓单贸易)",
+                    "type": "number"
+                },
+                "basisupratio": {
+                    "description": "浮动价基差上限比例(仓单贸易)",
+                    "type": "number"
+                },
                 "buychargealgorithm": {
                     "description": "买方手续费收取方式 1:比率  2:固定",
                     "type": "integer"

+ 12 - 0
docs/swagger.yaml

@@ -5295,6 +5295,9 @@ definitions:
       accountname:
         description: 交易账号名称
         type: string
+      agreeunit:
+        description: 商品合约单位
+        type: number
       begindate:
         description: 开始交易日
         type: string
@@ -5394,6 +5397,9 @@ definitions:
       outergroupcode:
         description: 交易品种代码
         type: string
+      qtydecimalplace:
+        description: 成交量小数位
+        type: integer
       reckondate:
         description: 日照时期(yyyyMMdd)
         type: string
@@ -13571,6 +13577,12 @@ definitions:
     type: object
   models.WrMarketTradeConfig:
     properties:
+      basisdownratio:
+        description: 浮动价基差下限比例(仓单贸易)
+        type: number
+      basisupratio:
+        description: 浮动价基差上限比例(仓单贸易)
+        type: number
       buychargealgorithm:
         description: 买方手续费收取方式 1:比率  2:固定
         type: integer

+ 2 - 0
models/wrTrade2.go

@@ -1650,6 +1650,8 @@ type WrMarketTradeConfig struct {
 	SELLCHARGEALGORITHM2      int32   `json:"sellchargealgorithm2"  xorm:"SELLCHARGEALGORITHM2" form:"sellchargealgorithm2"`                // 回购卖方手续费收取方式  1:比率  2:固定 --77:现货商城
 	SELLCHARGEALGORITHMVALUE3 float64 `json:"sellchargealgorithmvalue3"  xorm:"SELLCHARGEALGORITHMVALUE3" form:"sellchargealgorithmvalue3"` // 回购卖方手续费设置值(交易所部分) --77:现货商城
 	SELLCHARGEALGORITHMVALUE4 float64 `json:"sellchargealgorithmvalue4"  xorm:"SELLCHARGEALGORITHMVALUE4" form:"sellchargealgorithmvalue4"` // 回购卖方手续费设置值(会员部分) --77:现货商城
+	BASISUPRATIO              float64 `json:"basisupratio"  xorm:"'BASISUPRATIO'"`                                                          // 浮动价基差上限比例(仓单贸易)
+	BASISDOWNRATIO            float64 `json:"basisdownratio"  xorm:"'BASISDOWNRATIO'"`                                                      // 浮动价基差下限比例(仓单贸易)
 }
 
 func (r *WrMarketTradeConfig) calc() {