Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
danozgriff committed Feb 27, 2017
1 parent febcefa commit 669718b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -643,7 +643,7 @@ def ScrapeUserInput():
def SignalPerformance():


complist = scraperwiki.sqlite.execute("select `TIDM`, `Yesterday Price`, `Date` from company where TIDM in (select distinct TIDM from Signal_History)")
complist = scraperwiki.sqlite.execute("select `TIDM`, `Yesterday Price`, `Date` from company where TIDM in (select distinct TIDM from Signal_History) and Date in (select max(`Date`) from company)")
#complist = scraperwiki.sqlite.execute("select `TIDM`, `Yesterday Price`, `Date` from company where tidm = 'III.L'")

#scraperwiki.sqlite.execute("drop table if exists Company_Performance")
Expand Down

0 comments on commit 669718b

Please sign in to comment.