Comments (4)
@FlynnMa This sounds interesting. Can you elaborate more? I could imagine using the library for pumping data into time series db with near real time and cold processing capabilities around it. But for me it is more like how you use the lib and not about implementation of the lib. What's your idea?
from yliveticker.
Hi,
Here is a quick pandas based time series for example, it looks like:
Here is piece of code fetching data use yfinance for your reference
import yfinance as yf
sym = 'AAPL'
apple = yf.Ticker(sym)
apple_dataframe = apple.history(period='1d', interval='1m')
apple_dataframe
once you got a time series based dataframe, it can be easily resampled like:
ohlcv_dict = {
'Open': 'first',
'High': 'max',
'Low': 'min',
'Close': 'last',
'Volume': 'sum'}
apple_dataframe = apple_dataframe .resample('10min').agg(ohlcv_dict)
from yliveticker.
Ok, got you. Would like this functionality to be added to this lib or better another separate lib?
from yliveticker.
I would suggest add into this lib,
For most data analysis, the time series based data would enable everyone's life easier, or else I am afraid all of them will need to do the data cooking before they can go.
from yliveticker.
Related Issues (9)
- Stopped working HOT 6
- Need help to use the output of yliveticker and save to database HOT 2
- Is this still working HOT 2
- "GC=F" doesn't work sometimes
- Connection is already closed. ### connection is closed### HOT 7
- FUTURES not UPDATING HOT 1
- messages should be printed to stderr
- Updating 'ticker_names' in real time
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yliveticker.