ish_manager 0.1.8.405 → 0.1.8.407

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
  SHA256:
3
- metadata.gz: 70242298b4fbef9e7055284f6e8a603aa20e5ce5782c82cd2461bd69717e7a4f
4
- data.tar.gz: 8f9d6291f35c98cafc912b3f331421d74ab8048f699ddc52b198b2f2fffc00d0
3
+ metadata.gz: bb35cb3e06e3e15cea58ec456058900c9da0fb2e2d7d36a14a7b6d6466568b87
4
+ data.tar.gz: dba0940339fc2fcabde76c03f8b78744c2ffa2eb46322cce46fc33aa11c5c37e
5
5
  SHA512:
6
- metadata.gz: 66421a7174df41ff783faafc109ef30f61ccbe0035cfdb91ad9ac8c16f0f3c7dfaf59af82b74854cf849b881762a88cb2a93e5a4df4d56299f180476127778cd
7
- data.tar.gz: 488f4c3488c0e389c070a12979083e39c026579773c164dc6134fa3f0a48b472a1ec1f14dc8c906ec95a8127694cbec58cb90db999fc82f75c8641711e6d0638
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
- position: relative;
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 > div {
31
- // border: 1px solid green;
26
+ td {
27
+ // border: 1px solid red;
28
+ position: relative;
29
+
30
+
31
+ > div {
32
+ // border: 1px solid green;
32
33
 
33
- position: absolute;
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.active.map &:refresh
21
+ # @positions.map &:refresh ## @TODO remove, it only sets current_delta, current_price
22
22
  end
23
23
 
24
24
  end
@@ -3,7 +3,6 @@
3
3
  Debug
4
4
  .application--debug
5
5
  %ul.browser-default
6
- %li= link_to 'sidekiq', '/sidekiq', target: :_blank
7
6
  %li= params.inspect
8
7
  %li Cached? #{Rails.application.config.action_controller.perform_caching} :: Cache key: #{@cache_key.inspect}
9
8
  %li= "Env: #{Rails.env}"
@@ -12,6 +12,7 @@
12
12
  %ul
13
13
  %li <b>Email:</b> #{@current_profile.email}
14
14
  %li <b>Role name:</b> #{@current_profile.role_name}
15
+ %li= link_to 'sidekiq', '/sidekiq', target: :_blank
15
16
 
16
17
  .col-sm-4
17
18
  %ul
@@ -29,9 +29,12 @@
29
29
  .strategy Strategy
30
30
  %td
31
31
  .ticker Ticker
32
- %td Kind/Type
33
- %td Strike
34
- %td ExpiresOn
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.net Net
50
- %td.netp % Net
51
- %td #{"\u0394"}
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.should-roll Should roll?
57
- %td.next-symbol Next Symbol
58
- %td.next-outcome Next Outcome
59
- %td.state State
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
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.405
4
+ version: 0.1.8.407
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-02 00:00:00.000000000 Z
11
+ date: 2023-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails