質問編集履歴
1
json
test
CHANGED
File without changes
|
test
CHANGED
@@ -75,3 +75,13 @@
|
|
75
75
|
test04.rb:32:in `[]': no implicit conversion of String into Integer (TypeError)
|
76
76
|
|
77
77
|
from test04.rb:32:in `<main>'
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
ちなみにjsonをする前のコードのレスポンスがこれです。これの"size"を取り出したいです。
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
[{"product_code":"FX_BTC_JPY","side":"BUY","price":321400.000000000000,"size":0.001000000000,"commission":0.000000000000,"swap_point_accumulate":0.294105200000000000000000,"require_collateral":21.426666666666666666666666667,"open_date":"2017-08-04T15:22:29.113","leverage":15.000000000000,"pnl":59.565894800000000000000000}]
|