[{"data":1,"prerenderedAt":332},["ShallowReactive",2],{"project-16958446":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":27,"sentiment":28,"stance_mix":29,"scored_comments":34,"aspects":35,"strip":42,"post_text":44,"what":45,"said":81,"maker_in_thread":180,"shape":185,"grid":189,"attempts":294,"same_week":295,"maker_shows":43,"maker_hidden":324,"reader_version":325,"card":326},"16958446","stocks","A free, lightweight static page to get stock quotes using the IEX API","title","Show HN: A free, lightweight static page to get stock quotes using the IEX API","https:\u002F\u002Fgithub.com\u002Ftoddwschneider\u002Fstocks","github.com","lil_tee",1525095355,2018,207,41,170,2155,8,"notable","finance_crypto","stock quotes","web_app",[21,24,25,26],"iex api","stock portfolio","javascript","curious",0.189,{"positive":30,"neutral":31,"mixed":32,"critical":33},6,11,0,2,19,{"execution":36,"idea":38,"docs":39,"design":40},{"positive":33,"critical":37},1,{"positive":37,"critical":37},{"positive":32,"critical":32},{"positive":41,"critical":32},3,[43,32,32,41,37,41,32,32,32,41,32,32,32,32,32,32,41,32,32,32,43,32,41,43,37,41,41,43,32,41,32,32,43,41,32,32,32,41,41,43],5,null,{"problem":46,"audience":44,"pricing":52,"motivation":44,"time_to_build":44,"stack":57,"openness":78,"stage":79,"team_size":80},{"value":47,"source":48,"evidence":49},"Getting stock quotes quickly without a heavy finance site","inferred",[50],{"id":51},"post",{"value":53,"source":54,"evidence":55},"free","maker",[56],{"id":51},[58,70],{"value":59,"source":60,"evidence":61},"vanilla JavaScript","commenter",[62,66],{"id":63,"by":64,"text":65},"16959661","djhworld","One thing I've taken away from this is vanilla Javascript seems to have come a long way, or I've just never taken the time to fully appreciate all the features For example I…",{"id":67,"by":68,"text":69},"16960672","mcintyre1994","There's some really good examples of this in Wes Bos' (free) javascript30.com course - 30 short videos all using vanilla Javascript and showing some really neat new features.…",{"value":71,"source":54,"evidence":72},"IEX API",[73,74],{"id":51},{"id":75,"by":76,"text":77},"16959109","samfisher83","It uses the iex api. I have used the api before its really good. Here is the code author uses to get data: ``` const BASE_URL =…","open_source","launched","unknown",{"praise":82,"objections":103,"requests":122,"questions":149,"alternatives":160},[83,99],{"value":84,"source":60,"evidence":85},"Clean simple design and modern vanilla JS code",[86,90,94,98],{"id":87,"by":88,"text":89},"16959009","brandur","This is great. I love the simple, succinct interface — I wish real financial companies like my trading account and my bank had even half this much sense when it comes to…",{"id":91,"by":92,"text":93},"16958830","roadbeats","I'm not into stocks, but like the way you coded it. We don't see this sort of good examples that combines the old school simplicity and new JS \u002F DOM API features.",{"id":95,"by":96,"text":97},"16958742","mikeokner","Really cool! I love simple solutions like this.",{"id":63,"by":64,"text":65},{"value":100,"source":60,"evidence":101},"Batch requests and handling of over 100 symbols",[102],{"id":87,"by":88,"text":89},[104,111],{"value":105,"source":60,"evidence":106},"Does not support portfolio holdings like Google Finance did",[107],{"id":108,"by":109,"text":110},"16961021","vigneshv_psg","hmm, while this is cool i am not sure if it is a full-fledged replacement for the Google Finance \"portfolios\" feature. That lets you add the number of stocks you own for each…",{"value":112,"source":60,"evidence":113},"Calling it static is confusing when it uses JavaScript",[114,118],{"id":115,"by":116,"text":117},"16959294","janvidar","What makes this a \"static page\"? It's all non-interactive javascript.",{"id":119,"by":120,"text":121},"16961446","IloveHN84","But if a website uses JavaScript, how can you say it is static? IMHO, static is only Html+css...",[123,131,138],{"value":124,"source":60,"evidence":125},"Support portfolio tracking with share counts",[126,127],{"id":108,"by":109,"text":110},{"id":128,"by":129,"text":130},"16961596","mark212","I'm no JS expert by any stretch but it seems pretty simple to add in code for that here. It'd be a chore to hard-code a big portfolio or one that trades frequently, though.",{"value":132,"source":60,"evidence":133},"Encode portfolios in URL hash or query",[134],{"id":135,"by":136,"text":137},"16959703","koolba","Very cool! As everything is done client side how about adding some parsing of the URL #hash\u002F?query to encode data of a portfolio? That way you could have a single statically…",{"value":139,"source":60,"evidence":140},"Usable from LibreOffice Calc or CSV export",[141,145],{"id":142,"by":143,"text":144},"16958826","craftyguy","I would like to find something like this that is usable by Libreoffice Calc.",{"id":146,"by":147,"text":148},"16958958","Cthulhu_","It looks like a simple html table, I think LibreOffice might be able to parse that. Else, it should be relatively trivial to change the output to e.g. csv which can be imported.…",[150,154],{"value":151,"source":60,"evidence":152},"What makes this a static page",[153],{"id":115,"by":116,"text":117},{"value":155,"source":60,"evidence":156},"Whether IEX can handle traffic from HN",[157],{"id":158,"by":64,"text":159},"16959704","The demo site is cool, wonder if IEX will appreciate the thundering herd from HN though?",[161,169,176],{"value":162,"source":60,"evidence":163},"Google Finance",[164,168],{"id":165,"by":166,"text":167},"16961610","mmanfrin","I had not realized Google killed Google Finance until this post -- the search replacement is abysmal.",{"id":108,"by":109,"text":110},{"value":170,"source":60,"evidence":171},"Robinhood quotes API",[172],{"id":173,"by":174,"text":175},"16959053","dxxvi","There's definitely something I can learn from this. By the way, Robinhood API also gives you quotes for free https:\u002F\u002Fapi.robinhood.com\u002Fquotes\u002F?symbols=AMD,TSLA",{"value":177,"source":60,"evidence":178},"Google Sheets GOOGLEFINANCE function",[179],{"id":108,"by":109,"text":110},{"comments":37,"answered":37,"key":181},[182],{"id":183,"text":184},"16982215","Thanks, agreed this is a good idea and I added query param support here: https:\u002F\u002Fgithub.com\u002Ftoddwschneider\u002Fstocks\u002Fpull\u002F4",{"commenters":186,"max_depth":43,"maker_replies":37,"first_comment_mins":187,"lifespan_hours":188},37,46,84,[190,192,196,199,201,205,208,211,214,217,219,222,225,228,231,233,235,237,241,244,247,250,251,254,256,258,259,261,265,267,269,272,275,276,280,282,283,286,288,289,292],[63,32,43,191,64,32],"project\u002Fpositive\u002Fexecution",[193,32,32,194,195,32],"16959829","other\u002Fneutral\u002Fnone","dguo",[197,32,32,194,198,32],"16960206","wjossey",[67,32,41,200,68,32],"project\u002Fneutral\u002Fexecution",[202,32,37,203,204,32],"16962188","project\u002Fcritical\u002Fexecution","jetti",[206,32,41,200,207,32],"16962729","RussianCow",[209,32,32,194,210,32],"16961244","jlubawy",[212,32,32,194,213,32],"16969459","justboxing",[215,37,32,194,216,32],"16958806","meredydd",[173,33,41,218,174,32],"project\u002Fneutral\u002Fidea",[220,33,32,194,221,32],"16959473","foobaw",[223,33,32,194,224,32],"16959662","rl3",[226,33,32,194,227,32],"16963098","Havoc",[229,33,32,194,230,32],"16968205","anonu",[232,33,32,194,227,32],"16969303",[234,33,32,194,230,32],"16991633",[115,41,41,236,116,32],"project\u002Fneutral\u002Fdocs",[238,41,32,239,240,32],"16959326","commenter\u002Fneutral\u002Fnone","sp332",[242,41,32,239,243,32],"16959694","matte_black",[245,41,32,194,246,32],"16960990","megous",[87,248,43,249,88,32],4,"project\u002Fpositive\u002Fdesign",[165,43,32,194,166,32],[252,30,41,218,253,32],"16960209","indescions_2018",[91,255,43,249,92,32],7,[108,18,37,257,109,32],"project\u002Fcritical\u002Fidea",[128,18,41,218,129,32],[135,260,41,218,136,32],9,[262,260,43,263,264,32],"16971122","project\u002Fpositive\u002Fidea","sammyd56",[183,260,32,266,11,37],"maker\u002Fpositive\u002Fexecution",[119,268,41,236,120,32],10,[270,268,32,239,271,32],"16961539","gbba",[273,268,32,239,274,32],"16963864","procinct",[95,31,43,249,96,32],[277,278,41,200,279,32],"16958966",12,"ape4",[281,278,32,239,174,32],"16959093",[75,278,32,239,76,32],[284,278,32,239,285,32],"16959174","bitpow",[142,287,41,218,143,32],13,[146,287,41,218,147,32],[290,287,43,191,291,32],"16959147","jknz",[158,293,32,194,64,32],14,[],[296,301,305,310,315,320],{"id":297,"name":298,"points":299,"category":300},"16959550","ReLaXed",344,"productivity",{"id":302,"name":303,"points":304,"category":20},"16958797","crapcoin",206,{"id":306,"name":307,"points":308,"category":309},"16962695","un0rick",199,"hardware",{"id":311,"name":312,"points":313,"category":314},"16948939","fdb-nbd",192,"infrastructure",{"id":316,"name":317,"points":318,"category":319},"16950040","fuzzy",186,"languages",{"id":321,"name":322,"points":323,"category":319},"16947038","SE Simulator",178,false,"v2",{"id":327,"name":5,"line":6,"ai":324,"cat":20,"year":13,"points":14,"comments":15,"rec":27,"s":328,"top":18,"kw":329,"maker":11,"domain":10,"tier":19,"attempts":32,"strip":330,"url":9,"mix":331,"praise":84,"objection":105,"sub":21},16958446,0.19,[21,24,25,26],"5003130003000000300050351335030053000335",[30,31,32,33],1794036565602]