Comments (6)
@cheng-zi-ya
You can use the following code:
import qlib
from qlib.data import D
qlib.init()
fields = ["$open", "$close", "$high", "$low", "$volume", "$factor", "$change"]
df = D.features(D.instruments("all"), fields)
df.to_csv()
from qlib.
Got it, thanks!
from qlib.
Good. If I don't know fields' names in the data, can we get all fields' names in the data? If so, how?
from qlib.
Hi, @qtbgo Do you mean by getting the fields
name of data source in qlib
?
from qlib.
yes
from qlib.
@qtbgo
Currently, only open, close, high, low, volume, money and factor
is supported in current released public data.
I opened a new issue #141 and we will provide more user friendly interface in the future.
Thanks.
from qlib.
Related Issues (20)
- How to run alpha360? HOT 4
- The official RL example got error HOT 3
- qlib/qlib/contrib/model /pytorch_tcn_ts.py error
- Potential performance issue: concat slow in pandas below 2.1 version
- About the setting of trunc_days HOT 1
- numpy.core.multiarray failed to import HOT 2
- HS_SYMBOLS_URL 404 HOT 1
- DDG-DA Assertion Error HOT 2
- Why did I get "killed" when running 1min of alpha360?
- Image link broken
- 这里更新信号时报错,参数改为0可以取到
- Run cmd python -m qlib.rl.contrib.train_onpolicy --config_path exp_configs/train_opds.yml --run_backtest with error HOT 3
- My question about ALSTM reproduction
- For the RL official example, it is fit for 5-min data. What can do to make it fit for day(frequency)-data? HOT 1
- Error with installing pyqlib from source using "pip install ." HOT 3
- DDG-DA NaN loss HOT 3
- High-frequency data (5-minute intervals) preparation question
- OSError: [WinError 8] Not enough memory resources are available to process this command HOT 1
- [DDG-DA] Will proxy model use future info? HOT 4
- Qlib to load csv minutes level trading data HOT 1
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 qlib.