HeadlinePuller can import all news articles for Fortune 50 within a date range from Yahoo Finance historical data, inserting the headline text into the headlines table of database cs6601p3 on woodyfolsom.net:3306.
Limited to 25 headline per day (with many reptitions) per Yahoo Finance REST functionality.
This commit is contained in:
28
dist/AppContext.xml
vendored
Normal file
28
dist/AppContext.xml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:aop="http://www.springframework.org/schema/aop"
|
||||
xmlns:context="http://www.springframework.org/schema/context"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
|
||||
http://www.springframework.org/schema/aop
|
||||
http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
|
||||
http://www.springframework.org/schema/context
|
||||
http://www.springframework.org/schema/context/spring-context-2.5.xsd"
|
||||
default-autowire="byName">
|
||||
|
||||
<bean id="dmdataSource"
|
||||
class="org.springframework.jdbc.datasource.DriverManagerDataSource">
|
||||
<property name="driverClassName" value="com.mysql.jdbc.Driver" />
|
||||
<property name="url" value="jdbc:mysql://woodyfolsom.net:3306/cs6601p3" />
|
||||
<property name="username" value="cs6601" />
|
||||
<property name="password" value="n0nst@p" />
|
||||
</bean>
|
||||
|
||||
<bean id="mySQLHeadlineSvc" class="net.woodyfolsom.cs6601.p3.svc.MySQLHeadlineServiceImpl" />
|
||||
<bean id="yahooHeadlineSvc" class="net.woodyfolsom.cs6601.p3.svc.YahooHeadlineServiceImpl" />
|
||||
|
||||
<context:annotation-config />
|
||||
<context:component-scan base-package="net.woodyfolsom.cs6601.p3"/>
|
||||
|
||||
</beans>
|
||||
BIN
dist/CS6601_P3.jar
vendored
Normal file
BIN
dist/CS6601_P3.jar
vendored
Normal file
Binary file not shown.
BIN
dist/lib/aopalliance.jar
vendored
Normal file
BIN
dist/lib/aopalliance.jar
vendored
Normal file
Binary file not shown.
BIN
dist/lib/aspectj-1.6.12.jar
vendored
Normal file
BIN
dist/lib/aspectj-1.6.12.jar
vendored
Normal file
Binary file not shown.
BIN
dist/lib/aspectjweaver-1.6.8.jar
vendored
Normal file
BIN
dist/lib/aspectjweaver-1.6.8.jar
vendored
Normal file
Binary file not shown.
BIN
dist/lib/commons-logging-1.1.1.jar
vendored
Normal file
BIN
dist/lib/commons-logging-1.1.1.jar
vendored
Normal file
Binary file not shown.
BIN
dist/lib/junit-4.10.jar
vendored
Normal file
BIN
dist/lib/junit-4.10.jar
vendored
Normal file
Binary file not shown.
BIN
dist/lib/log4j-1.2.16.jar
vendored
Normal file
BIN
dist/lib/log4j-1.2.16.jar
vendored
Normal file
Binary file not shown.
BIN
dist/lib/mysql-connector-java-5.1.18-bin.jar
vendored
Normal file
BIN
dist/lib/mysql-connector-java-5.1.18-bin.jar
vendored
Normal file
Binary file not shown.
BIN
dist/lib/org.springframework.aop-3.1.1.RELEASE.jar
vendored
Normal file
BIN
dist/lib/org.springframework.aop-3.1.1.RELEASE.jar
vendored
Normal file
Binary file not shown.
BIN
dist/lib/org.springframework.asm-3.1.1.RELEASE.jar
vendored
Normal file
BIN
dist/lib/org.springframework.asm-3.1.1.RELEASE.jar
vendored
Normal file
Binary file not shown.
BIN
dist/lib/org.springframework.aspects-3.1.1.RELEASE.jar
vendored
Normal file
BIN
dist/lib/org.springframework.aspects-3.1.1.RELEASE.jar
vendored
Normal file
Binary file not shown.
BIN
dist/lib/org.springframework.beans-3.1.1.RELEASE.jar
vendored
Normal file
BIN
dist/lib/org.springframework.beans-3.1.1.RELEASE.jar
vendored
Normal file
Binary file not shown.
BIN
dist/lib/org.springframework.context-3.1.1.RELEASE.jar
vendored
Normal file
BIN
dist/lib/org.springframework.context-3.1.1.RELEASE.jar
vendored
Normal file
Binary file not shown.
BIN
dist/lib/org.springframework.context.support-3.1.1.RELEASE.jar
vendored
Normal file
BIN
dist/lib/org.springframework.context.support-3.1.1.RELEASE.jar
vendored
Normal file
Binary file not shown.
BIN
dist/lib/org.springframework.core-3.1.1.RELEASE.jar
vendored
Normal file
BIN
dist/lib/org.springframework.core-3.1.1.RELEASE.jar
vendored
Normal file
Binary file not shown.
BIN
dist/lib/org.springframework.expression-3.1.1.RELEASE.jar
vendored
Normal file
BIN
dist/lib/org.springframework.expression-3.1.1.RELEASE.jar
vendored
Normal file
Binary file not shown.
BIN
dist/lib/org.springframework.jdbc-3.1.1.RELEASE.jar
vendored
Normal file
BIN
dist/lib/org.springframework.jdbc-3.1.1.RELEASE.jar
vendored
Normal file
Binary file not shown.
BIN
dist/lib/org.springframework.transaction-3.1.1.RELEASE.jar
vendored
Normal file
BIN
dist/lib/org.springframework.transaction-3.1.1.RELEASE.jar
vendored
Normal file
Binary file not shown.
BIN
dist/lib/spring-data-jdbc-core-1.0.0.RC1.jar
vendored
Normal file
BIN
dist/lib/spring-data-jdbc-core-1.0.0.RC1.jar
vendored
Normal file
Binary file not shown.
50
dist/stock_symbols.csv
vendored
Normal file
50
dist/stock_symbols.csv
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
1,Wal-Mart Stores,WMT
|
||||
2,Exxon Mobil,XOM
|
||||
3,Chevron,CVX
|
||||
4,ConocoPhillips,COP
|
||||
5,Fannie Mae,FNMA
|
||||
6,General Electric,GE
|
||||
7,Berkshire Hathaway,BRKA
|
||||
8,General Motors,GM
|
||||
9,Bank of America Corp.,BAC
|
||||
10,Ford Motor,F
|
||||
11,Hewlett-Packard,HPQ
|
||||
12,AT&T,T
|
||||
13,J.P. Morgan Chase & Co.,JPM
|
||||
14,Citigroup,C
|
||||
15,McKesson,MCK
|
||||
16,Verizon Communications,VZ
|
||||
17,American International Group,AIG
|
||||
18,International Business Machines,IBM
|
||||
19,Cardinal Health,CAH
|
||||
20,Freddie Mac,FMCC
|
||||
21,CVS Caremark,CVS
|
||||
22,UnitedHealth Group,UNH
|
||||
23,Wells Fargo,WFC
|
||||
24,Valero Energy,VLO
|
||||
25,Kroger,KR
|
||||
26,Procter & Gamble,PG
|
||||
27,AmerisourceBergen,ABC
|
||||
28,Costco Wholesale,COST
|
||||
29,Marathon Oil,MRO
|
||||
30,Home Depot,HD
|
||||
31,Pfizer,PFE
|
||||
32,Walgreen,WAG
|
||||
33,Target,TGT
|
||||
34,Medco Health Solutions,MHS
|
||||
35,Apple,AAPL
|
||||
36,Boeing,BA
|
||||
37,State Farm Insurance Cos.,SNPAX
|
||||
38,Microsoft,MSFT
|
||||
39,Archer Daniels Midland,ADM
|
||||
40,Johnson & Johnson,JNJ
|
||||
41,Dell,DELL
|
||||
42,WellPoint,WLP
|
||||
43,PepsiCo,PEP
|
||||
44,United Technologies,UTX
|
||||
45,Dow Chemical,DOW
|
||||
46,MetLife,MET
|
||||
47,Best Buy,BBY
|
||||
48,United Parcel Service,UPS
|
||||
49,Kraft Foods,KFT
|
||||
50,Lowe's,LOW
|
||||
|
Reference in New Issue
Block a user