qc 0.5.4 → 0.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +7 -0
- data/Gemfile.lock +1 -1
- data/README.md +7 -1
- data/lib/qc/command_runner.rb +3 -3
- data/lib/qc/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dea97901bebb4832afd9b48ada22bf143b50097a
|
4
|
+
data.tar.gz: 4c662e04cbdb1b9bcf1df2cd3e18c948d36a641a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be36dc53267171228371e9ea8f8e642df8b7313551316761feaa5ce1d2ce411a9d395fcefa3f84af078828e6fedc8ef86e1f73dadf23e5bb2a81aadd57919bef
|
7
|
+
data.tar.gz: de7c763cb46ead17484db8a3d0676b742c65afc7ffcd040b2009274950866e1f5bd37080fe47fba9127dab07f451efeafe671c0eb3c1ea566ca0ac1db23df434
|
data/.travis.yml
ADDED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# Qc
|
2
2
|
|
3
|
-
|
3
|
+
[](https://travis-ci.org/jorgemanrubia/qc)
|
4
|
+
|
5
|
+
Qc is a commandline tool that lets you sync and run your [QuantConnect](https://www.quantconnect.com) backtests.
|
4
6
|
|
5
7
|
## Installation
|
6
8
|
|
@@ -35,6 +37,10 @@ The supported commands are:
|
|
35
37
|
|
36
38
|
When no command is provided, it will execute `push`, `compile` and `backtest` in sequence.
|
37
39
|
|
40
|
+
## Todo
|
41
|
+
|
42
|
+
- Open your backtests after they have finished
|
43
|
+
|
38
44
|
## Development
|
39
45
|
|
40
46
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
data/lib/qc/command_runner.rb
CHANGED
@@ -139,8 +139,6 @@ module Qc
|
|
139
139
|
end
|
140
140
|
|
141
141
|
do_run_backtest
|
142
|
-
|
143
|
-
true
|
144
142
|
end
|
145
143
|
|
146
144
|
def do_run_default
|
@@ -163,11 +161,13 @@ module Qc
|
|
163
161
|
sleep BACKTEST_DELAY_IN_SECONDS if backtest.completed?
|
164
162
|
end while !backtest.completed?
|
165
163
|
|
166
|
-
puts "
|
164
|
+
puts "Backtest finished" if backtest.success?
|
167
165
|
puts "Backtest failed" if backtest.error?
|
168
166
|
|
169
167
|
project_settings.last_backtest_id = backtest.id
|
170
168
|
save_project_settings
|
169
|
+
|
170
|
+
backtest.success?
|
171
171
|
end
|
172
172
|
|
173
173
|
def valid_login?
|
data/lib/qc/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jorge Manrubia
|
@@ -118,6 +118,7 @@ extra_rdoc_files: []
|
|
118
118
|
files:
|
119
119
|
- ".gitignore"
|
120
120
|
- ".ruby-version"
|
121
|
+
- ".travis.yml"
|
121
122
|
- Gemfile
|
122
123
|
- Gemfile.lock
|
123
124
|
- LICENSE.txt
|