提交 dbb79816 编写于 作者: HQChart's avatar HQChart

ver 8050

8049 小程序 GetMarketStatus() 修正港股交易时间写错了
8048 小程序 IsSHSZStockA() 修正判断中小板错误
8047 IsSHSZStockA() 修正判断中小板错误
上级 80ea68d5
......@@ -40226,7 +40226,7 @@ var MARKET_SUFFIX_NAME=
{
if (upperSymbol.charAt(0)=='0')
{
if (upperSymbol.charAt(1)=='0' && upperSymbol.charAt(1)=='2') return true; //002 中小板
if (upperSymbol.charAt(1)=='0' && upperSymbol.charAt(2)=='2') return true; //002 中小板
if (upperSymbol.charAt(1)!='7' && upperSymbol.charAt(1)!='8') return true;
}
}
......@@ -36881,7 +36881,7 @@ var MARKET_SUFFIX_NAME=
{
if (upperSymbol.charAt(0)=='0')
{
if (upperSymbol.charAt(1)=='0' && upperSymbol.charAt(1)=='2') return true; //002 中小板
if (upperSymbol.charAt(1)=='0' && upperSymbol.charAt(2)=='2') return true; //002 中小板
if (upperSymbol.charAt(1)!='7' && upperSymbol.charAt(1)!='8') return true;
}
}
......@@ -40267,7 +40267,7 @@ var MARKET_SUFFIX_NAME=
{
if (upperSymbol.charAt(0)=='0')
{
if (upperSymbol.charAt(1)=='0' && upperSymbol.charAt(1)=='2') return true; //002 中小板
if (upperSymbol.charAt(1)=='0' && upperSymbol.charAt(2)=='2') return true; //002 中小板
if (upperSymbol.charAt(1)!='7' && upperSymbol.charAt(1)!='8') return true;
}
}
......@@ -36881,7 +36881,7 @@ var MARKET_SUFFIX_NAME=
{
if (upperSymbol.charAt(0)=='0')
{
if (upperSymbol.charAt(1)=='0' && upperSymbol.charAt(1)=='2') return true; //002 中小板
if (upperSymbol.charAt(1)=='0' && upperSymbol.charAt(2)=='2') return true; //002 中小板
if (upperSymbol.charAt(1)!='7' && upperSymbol.charAt(1)!='8') return true;
}
}
......@@ -36881,7 +36881,7 @@ var MARKET_SUFFIX_NAME=
{
if (upperSymbol.charAt(0)=='0')
{
if (upperSymbol.charAt(1)=='0' && upperSymbol.charAt(1)=='2') return true; //002 中小板
if (upperSymbol.charAt(1)=='0' && upperSymbol.charAt(2)=='2') return true; //002 中小板
if (upperSymbol.charAt(1)!='7' && upperSymbol.charAt(1)!='8') return true;
}
}
......@@ -183,7 +183,7 @@ var MARKET_SUFFIX_NAME=
{
if (upperSymbol.charAt(0) == '0')
{
if (upperSymbol.charAt(1) == '0' && upperSymbol.charAt(1) == '2') return true; //002 中小板
if (upperSymbol.charAt(1) == '0' && upperSymbol.charAt(2) == '2') return true; //002 中小板
if (upperSymbol.charAt(1) != '7' && upperSymbol.charAt(1) != '8') return true;
}
}
......@@ -245,6 +245,13 @@ var MARKET_SUFFIX_NAME=
{
return this.GetETMarketStatus(symbol);
}
else if (this.IsHK(upperSymbol)) //港股
{
if (day == 6 || day == 0) return 0; //周末
if (time > 1630) return 3;
if (time < 925) return 1;
return 2;
}
else //9:30 - 15:40
{
if (day == 6 || day == 0) return 0; //周末
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册