|
@@ -371,3 +371,19 @@ export const THSCommonIndexFuturesCodeArr=[
|
|
|
{value:'ths_swing_d_future',label:bus.$i18nt.t('EtaBasePage.fluctua_day')/* "日振幅" */},
|
|
|
{value:'ths_open_interest_future',label:bus.$i18nt.t('EtaBasePage.open_inter')/* "持仓量" */},
|
|
|
]
|
|
|
+// 生成序列数组
|
|
|
+export function generateSeriesArray(){
|
|
|
+ let result = [];
|
|
|
+ const alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
|
|
|
+ for(let i=0;i<26;i++) result.push(String.fromCharCode(65+i))
|
|
|
+ for (let i = 0; i < 26; i++) {
|
|
|
+ const firstChar = alphabet[i];
|
|
|
+
|
|
|
+ for (let j = 0; j < 26; j++) {
|
|
|
+ const secondChar = alphabet[j];
|
|
|
+ result.push(firstChar + secondChar);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ return result;
|
|
|
+}
|