Skip to content

Commit a75b73b

Browse files
committedMar 21, 2018
Latest changes: security, UI, models
1 parent 550bda5 commit a75b73b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+9233
-1205
lines changed
 

‎Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -515,4 +515,4 @@ DEPENDENCIES
515515
whenever (~> 0.9.2)
516516

517517
BUNDLED WITH
518-
1.15.4
518+
1.16.1

‎app/api/api_v2/helpers.rb

+3-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ def format_ticker(ticker)
7575
low: ticker[:low],
7676
high: ticker[:high],
7777
last: ticker[:last],
78-
vol: ticker[:volume]
78+
vol: ticker[:volume],
79+
volbtc: ticker[:volume2],
80+
change: if ticker[:open] == 0 then 0 else (ticker[:last]-ticker[:open])/ticker[:open] end
7981
}
8082
}
8183
end

0 commit comments

Comments
 (0)