qc 0.5.4 → 0.5.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 43081f3f3adb70c36040d8988517ce5d75479c34
4
- data.tar.gz: cbaca31ad41e98339afb002dda09f0fa2514e305
3
+ metadata.gz: dea97901bebb4832afd9b48ada22bf143b50097a
4
+ data.tar.gz: 4c662e04cbdb1b9bcf1df2cd3e18c948d36a641a
5
5
  SHA512:
6
- metadata.gz: acf83f9e71bd3d7cf9dbf421d98e2e3093c39e7c570590afc67255cd79161ea0f3dbd08705bc6b687fe03b2da873b540d1bfec2464ea593df5f42f04a3464afd
7
- data.tar.gz: 7a55e02997e60d18fb1a9a8c1bd8e1aab4ef3f7e139d2134a0101fc12227cb9917eed8d1b4375f8862777651127df467ff1326a633ff8cd87f80c1bdec5973b8
6
+ metadata.gz: be36dc53267171228371e9ea8f8e642df8b7313551316761feaa5ce1d2ce411a9d395fcefa3f84af078828e6fedc8ef86e1f73dadf23e5bb2a81aadd57919bef
7
+ data.tar.gz: de7c763cb46ead17484db8a3d0676b742c65afc7ffcd040b2009274950866e1f5bd37080fe47fba9127dab07f451efeafe671c0eb3c1ea566ca0ac1db23df434
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.3.0
4
+ - 2.4.2
5
+ script: bundle exec rake
6
+ before_install:
7
+ - gem install bundler
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- qc (0.5.4)
4
+ qc (0.5.5)
5
5
  rest-client (~> 2.0.2)
6
6
  vcr (~> 3.0.3)
7
7
  webmock (~> 3.1.0)
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Qc
2
2
 
3
- Qc is a commandline tool that lets you sync and run your [QuantConnect](https://www.quantconnect.com) backtests from the command line.
3
+ [![Build Status](https://travis-ci.org/jorgemanrubia/qc.svg?branch=master)](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.
@@ -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 "Bactest finished" if backtest.success?
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
@@ -1,3 +1,3 @@
1
1
  module Qc
2
- VERSION = "0.5.4"
2
+ VERSION = "0.5.5"
3
3
  end
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
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