尝试获得预测概率时的神经网络错误

时间:2018-12-09 19:37:50

标签: r

我已经对某些数据运行了神经网络,但是在预测部分遇到了错误。神经网络可以很好地处理我提供的数据,但是计算功能是我出错的地方。

formula <- direction ~ rsi + momentum + roc + stoch + williamsad + 
  macd + adx + cmo + fastD + fastK + adx + ema

library(neuralnet)
nn.fit <- neuralnet(formula, data = train, hidden = c(5,3),
          linear.output = TRUE)
#plot(nn.fit)

pr.nn <- compute(nn.fit, test)

错误是:

Error in neurons[[i]] %*% weights[[i]] : non-conformable arguments

我在网上查看了一些建议说要删除我所做的因变量,但仍然有错误。当我使用data(Boston)运行此神经网络时,没有出现错误。您认为问题可能是什么?

数据:

test <- structure(c(0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 
1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 
0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 
1, 1, 1, -0.0087886549707602, -0.0126761843887159, -0.00564261535624044, 
-0.000163063285779752, 0.0109218040219923, -0.0123496969365746, 
0.0107583379894998, -0.00238224762817163, -0.0140550600772716, 
0.00447205724741084, 0.00849967727604639, 0.0134746513574004, 
-0.0175082604561083, 0.00624311091962526, 0.00961336070298957, 
-0.00351161432973557, 0.0119865692380838, -0.000979411358491888, 
0.00154179664734944, 0.00401563256651238, 0.00236642144094823, 
-0.0288956410622938, -0.00927928294838842, -0.00724068360804975, 
-0.00883402112865139, -0.050578649594534, -0.00175729735942876, 
0.0284994362552065, -0.0160618664481138, 0.026578190890364, -0.00498545221124236, 
-0.0248455856607925, 0.00780351501080179, 0.0042865888105148, 
0.00229749257318224, -0.0480025938734183, 0.0426949269209413, 
-0.0219976598372297, -0.0479621038301595, 0.0158124301340961, 
0.0391427032421665, -0.00628734072666692, -0.0114111785046729, 
-0.016733068328695, 0.0151141665758556, 0.0355934816870314, -0.0100512999471647, 
-0.0150129338873702, -0.0258125201711763, -0.00248399910225972, 
0.00734519052177562, 0.0201693332256125, -0.00302427056940058, 
-0.0390865579429535, 0.00564706862745101, 0.0115523854356538, 
-0.0132323129099419, 0.024162977965372, -0.00401476323174632, 
0.0400416930502221, 0.00190573730988342, 0.00563264240007388, 
1219.641992, 1216.0529905, 1211.9979856, 1206.3969847, 1199.9509886, 
1193.1179808, 1185.7209715, 1179.0619749, 1172.8479857, 1169.2699828, 
1167.7309814, 1169.2739868, 1169.3999878, 1170.2729858, 1171.0019897, 
1172.7689941, 1174.7, 1176.7939942, 1180.7199952, 1184.6089966, 
1187.7949951, 1185.9269897, 1185.0529907, 1182.6129883, 1178.0299805, 
1168.1029786, 1156.5709717, 1148.2319702, 1137.9259643, 1130.0429687, 
1121.3169677, 1113.2949707, 1107.2059692, 1102.4249755, 1098.911975, 
1095.860974, 1097.485974, 1093.6249755, 1086.4079772, 1077.9009704, 
1074.0089783, 1072.2119812, 1068.344989, 1062.2379822, 1057.449994, 
1061.7179994, 1060.4010072, 1059.8690125, 1061.7240113, 1061.7080201, 
1058.3970215, 1057.8680176, 1058.2380127, 1056.2290161, 1053.2240112, 
1047.6460082, 1041.7940063, 1040.0410034, 1040.6190063, 1045.6369994, 
1050.1010009, 1053.0730102, 1217.15554472911, 1212.80167770729, 
1208.2329423066, 1204.08123494406, 1201.53635399701, 1197.84907704491, 
1195.70439885016, 1193.49731600729, 1189.93090962564, 1187.19653451844, 
1185.66257561192, 1185.77756793459, 1183.90255822654, 1182.89945696687, 
1183.06617763669, 1182.8208264332, 1183.94646343956, 1184.8534641596, 
1185.84933033488, 1187.20748792203, 1188.70677011993, 1186.75278639422, 
1183.95251873763, 1180.62084752452, 1176.63980928409, 1167.55220563799, 
1159.14913329151, 1154.47587831137, 1148.54960418648, 1145.95250178776, 
1143.07035314131, 1137.82269769928, 1133.88338944221, 1130.76687940009, 
1128.18812336199, 1120.80925075608, 1118.40550744598, 1113.93545635589, 
1104.9968430839, 1098.44571145686, 1096.38135988954, 1093.86884942387, 
1090.43277224064, 1085.63821926534, 1082.79744209722, 1083.80625856415, 
1083.6723314628, 1082.00354027587, 1077.87272739245, 1073.8896151646, 
1071.01060743464, 1070.41054586943, 1069.56096911996, 1064.84087682282, 
1061.11888950636, 1058.87994622004, 1055.5466184848, 1054.88694005768, 
1053.88913948076, 1056.96921953021, 1059.95310805114, 1063.23662671294, 
41.3952548987526, 39.6467050713014, 39.3953595896288, 36.8289128008105, 
42.8772642627352, 37.5760511024063, 42.0791664435174, 36.4236440580649, 
25.1434697637668, 29.0666072154372, 25.3668839063101, 34.1040319281821, 
34.1351918720353, 42.138526061446, 49.3942545777117, 53.2282422165058, 
60.0907410718325, 59.6946479180297, 56.5126081396889, 64.5584522103826, 
61.6638469740838, 48.5567687748239, 50.4491176695018, 45.8595330253583, 
39.1134283844586, 22.2017732449298, 24.6509068125481, 33.7409449463083, 
27.0354908046699, 36.9033514343542, 31.849732552439, 28.384694400023, 
30.2843907497844, 30.2566110685775, 30.1702095862, 28.1229085893699, 
39.7891005017724, 37.8236546439287, 33.4844836408483, 42.9231744072258, 
49.6425369989148, 43.9761986844232, 44.7318583977582, 37.1424843378588, 
40.8120228103859, 50.807226927847, 47.9214803669887, 44.995279725301, 
41.3197867616665, 47.7401787161256, 40.9599257198947, 48.8101085201251, 
58.7773921954413, 46.8976151314924, 38.7370234461344, 43.0052200556536, 
42.7247275761847, 51.7764243779359, 47.5063348907638, 48.4623219235214, 
51.3175593621287, 56.6142900584089, -14.479981, -36.3300789999998, 
-36.790039, -42.6899410000001, -28.0200199999999, -57.830078, 
-66.48999, -58.619995, -93.25, -77.900024, -47.0999750000001, 
-10.130005, -20.3900140000001, 1.93005399999993, 19.820068, 15.8499750000001, 
17.2800299999999, 30.6500249999999, 19.9801029999999, 27.579956, 
46.8999020000001, 6.9699700000001, -13.73999, -37.900024, -27.2700199999999, 
-92.150024, -105.330078, -70.410034, -102.390015, -72.189942, 
-79.6201179999998, -112.140014, -106.48999, -67.0299070000001, 
-53.6600349999999, -98.26001, -43.25, -9.75, -59.2399290000001, 
-73.869995, -15.4799800000001, -51.280029, -57.8999020000001, 
-47.880005, -40.6499020000001, -7.77001900000005, -21.2899170000001, 
15.440063, -56.9399410000001, -35.419922, 23.580017, 28.5, -15.2800299999999, 
-50, -32.030029, -2.47998099999995, -31.9300539999999, -44.7700199999999, 
-37.98999, 20.079956, 49.670044, 58.380005, -0.0369577878306506, 
-0.0643497227781094, -0.0618263303728748, -0.0449540628540124, 
-0.0165437954424839, -0.0201428806167474, 0.00331521089287889, 
0.0065887162483893, -0.00740297497164288, -0.0138034795252402, 
0.00708686703803085, 0.0097706638268491, -0.00550758934150863, 
0.0148708818967105, 0.0199762409613848, 0.0079946880333539, 0.00652531170373116, 
0.0232087632715174, 0.0185256691345472, 0.012965814191138, 0.0188472345861976, 
-0.0223894054190623, -0.0307321178168358, -0.0395397517017582, 
-0.0524206155642792, -0.106686826243081, -0.0791243287288781, 
-0.041700843048468, -0.0506260747757752, -0.0155216754472765, 
0.0313829883191348, 0.00798238469401547, -0.0123452722292345, 
0.00812441164353306, -0.0158118578835529, -0.0600069056977848, 
0.00696117861714018, -0.0230552625927682, -0.0764831282344325, 
-0.0630892695041085, 0.0244997487533043, -0.0236160780123607, 
-0.0128496474489905, 0.0194261429225948, 0.0187385123731847, 
0.0153171376045522, 0.0115221715735752, 0.00787218840953852, 
-0.00140467331860261, -0.0188928482186341, -0.0465491768740778, 
-0.0164783950656826, -0.0043804792361124, -0.0180999145663217, 
-0.00998164151028913, -0.00581382135522279, -0.0391030878479981, 
-0.0121985628088801, 0.0236495379306092, 0.0572791560421972, 
0.0476969136015821, 0.0666343919981838, 0.267146585131601, 0.19127209216588, 
0.126235595391785, 0.124366741342378, 0.249520170264164, 0.106458847202358, 
0.229546452546224, 0.201997608894809, 0.039848955591188, 0.090716486376102, 
0.187828642905629, 0.402376890366787, 0.231020959341033, 0.507868967156531, 
0.833113704576169, 0.709636397302735, 0.864831149849731, 0.843630837662413, 
0.76837645156, 0.843774981690305, 0.888818110764824, 0.337508828519343, 
0.188617942828655, 0.261586164754549, 0.138698476330807, 0.000698331372557513, 
0.0779866652636981, 0.295080481401288, 0.169242642284677, 0.374126833746088, 
0.33467387074429, 0.139035635564278, 0.198955132601827, 0.238091868153423, 
0.274063167290559, 0.0157900836974924, 0.392671072222785, 0.31082655822164, 
0.177864127898405, 0.303243858422831, 0.607840338027103, 0.556999084101647, 
0.465305155926999, 0.33238178112277, 0.475994494688669, 0.838144579135303, 
0.743728818882872, 0.610681976510926, 0.371689116391639, 0.349283933334828, 
0.432068760751354, 0.680564460306115, 0.641326312023294, 0.0472221251753051, 
0.299074895871066, 0.418242052255441, 0.280168961483997, 0.528962250691601, 
0.486625530077496, 0.927608843187662, 0.939476227914539, 0.988549544476807, 
0.286362362544899, 0.19745799486588, 0.194884757563089, 0.147291476300014, 
0.166707502332776, 0.1601152529363, 0.195175156670916, 0.179334302881131, 
0.157131005677407, 0.110854350287367, 0.106131361624307, 0.226974006549506, 
0.273742164204483, 0.380422272288117, 0.524001210357911, 0.683539689678479, 
0.802527083909545, 0.806032794938293, 0.825612813024048, 0.818594090304239, 
0.83365651467171, 0.690033973658157, 0.471648294037607, 0.262570978700849, 
0.196300861304671, 0.133660990819305, 0.0724611576556877, 0.124588492679181, 
0.180769929649888, 0.279483319144018, 0.292681115591686, 0.282612113351552, 
0.224221546303465, 0.192027545439843, 0.237036722681937, 0.175981706380492, 
0.227508107736946, 0.239762571380639, 0.293787252780943, 0.263978181514292, 
0.36298277478278, 0.489361093517194, 0.543381526018583, 0.451562007050472, 
0.424560477246146, 0.548840284982248, 0.685955964235615, 0.7308517915097, 
0.575366637261812, 0.443885008745798, 0.384347270159274, 0.487305718130766, 
0.584653177693588, 0.456370965834905, 0.329207777689889, 0.254846357767271, 
0.332495303203502, 0.409124421477013, 0.431918914084365, 0.647732207985587, 
0.784570200393233, 0.951878205193003, 0.493700788756701, 0.313493616431776, 
0.226235038324622, 0.179878076242994, 0.169627912065293, 0.158038077189697, 
0.173999303979997, 0.178208237496115, 0.177213488409818, 0.149106552948635, 
0.124705572529693, 0.147986572820393, 0.202282510792765, 0.293712814347368, 
0.392721882283503, 0.529321057441502, 0.670022661315311, 0.764033189508772, 
0.811390897290629, 0.81674656608886, 0.825954472666665, 0.780761526211368, 
0.665112927455824, 0.474751082132204, 0.310173378014376, 0.197510943608275, 
0.134141003259887, 0.110236880384724, 0.125939859994919, 0.194947247157696, 
0.250978121461864, 0.284925516029085, 0.266504925082234, 0.23295373503162, 
0.217761938141748, 0.201681991500757, 0.213508845599791, 0.214417461832692, 
0.253685977299509, 0.265842668558625, 0.306916069692672, 0.372107349938089, 
0.465241798106185, 0.494768208862083, 0.4731680034384, 0.474987589759622, 
0.553118908821336, 0.655216013575854, 0.664058131002376, 0.58336781250577, 
0.467866305388961, 0.438512665678613, 0.485435388661209, 0.509443287219753, 
0.45674397373946, 0.346808367097355, 0.305516479553554, 0.332155360815929, 
0.39117954625496, 0.496258514515655, 0.621407107487728, 0.794726871190607, 
160.514706000001, 145.474667000001, 135.044613000001, 125.144589000001, 
146.264584000001, 130.474545000001, 142.984555000001, 135.089535000001, 
113.899594000001, 119.069516000001, 135.579526000001, 151.359555000001, 
125.239560000001, 151.699521000001, 168.349545000001, 154.609555000001, 
168.759580000001, 166.819517000001, 171.829527000001, 185.309507000001, 
194.429502000001, 159.669492000001, 143.519468000001, 124.489439000001, 
108.959409000001, 51.3594340000012, 24.2793560000013, 55.0393660000012, 
33.8433210000013, 62.8733500000013, 49.5733010000014, 15.7033060000014, 
24.4132670000014, 34.5733010000014, 68.2632420000015, 12.8532080000015, 
57.7131930000015, 22.6531350000015, -54.3068869999985, -18.8469259999985, 
21.7131330000014, 7.73815700000148, -17.4467799999985, -35.8267849999985, 
-18.0866719999987, 19.4932840000014, 8.50329300000146, -7.74670699999854, 
-35.2667259999986, -55.8216569999987, -43.1616229999987, -10.2316909999987, 
-15.7417009999987, -57.2316909999987, -27.4917009999988, -15.6417259999987, 
-29.3717059999988, -4.63171599999873, -17.8016379999988, 32.6683320000013, 
44.9683810000013, 61.5184300000012, 0.0945647122408966, -0.207342179969661, 
-0.486623528570296, -0.702558194464264, -0.779842612684167, -0.929276617303287, 
-0.952548675741816, -0.979009047354784, -1.10002521014639, -1.1481167796455, 
-1.10624939259879, -0.954059246823802, -0.964579951887179, -0.91265728030856, 
-0.78516253885178, -0.704472464450179, -0.537530058482638, -0.408598539871152, 
-0.290594113124909, -0.162628829840217, -0.0415969042502295, 
-0.179723612079463, -0.35932129735553, -0.553313442113068, -0.76891578831243, 
-1.32552684032651, -1.76608505688897, -1.8810991542643, -2.0764993345755, 
-2.00363007182556, -1.96349070241835, -2.1064835778607, -2.13604297281614, 
-2.10236178471729, -2.03453618647178, -2.33924734690858, -2.23087749035025, 
-2.29530246116918, -2.6963526976723, -2.86736868505824, -2.671916078035, 
-2.53847231407587, -2.49574239005846, -2.56630443732262, -2.47678164598892, 
-2.09881491409768, -1.86030071308219, -1.77278820108866, -1.88931412704693, 
-1.97994322488904, -1.97252797209144, -1.7865107982828, -1.64455221323794, 
-1.82721392081028, -1.90785423563825, -1.86038859312331, -1.9070128098753, 
-1.73386085930561, -1.61049681623247, -1.17752705723866, -0.810113609424912, 
-0.467766151275695, -0.12466356382512, -0.103443084245079, -0.0984260999490645, 
-0.106361459241706, -0.0371633250331011, -0.095501287346672, 
-0.0232728510570724, -0.000746857663691457, -0.0536396619406471, 
-0.0983115982687512, -0.0252674937978978, -0.00625837828798285, 
-0.121838355337009, -0.118279026866128, -0.126858920353879, -0.118413060708591, 
-0.145003155601793, -0.0992844220187754, -0.0929617723559604, 
-0.0505128552596192, -0.0553340701288295, -0.0930197234433898, 
-0.0918332042156568, -0.0715329913357135, -0.143334925459346, 
-0.198412514138738, -0.251889831635728, -0.194853566259866, -0.192398924264163, 
-0.129022216755212, -0.153704456963569, -0.200777237236433, -0.0961534381507708, 
-0.12412578688328, -0.100768139461453, -0.135033876229474, -0.118864433015878, 
-0.129716332930625, -0.154604020718127, -0.0855920913198347, 
-0.0883776246678051, -0.0798029733350319, -0.10724667429884, 
-0.108077699412964, -0.0735588374637929, 0.0263803690337314, 
0.0553530981611726, 0.0285267586933477, 0.0346144020602773, -0.0214938087084627, 
-0.0188945039669666, 0.035731357707829, 0.0578561495290068, 0.0220886402454629, 
0.0262450336312728, 0.0539124768678598, 0.0263856176446581, 0.0688791275970572, 
0.110131806358388, 0.0961423027353394, 0.104379467913792, 0.177651626450485, 
-17.2094902024949, -20.7065898573971, -21.2092808207424, -26.342174398379, 
-14.2454714745297, -24.8478977951875, -15.8416671129651, -27.1527118838703, 
-49.7130604724664, -41.8667855691257, -49.2662321873798, -31.7919361436358, 
-31.7296162559294, -15.722947877108, -1.21149084457668, 6.45648443301156, 
20.181482143665, 19.3892958360593, 13.0252162793778, 29.1169044207652, 
23.3276939481675, -2.8864624503523, 0.8982353390035, -8.28093394928339, 
-21.7731432310828, -55.5964535101404, -50.6981863749038, -32.5181101073833, 
-45.9290183906602, -26.1932971312915, -36.300534895122, -43.230611199954, 
-39.4312185004312, -39.486777862845, -39.6595808276, -43.7541828212602, 
-20.4217989964551, -24.3526907121427, -33.0310327183034, -14.1536511855483, 
-0.714926002170337, -12.0476026311536, -10.5362832044836, -25.7150313242823, 
-18.3759543792282, 1.61445385569407, -4.15703926602252, -10.009440549398, 
-17.3604264766671, -4.51964256774881, -18.0801485602107, -2.37978295974984, 
17.5547843908826, -6.20476973701525, -22.5259531077313, -13.9895598886929, 
-14.5505448476306, 3.55284875587178, -4.98733021847241, -3.07535615295712, 
2.63511872425739, 13.2285801168177, 0.732853414868399, 0.80872790783412, 
0.873764404608215, 0.875633258657622, 0.750479829735835, 0.893541152797642, 
0.770453547453776, 0.798002391105191, 0.960151044408812, 0.909283513623898, 
0.812171357094371, 0.597623109633213, 0.768979040658967, 0.492131032843469, 
0.166886295423831, 0.290363602697265, 0.135168850150269, 0.156369162337587, 
0.23162354844, 0.156225018309696, 0.111181889235176, 0.662491171480657, 
0.811382057171345, 0.738413835245451, 0.861301523669193, 0.999301668627443, 
0.922013334736302, 0.704919518598712, 0.830757357715323, 0.625873166253912, 
0.66532612925571, 0.860964364435722, 0.801044867398173, 0.761908131846577, 
0.725936832709441, 0.984209916302508, 0.607328927777215, 0.68917344177836, 
0.822135872101595, 0.696756141577169, 0.392159661972897, 0.443000915898353, 
0.534694844073001, 0.66761821887723, 0.524005505311331, 0.161855420864697, 
0.256271181117128, 0.389318023489074, 0.628310883608361, 0.650716066665172, 
0.567931239248646, 0.319435539693885, 0.358673687976706, 0.952777874824695, 
0.700925104128934, 0.581757947744559, 0.719831038516003, 0.471037749308399, 
0.513374469922504, 0.072391156812338, 0.0605237720854607, 0.0114504555231929, 
17.210754781033, 15.3588758497097, 14.4807069316754, 13.8011458908699, 
14.1398297894957, 13.2047713568157, 12.5100714839495, 12.6139117530013, 
11.6154897774763, 10.8195798103691, 10.1246736348532, 15.2528186952949, 
13.8938906347461, 12.4722387166069, 14.6399433344812, 16.1451437531643, 
17.6092047407456, 16.9439203077157, 20.8254433902126, 19.1530976858253, 
18.2997405352724, 15.4992015007402, 14.1064535028787, 12.3897031782667, 
11.7536756611246, 9.87628602805234, 8.86805401652854, 10.2891576886087, 
9.62659878211994, 11.6283098901297, 12.0591402557481, 10.713915400291, 
10.1008212926621, 10.0301197352732, 9.07593176158749, 7.85693763060255, 
7.88420558447113, 6.73451889916741, 5.52278082716906, 5.15983782517208, 
14.1315236401471, 13.584010637925, 12.875733680035, 11.9919238830938, 
12.5059897948644, 17.4252371280596, 16.7083211797324, 15.7438789000901, 
14.6509320579893, 13.8984682000024, 13.2215095598314, 15.6715743667883, 
15.0737331570749, 13.6646767087135, 12.6583177111721, 15.6031074959425, 
15.0810091279843, 16.8428355510016, 18.0057001955862, 22.4179892300527, 
23.1705695336079, 22.520477800947, 33.3027055823339, 32.83998549478, 
30.9623054606155, 29.5092840975127, 27.3590738895803, 25.5498348017255, 
24.2056640842713, 23.1988628844381, 26.2392904480687, 24.4413367502457, 
23.7368727584287, 22.1881703923882, 22.7033687241291, 26.6763055917008, 
25.0031704460405, 23.3753739440201, 21.6872834407498, 20.8679271847315, 
19.4465044341437, 19.1481412270936, 18.2950049092003, 27.8527679208634, 
28.6606273202365, 30.4903311060223, 28.9251047796787, 39.9322299886724, 
39.2987294368619, 35.6329836258634, 33.3384371352188, 30.5663517767769, 
28.4320877600315, 31.5173167547607, 29.7137668415245, 28.0884405813129, 
30.6888935161812, 31.5434258466655, 27.3831741104635, 30.5282163195294, 
31.8370793653682, 29.7448281025916, 26.861192105804, 25.8204797022716, 
25.9171688161933, 30.2906544102254, 28.7887422805391, 26.6419705109783, 
25.5458560986569, 27.8343627913576, 30.2687568318632, 28.7141700347897, 
27.3465870775286, 25.1071081818422, 24.1493190295508, 28.6541929013691, 
30.7169470274811, 29.2368391524186, 30.6939369539443, 28.9498739535318, 
27.6784401906929, 24.5691119911675, 23.5514118867754, 22.5750164227196, 
31.8567579523241, 36.2687191303718, 36.2687191303718, 36.2687191303718, 
31.8544417517945, 31.8544417517945, 31.8544417517945, 29.5563559053901, 
38.6313183789771, 38.6313183789771, 40.1995790903282, 18.5234200967591, 
24.0714147553966, 36.282490514161, 26.1413045628399, 18.2948772236627, 
10.377717930338, 10.377717930338, 3.42406819278531, 0.0129407269120847, 
0.0129407269120704, 28.4959751193381, 34.0312537990469, 42.2122515288836, 
42.2122515288836, 60.3429822131779, 63.1777196618916, 55.1886850478108, 
55.1886850478108, 44.8825541869444, 40.4357889513815, 49.2607018381329, 
49.2607018381329, 47.3740894096207, 54.3519595612981, 60.1174357940348, 
55.2889630436394, 63.8538670892398, 70.4346815073347, 70.4346815073347, 
31.0534889772807, 31.0534889772806, 33.6180958293242, 43.2772344207375, 
39.4305802879231, 20.9151745180101, 20.9151745180101, 27.7443132673254, 
34.7683280090616, 34.7683280090616, 34.8181913584998, 23.1383978719802, 
23.1383978719802, 35.4204078009785, 41.6334734211233, 30.4053253305431, 
34.1080201340178, 26.4387902212504, 21.1730808839118, 4.57811336559603, 
0.815124576461957, 0.120940290624398, 16.5352789537625, 17.9448103949488, 
19.2536610189076, 20.4690223125836, 21.2822665582416, 22.0374219292096, 
22.7386376308228, 23.2256175075776, 24.3260247126776, 25.3478314031276, 
26.4086705236419, 25.8454383502931, 25.7187223792291, 26.4732772460099, 
26.4495649114978, 25.8670872195096, 24.7607036988545, 23.7333475725319, 
22.2826847596928, 20.6919887573513, 19.2149138980343, 19.8778468424131, 
20.8888044821727, 22.411907842652, 23.8262181059543, 26.4345583993274, 
29.059069918082, 30.9254709987769, 32.658557716565, 33.5317003215921, 
34.0248495094342, 35.1131246757699, 36.1236659016529, 36.9272675807935, 
38.1718884365438, 39.7394275335075, 40.850108641374, 42.493234244793, 
44.4890519064031, 46.3423111636125, 45.2502524360174, 44.2361979032505, 
43.4777620408272, 43.4634386393922, 43.175377328573, 41.5853628421042, 
40.1089208189546, 39.2257345652668, 38.9073483826808, 38.6117040702794, 
38.3407388765809, 37.2548573762522, 36.2465388402328, 36.1875294802861, 
36.5765254760601, 36.1357254656661, 35.9908893705484, 35.3085965741699, 
34.2989168820086, 32.176002345122, 29.9359396473606, 27.8062968361651
), class = c("xts", "zoo"), .indexCLASS = "Date", .indexTZ = "UTC", tclass = "Date", tzone = "UTC", src = "yahoo", updated = structure(1544383824.5989, class = c("POSIXct", 
"POSIXt")), index = structure(c(1536105600, 1536192000, 1536278400, 
1536537600, 1536624000, 1536710400, 1536796800, 1536883200, 1537142400, 
1537228800, 1537315200, 1537401600, 1537488000, 1537747200, 1537833600, 
1537920000, 1538006400, 1538092800, 1538352000, 1538438400, 1538524800, 
1538611200, 1538697600, 1538956800, 1539043200, 1539129600, 1539216000, 
1539302400, 1539561600, 1539648000, 1539734400, 1539820800, 1539907200, 
1540166400, 1540252800, 1540339200, 1540425600, 1540512000, 1540771200, 
1540857600, 1540944000, 1541030400, 1541116800, 1541376000, 1541462400, 
1541548800, 1541635200, 1541721600, 1541980800, 1542067200, 1542153600, 
1542240000, 1542326400, 1542585600, 1542672000, 1542758400, 1542931200, 
1543190400, 1543276800, 1543363200, 1543449600, 1543536000), tzone = "UTC", tclass = "Date"), .Dim = c(62L, 
19L), .Dimnames = list(NULL, c("direction", "returns", "sma", 
"ema", "rsi", "momentum", "roc", "fastK", "fastD", "stoch", "williamsad", 
"macd", "cmf", "cmo", "wpr", "DIp", "DIn", "DX", "adx")))

0 个答案:

没有答案