ish_manager 0.1.8.406 → 0.1.8.407
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bb35cb3e06e3e15cea58ec456058900c9da0fb2e2d7d36a14a7b6d6466568b87
|
|
4
|
+
data.tar.gz: dba0940339fc2fcabde76c03f8b78744c2ffa2eb46322cce46fc33aa11c5c37e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c738e715d4bda92fca5cb6dda3acd462cec7d2b93cd9cf1002ec6340faabe1709c7eef1f4adb0b0a5ef788081140ec676efb15cfdf332f22b429895aa2347bf8
|
|
7
|
+
data.tar.gz: 4d7c6a801c231c27746edf5b073629ddae58155de13cf2e42af66793693a714514f3665091b91dd8b28b7e06328284ffc0d171854c324192d1bd80379a838766
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
font-size: 14px;
|
|
4
4
|
|
|
5
5
|
table {
|
|
6
|
+
margin-top: 50px;
|
|
7
|
+
|
|
6
8
|
.id {
|
|
7
9
|
width: 20px;
|
|
8
10
|
}
|
|
@@ -11,26 +13,32 @@
|
|
|
11
13
|
}
|
|
12
14
|
|
|
13
15
|
thead {
|
|
14
|
-
|
|
15
|
-
height: 50px;
|
|
16
|
+
// border: 1px solid blue;
|
|
16
17
|
|
|
18
|
+
position: relative;
|
|
19
|
+
height: 1.5em;
|
|
17
20
|
|
|
18
|
-
.id,
|
|
19
|
-
.ticker,
|
|
20
|
-
.days-left,
|
|
21
|
-
.to-close,
|
|
22
|
-
.must-roll {
|
|
23
|
-
top: 0;
|
|
24
|
-
}
|
|
25
21
|
|
|
26
22
|
.price {
|
|
27
23
|
background: cyan;
|
|
28
24
|
}
|
|
29
25
|
|
|
30
|
-
td
|
|
31
|
-
// border: 1px solid
|
|
26
|
+
td {
|
|
27
|
+
// border: 1px solid red;
|
|
28
|
+
position: relative;
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
> div {
|
|
32
|
+
// border: 1px solid green;
|
|
32
33
|
|
|
33
|
-
|
|
34
|
+
transform: translate(-0.5em, -50%) rotate(-45deg);
|
|
35
|
+
transform-origin: 0% 50%;
|
|
36
|
+
position: absolute;
|
|
37
|
+
width: 100px;
|
|
38
|
+
top: 1em;
|
|
39
|
+
left: 50%;
|
|
40
|
+
z-index: 0;
|
|
41
|
+
}
|
|
34
42
|
}
|
|
35
43
|
}
|
|
36
44
|
|
|
@@ -63,6 +71,7 @@
|
|
|
63
71
|
.should-roll > .aC {
|
|
64
72
|
display: flex;
|
|
65
73
|
justify-content: space-between;
|
|
74
|
+
min-width: 75px;
|
|
66
75
|
}
|
|
67
76
|
}
|
|
68
77
|
}
|
|
@@ -18,7 +18,7 @@ class ::IshManager::IroPursesController < IshManager::ApplicationController
|
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
@positions = @purse.positions.order({ expires_on: :asc, strike: :asc })
|
|
21
|
-
@positions.
|
|
21
|
+
# @positions.map &:refresh ## @TODO remove, it only sets current_delta, current_price
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
end
|
|
@@ -29,9 +29,12 @@
|
|
|
29
29
|
.strategy Strategy
|
|
30
30
|
%td
|
|
31
31
|
.ticker Ticker
|
|
32
|
-
%td
|
|
33
|
-
|
|
34
|
-
%td
|
|
32
|
+
%td
|
|
33
|
+
.type Kind/Type
|
|
34
|
+
%td
|
|
35
|
+
.strike Strike
|
|
36
|
+
%td
|
|
37
|
+
.expires_on ExpiresOn
|
|
35
38
|
%td
|
|
36
39
|
.days-left Days Left
|
|
37
40
|
%td
|
|
@@ -46,17 +49,26 @@
|
|
|
46
49
|
.begin-delta #{"\u0394"}
|
|
47
50
|
%td
|
|
48
51
|
.to-close Current $ <br />(To Close)
|
|
49
|
-
%td
|
|
50
|
-
|
|
51
|
-
%td
|
|
52
|
+
%td
|
|
53
|
+
.net Net
|
|
54
|
+
%td
|
|
55
|
+
.netp % Net
|
|
56
|
+
%td
|
|
57
|
+
.delta #{"\u0394"}
|
|
52
58
|
%td
|
|
53
59
|
.days-at-open Days@Open
|
|
54
60
|
%td
|
|
55
61
|
.must-roll Must roll?
|
|
56
|
-
%td
|
|
57
|
-
|
|
58
|
-
%td
|
|
59
|
-
|
|
62
|
+
%td
|
|
63
|
+
.should-roll Should roll?
|
|
64
|
+
%td
|
|
65
|
+
.next-symbol Next Symbol
|
|
66
|
+
%td
|
|
67
|
+
.next-delta Next Delta
|
|
68
|
+
%td
|
|
69
|
+
.next-outcome Next Outcome
|
|
70
|
+
%td
|
|
71
|
+
.state State
|
|
60
72
|
%tbody
|
|
61
73
|
- @positions.each do |p|
|
|
62
74
|
%tr
|
|
@@ -85,6 +97,7 @@
|
|
|
85
97
|
.a= p.should_rollp ? p.should_rollp : '-'
|
|
86
98
|
.a= pp_bool p.should_roll?
|
|
87
99
|
%td.next-symbol= p.next_symbol
|
|
100
|
+
%td.next-delta= p.next_position[:delta]
|
|
88
101
|
%td.next-outcome= pp_money p.next_outcome
|
|
89
102
|
%td.state= p.status
|
|
90
103
|
|