ig_markets 0.29 → 0.30
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f3dac7d0fc4292623c5cecde02665bf51d88964
|
4
|
+
data.tar.gz: 1e02ad232416b6f07a32cb235008c29893bc0052
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3e5fd9d9cfafa9c3c6b2aa2480d11b350a39e2b1bc0d62bfbf475801c2ffc379ef02316a5f3574fb01a483c6ab6768e0ff58f79199aa30b333b1faf19476302
|
7
|
+
data.tar.gz: 78acd317c9389cd9e990b450afc78343d5b0d4948eaa9c2d726f2ab31b47141e535c649f0bda3e5b59705bb0cabf74a5ecf2e04f699ae0f711dc3fee5e5c545e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# IG Markets Changelog
|
2
2
|
|
3
|
+
### 0.30 — March 10, 2017
|
4
|
+
|
5
|
+
- Fixed `ig_markets self-test` command
|
6
|
+
- Support the `chart` transaction type
|
7
|
+
|
3
8
|
### 0.29 — March 8, 2017
|
4
9
|
|
5
10
|
- The `IGMarkets::AccountMethods#activities` and `IGMarkets::AccountMethods#transactions` now take `Time`
|
@@ -9,7 +14,7 @@
|
|
9
14
|
- Fixed `IGMarkets::AccountMethods#activities` and `IGMarkets::AccountMethods#transactions` never returning
|
10
15
|
if there were more than 500 activities or transactions in a single day during the specified period
|
11
16
|
- Added `IGMarkets::Position#limited_risk_premium` and `IGMarkets::WorkingOrder#limited_risk_premium`
|
12
|
-
-
|
17
|
+
- Support the `chart` transaction type
|
13
18
|
|
14
19
|
### 0.28 — February 24, 2017
|
15
20
|
|
@@ -115,8 +115,8 @@ module IGMarkets
|
|
115
115
|
|
116
116
|
def test_account_methods
|
117
117
|
@dealing_platform.account.all
|
118
|
-
@dealing_platform.account.activities from:
|
119
|
-
@dealing_platform.account.transactions from:
|
118
|
+
@dealing_platform.account.activities from: Time.now - 14
|
119
|
+
@dealing_platform.account.transactions from: Time.now - 14
|
120
120
|
end
|
121
121
|
|
122
122
|
def test_client_sentiment
|
@@ -13,7 +13,7 @@ module IGMarkets
|
|
13
13
|
attribute :profit_and_loss
|
14
14
|
attribute :reference
|
15
15
|
attribute :size, String, nil_if: '-'
|
16
|
-
attribute :transaction_type, Symbol, allowed_values: [:chart, :deal, :depo, :dividend, :exchange, :with]
|
16
|
+
attribute :transaction_type, Symbol, allowed_values: [:chart, :deal, :depo, :dividend, :exchange, :trade, :with]
|
17
17
|
|
18
18
|
deprecated_attribute :date
|
19
19
|
|
data/lib/ig_markets/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ig_markets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.30'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Viney
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|