比特量化
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
zipline自制data bundles
Databundle zipline 缺省提供了一些行情的data bundle , 可以通过zipline bundles查看 其中quandl数据源是从https://www.quandl.com/网站的WIKI dataset获取数据的,不过通过该api数据较慢,因为逐批获取之后还要处理后才放到本地。quantopian-quandl一份备份数据,相当于将处理后的数据打...原创 2018-02-08 19:10:00 · 504 阅读 · 0 评论 -
Zipline入门教程
Zipline Beginner Tutorial Basics 基础 Zipline is an open-source algorithmic trading simulator written in Python. Zipline是开源的算法交易模拟器,使用python编写。 The source can be found at:https://github.com/quant...原创 2018-02-08 18:15:00 · 1536 阅读 · 0 评论 -
Zipline Data Bundles
Data Bundles A data bundle is a collection of pricing data, adjustment data, and an asset database. Bundles allow us to preload all of the data we will need to run backtests and store the data fo...原创 2018-05-15 14:56:00 · 270 阅读 · 0 评论 -
Zipline Beginner Tutorial
Zipline Beginner Tutorial Basics Zipline is an open-source algorithmic trading simulator written in Python .Zipline是一个用Python编写的开源算法交易模拟器。 The source can be found at:https://github.com/quantopi...原创 2018-05-15 12:01:00 · 205 阅读 · 0 评论 -
Zipline Development Guidelines
Development Guidelines This page is intended for developers of Zipline, people who want to contribute to the Zipline codebase or documentation, or people who want to install from source and mak...原创 2018-05-23 17:27:00 · 137 阅读 · 0 评论 -
Zipline Risk and Performance Metrics
Risk and Performance Metrics 风险和性能指标 The risk and performance metrics are summarizing values calculated by Zipline when running a simulation. These metrics can be about the performance of an algo...原创 2018-05-23 11:52:00 · 184 阅读 · 0 评论 -
Zipline Trading Calendars
Trading Calendars What is a Trading Calendar? 什么是交易日历? A trading calendar represents the timing information of a single market exchange. The timing information is made up of two parts: session...原创 2018-05-23 08:42:00 · 252 阅读 · 0 评论 -
zipline整体架构
在这里可以看出,zipline由下面几个主要的部分构成 名称说明 TradingAlgorithm 量化策略的抽象,既可以通过初始化传入构造上参数的方式,也可以通过继承的方式构造,其中zipline命令行主要的运行入口逻辑run方法也在这个类中 TradingCalendar 交易日历的抽象,这个类非常重要,无论是在构建数据的过程还是运行的过程,都可以用到 ...原创 2018-02-09 12:41:00 · 445 阅读 · 0 评论 -
zipline风险指标计算 (empyrical模块)
概述 量化中,我们经常会遇到各种量化指标的计算,对于zipline来说,也会对这部分计算进行处理,由于指标计算的通用性比较强,所以,zipline单独封装了empyrical这个模块,可以处理类似的计算,由于这个模块并不依赖其它zipline模块,我们可以在我么的项目中单独使用它。 安装 pip install empyrical 它会依赖安装 numpy, scipy, pan...原创 2018-02-08 19:14:00 · 1573 阅读 · 0 评论 -
zipline目录结构
下面列出了zipline主要的目录和文件结构和它的说明 ├── ci - 持续集成相关 ├── conda - 生成conda 包相关 ├── docs - 文档 │ ├── notebooks - notebook代码 │ └── source - 教程和what’s new ├── etc - 依赖配置和一些 hook shell 脚本 ├── tests - 测...原创 2018-02-08 18:59:00 · 193 阅读 · 0 评论
分享