An application to see how the stock market responds to Donald Trump's tweets about companies. A responsive Vue.js single page application.
# install dependencies
npm install
npm install axios
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
For detailed explanation on how things work, checkout the guide and docs for vue-loader.
App.vue
Parent: about.vue
stockData.vue, tweetData.Vue, dropDown.vue, analysis.vue and Intro.vue call back to About.vue
JSON:
twitter-data.json
Photos:
Donald Trump Twitter Bio Pic: dt.jpg
Yahoo Finance Graphs for each company are named according to '(TickerSymbol).png'
This project uses Bootstrap and jQuery. I have included the files in this package, but if you encounter trouble make sure they are installed correctly.
Here is the working header and drop-down menu.
The drop-down menu should call up data on the company from twitter-data.json.
Here is how the company information, twitter information and analysis should appear. In mobile each div expands to full-width.
After trying to implement HighCharts, HighStocks, D3 and GoogleCharts, I settled on screenshots of Yahoo Finance data in order to meet my submission deadline. I will continue to work with data and various visualization tools after this project is graded, with the final goal being to create a component that calls company-specific stock data from a JSON file.
Quartz Article: https://qz.com/907408/new-analysis-proves-trumps-tweets-attacking-companies-are-mostly-just-distractions/
Reuters: http://www.reuters.com/article/us-usa-trump-rexnord-idUSKBN13S0PU
Financial Times: https://ftalphaville.ft.com/2017/01/06/2181929/stop-worrying-about-trumps-tweets/?ftcamp=engage/capi/widget/client/openft/b2b
WSJ: http://blogs.wsj.com/moneybeat/2016/12/05/rexnord-inches-lower-after-trump-tweets/
Investors.com: http://www.investors.com/news/trump-carrier-reach-deal-on-keeping-jobs-at-indiana-plant/
MarketWatch: http://www.marketwatch.com/story/gms-stock-falls-after-trump-tweet-on-mexico-production-2017-01-03
FCAU: https://en.wikipedia.org/wiki/Fiat_Chrysler_Automobiles
Carrier/UTX: https://en.wikipedia.org/wiki/Carrier_Corporation & https://en.wikipedia.org/wiki/United_Technologies