-
class StopOrder:
vt_symbol: str
direction: Direction
offset: Offset
price: float
volume: float
stop_orderid: str
strategy_name: str
lock: bool = False
vt_o…
-
Hey!
Love the tool, just started using it. I see a lot of examples of how to apply some indicators to the closing price in the strategies.py file, but I'm curious because I want to build a strategy…
-
## 环境
* 操作系统: Windows 10
* Python版本: python3.7.4
* vn.py版本: v2.0.7
## Issue类型
三选一:Bug
## 预期程序行为
我有一个tick的策略需要回测
设置 mode = BacktestingMode.TICK 进行回测时提示错误 错误日志如下
(python37) PS E:\myquant\…
-
-
## Describe your environment
* Operating system: ____Ubuntu
* Python Version: _____ (`python -V`) 3.6.9
* CCXT version: _____ (`pip freeze | grep ccxt`) 1.26.53
* Freqtrade Version: …
-
You said to "Create Markets and populate them with OLHCV data. Next create Wallet(s) and give some money. Next create BacktestingExchange and provide it with Markets and Wallets."
But I need to und…
-
## 环境
* 操作系统: 如Windows 10
* Anaconda版本: 如Anaconda 18.12 Python 3.7 64位
* vn.py版本: v2.0.5
## Issue类型
三选一:Bug/Enhancement/Question
## 预期程序行为
## 实际程序行为
## 重现步骤
Exception in threa…
-
Hi!
I tried running the example as shown in your website for the simple case. No errors were seen in installing backtesting-0.1.0.
The whole code:
```py
from backtesting import Backtest, Str…
-
#### Expected Behavior
Want to use Backtesting brokerage and IQFeed data feed on my local machine. Here is what i expected generally;
1. Start IQFeed client if not started.
2. Download security u…
-
## 环境
* 操作系统: 如Windows 10
* Anaconda版本: vnstudio v2.0.6
* vn.py版本: vnstudio v2.0.6
## Issue类型
Question
## 预期程序行为
回测成功
## 实际程序行为
回测不成功,显示“成交记录为空,无法计算”
## 重现步骤
1. 完整代码如下:
```python…