bozcani / borsa-scraper-app Goto Github PK
View Code? Open in Web Editor NEWDjango Web Application for Yahoo Finance scraping
License: MIT License
Django Web Application for Yahoo Finance scraping
License: MIT License
Add data_update_status view tests.
The cookie retrieval doesn't work sometimes, and "410 Unauthorized" is returned. Multi-retrieval with a loop is just a temporary solution. Even it doesn't get data successfully in a high number of loop epoch from time to time. Review the code:
https://github.com/bozcani/borsa/blob/24651762a47d7a0650566fa18deffb0c70dc0864/lib/data_scraper/get_ohlcv.py#L52-L109
It is difficult to follow which stocks are up-to-date. Let's create a web page for tracking the status.
Requirements:
When OHLCV is updated several times, the same ohlcv records are added to the OHLCV database.
Only one record should exist in the database.
For example, this is an invalid case:
Date | Symbol | Open | Low | High | Close |
---|---|---|---|---|---|
AVOD.IS | 2.11 | 1.81 | 2.14 | 1.85 | |
AVOD.IS | 2.11 | 1.81 | 2.14 | 1.85 | |
AVOD.IS | 2.11 | 1.81 | 2.14 | 1.85 | |
AVOD.IS | 2.11 | 1.81 | 2.14 | 1.85 | |
AVOD.IS | 2.11 | 1.81 | 2.14 | 1.85 | |
AVOD.IS | 2.11 | 1.81 | 2.14 | 1.85 | |
AVOD.IS | 2.11 | 1.81 | 2.14 | 1.85 | |
AVOD.IS | 2.11 | 1.81 | 2.14 | 1.85 | |
AVOD.IS | 2.11 | 1.81 | 2.14 | 1.85 | |
AVOD.IS | 2.11 | 1.81 | 2.14 | 1.85 | |
AVOD.IS | 2.09 | 1.92 | 2.19 | 2.02 | |
AVOD.IS | 2.17 | 2.07 | 2.22 | 2.18 | |
AVOD.IS | 2.17 | 2.07 | 2.22 | 2.17 |
Scrape:
BIST100
BIST30
BISTALL
USD/TRY
EUR/TRY
GOLD/TRY
Edit readme. This is a good template:
https://gist.github.com/PurpleBooth/109311bb0361f32d87a2
The order of the stock list changes when a stock history updated. Keep them ordered, possibly in alphabetical order.
Add basic tests for data_manager view.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.