oanda_api 0.9.4 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +67 -6
- data/README.md +31 -3
- data/lib/oanda_api.rb +3 -1
- data/lib/oanda_api/client/client.rb +17 -12
- data/lib/oanda_api/client/namespace_proxy.rb +2 -2
- data/lib/oanda_api/client/resource_descriptor.rb +25 -9
- data/lib/oanda_api/client/username_client.rb +7 -0
- data/lib/oanda_api/configuration.rb +14 -0
- data/lib/oanda_api/resource/account.rb +22 -3
- data/lib/oanda_api/resource/candle.rb +1 -1
- data/lib/oanda_api/resource/labs/calendar_event.rb +25 -0
- data/lib/oanda_api/resource/labs/spread_history.rb +61 -0
- data/lib/oanda_api/resource/order.rb +4 -4
- data/lib/oanda_api/resource/transaction_history.rb +0 -1
- data/lib/oanda_api/resource_base.rb +64 -2
- data/lib/oanda_api/resource_collection.rb +6 -0
- data/lib/oanda_api/streaming/client.rb +1 -0
- data/lib/oanda_api/version.rb +1 -1
- data/oanda_api.gemspec +2 -2
- data/spec/fixtures/vcr_cassettes/accounts_get.yml +13 -79
- data/spec/fixtures/vcr_cassettes/accounts_id_get.yml +23 -125
- data/spec/fixtures/vcr_cassettes/calendar_events_period_get.yml +54 -0
- data/spec/fixtures/vcr_cassettes/calendar_instrument_and_period_get.yml +61 -0
- data/spec/fixtures/vcr_cassettes/calendar_period_get.yml +54 -0
- data/spec/fixtures/vcr_cassettes/candles_options_get.yml +9 -45
- data/spec/fixtures/vcr_cassettes/client_helper_account.yml +45 -0
- data/spec/fixtures/vcr_cassettes/client_helper_accounts.yml +45 -0
- data/spec/fixtures/vcr_cassettes/instrument_EUR_USD.yml +42 -0
- data/spec/fixtures/vcr_cassettes/instrument_USD_JPY.yml +42 -0
- data/spec/fixtures/vcr_cassettes/instruments_get.yml +37 -303
- data/spec/fixtures/vcr_cassettes/instruments_options_get.yml +6 -43
- data/spec/fixtures/vcr_cassettes/order_id_close.yml +448 -0
- data/spec/fixtures/vcr_cassettes/order_id_get.yml +84 -0
- data/spec/fixtures/vcr_cassettes/order_options_create.yml +42 -0
- data/spec/fixtures/vcr_cassettes/order_options_update.yml +82 -0
- data/spec/fixtures/vcr_cassettes/orders_get.yml +205 -0
- data/spec/fixtures/vcr_cassettes/orders_options_get.yml +120 -0
- data/spec/fixtures/vcr_cassettes/positions_get.yml +82 -0
- data/spec/fixtures/vcr_cassettes/positions_instrument_close.yml +154 -0
- data/spec/fixtures/vcr_cassettes/{account_id_order_options_create.yml → positions_instrument_get.yml} +24 -18
- data/spec/fixtures/vcr_cassettes/prices_options_get.yml +11 -48
- data/spec/fixtures/vcr_cassettes/spread_history_get.yml +53 -0
- data/spec/fixtures/vcr_cassettes/spreads_get.yml +53 -0
- data/spec/fixtures/vcr_cassettes/trade_id_close.yml +277 -0
- data/spec/fixtures/vcr_cassettes/trade_id_get.yml +82 -0
- data/spec/fixtures/vcr_cassettes/trade_options_modify.yml +80 -0
- data/spec/fixtures/vcr_cassettes/trades_filter_get.yml +90 -0
- data/spec/fixtures/vcr_cassettes/trades_get.yml +171 -0
- data/spec/fixtures/vcr_cassettes/transaction_id_get.yml +248 -0
- data/spec/fixtures/vcr_cassettes/transactions_options_get.yml +202 -0
- data/spec/fixtures/vcr_cassettes/with_throttling_and_max_requests_per_second.yml +25 -19
- data/spec/fixtures/vcr_cassettes/with_throttling_with_multiple_threads.yml +51 -39
- data/spec/fixtures/vcr_cassettes/without_throttling.yml +81 -61
- data/spec/oanda_api/client/client_spec.rb +23 -10
- data/spec/oanda_api/client/namespace_proxy_spec.rb +1 -1
- data/spec/oanda_api/client/resource_descriptor_spec.rb +45 -14
- data/spec/oanda_api/configuration_spec.rb +13 -0
- data/spec/oanda_api/examples/accounts_spec.rb +0 -7
- data/spec/oanda_api/examples/calendar_spec.rb +27 -0
- data/spec/oanda_api/examples/orders_spec.rb +12 -12
- data/spec/oanda_api/examples/positions_spec.rb +3 -3
- data/spec/oanda_api/examples/rates_spec.rb +4 -2
- data/spec/oanda_api/examples/spread_history_spec.rb +32 -0
- data/spec/oanda_api/examples/trades_spec.rb +5 -5
- data/spec/oanda_api/examples/transactions_spec.rb +2 -2
- data/spec/oanda_api/resource_base_spec.rb +48 -8
- data/spec/oanda_api/streaming/client_spec.rb +30 -2
- data/spec/spec_helper.rb +1 -1
- data/spec/support/client_helper.rb +45 -11
- data/spec/support/vcr.rb +1 -0
- metadata +63 -49
- data/spec/fixtures/vcr_cassettes/account_id_order_id_close.yml +0 -264
- data/spec/fixtures/vcr_cassettes/account_id_order_id_get.yml +0 -114
- data/spec/fixtures/vcr_cassettes/account_id_order_options_update.yml +0 -112
- data/spec/fixtures/vcr_cassettes/account_id_orders_get.yml +0 -118
- data/spec/fixtures/vcr_cassettes/account_id_orders_options_get.yml +0 -123
- data/spec/fixtures/vcr_cassettes/account_id_positions_get.yml +0 -112
- data/spec/fixtures/vcr_cassettes/account_id_positions_instrument_close.yml +0 -214
- data/spec/fixtures/vcr_cassettes/account_id_positions_instrument_get.yml +0 -110
- data/spec/fixtures/vcr_cassettes/account_id_trade_id_close.yml +0 -252
- data/spec/fixtures/vcr_cassettes/account_id_trade_id_get.yml +0 -112
- data/spec/fixtures/vcr_cassettes/account_id_trade_options_modify.yml +0 -110
- data/spec/fixtures/vcr_cassettes/account_id_trades_filter_get.yml +0 -118
- data/spec/fixtures/vcr_cassettes/account_id_trades_get.yml +0 -118
- data/spec/fixtures/vcr_cassettes/account_id_transaction_id_get.yml +0 -283
- data/spec/fixtures/vcr_cassettes/account_id_transactions_options_get.yml +0 -205
- data/spec/fixtures/vcr_cassettes/accounts_create.yml +0 -75
- data/spec/fixtures/vcr_cassettes/sandbox_client.yml +0 -116
- data/spec/fixtures/vcr_cassettes/sandbox_client_account.yml +0 -111
- data/spec/fixtures/vcr_cassettes/sandbox_instrument_EUR_USD.yml +0 -77
- data/spec/oanda_api/client/username_client_spec.rb +0 -31
@@ -0,0 +1,202 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api-fxpractice.oanda.com/v1/accounts/1871900/orders
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: instrument=USD_JPY&side=buy&type=market&units=10000
|
9
|
+
headers:
|
10
|
+
X-Accept-Datetime-Format:
|
11
|
+
- RFC3339
|
12
|
+
Authorization:
|
13
|
+
- Bearer <OANDA_TESTING_API_TOKEN>
|
14
|
+
Connection:
|
15
|
+
- keep-alive
|
16
|
+
Keep-Alive:
|
17
|
+
- 30
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- openresty/1.7.0.1
|
25
|
+
Date:
|
26
|
+
- Mon, 14 Mar 2016 23:11:40 GMT
|
27
|
+
Content-Type:
|
28
|
+
- application/json
|
29
|
+
Content-Length:
|
30
|
+
- '275'
|
31
|
+
Connection:
|
32
|
+
- keep-alive
|
33
|
+
body:
|
34
|
+
encoding: UTF-8
|
35
|
+
string: "{\n\t\"instrument\" : \"USD_JPY\",\n\t\"time\" : \"2016-03-14T23:11:40.000000Z\",\n\t\"price\"
|
36
|
+
: 113.814,\n\t\"tradeOpened\" : {\n\t\t\"id\" : 10173955906,\n\t\t\"units\"
|
37
|
+
: 10000,\n\t\t\"side\" : \"buy\",\n\t\t\"takeProfit\" : 0,\n\t\t\"stopLoss\"
|
38
|
+
: 0,\n\t\t\"trailingStop\" : 0\n\t},\n\t\"tradesClosed\" : [],\n\t\"tradeReduced\"
|
39
|
+
: {}\n}"
|
40
|
+
http_version:
|
41
|
+
recorded_at: Mon, 14 Mar 2016 23:11:41 GMT
|
42
|
+
- request:
|
43
|
+
method: get
|
44
|
+
uri: https://api-fxpractice.oanda.com/v1/accounts/1871900/transactions?instrument=USD_JPY
|
45
|
+
body:
|
46
|
+
encoding: US-ASCII
|
47
|
+
string: ''
|
48
|
+
headers:
|
49
|
+
X-Accept-Datetime-Format:
|
50
|
+
- RFC3339
|
51
|
+
Authorization:
|
52
|
+
- Bearer <OANDA_TESTING_API_TOKEN>
|
53
|
+
Connection:
|
54
|
+
- keep-alive
|
55
|
+
Keep-Alive:
|
56
|
+
- 30
|
57
|
+
response:
|
58
|
+
status:
|
59
|
+
code: 200
|
60
|
+
message: OK
|
61
|
+
headers:
|
62
|
+
Server:
|
63
|
+
- openresty/1.7.0.1
|
64
|
+
Date:
|
65
|
+
- Mon, 14 Mar 2016 23:11:40 GMT
|
66
|
+
Content-Type:
|
67
|
+
- application/json
|
68
|
+
Content-Length:
|
69
|
+
- '8109'
|
70
|
+
Connection:
|
71
|
+
- keep-alive
|
72
|
+
Access-Control-Expose-Headers:
|
73
|
+
- X-Result-Count
|
74
|
+
Etag:
|
75
|
+
- '"12fe9b9a3aaaeb3076689f9ad7965fe125ecc777"'
|
76
|
+
X-Result-Count:
|
77
|
+
- '27'
|
78
|
+
body:
|
79
|
+
encoding: UTF-8
|
80
|
+
string: "{\n\t\"transactions\" : [\n\t\t{\n\t\t\t\"id\" : 10173955906,\n\t\t\t\"accountId\"
|
81
|
+
: 1871900,\n\t\t\t\"time\" : \"2016-03-14T23:11:40.000000Z\",\n\t\t\t\"type\"
|
82
|
+
: \"MARKET_ORDER_CREATE\",\n\t\t\t\"instrument\" : \"USD_JPY\",\n\t\t\t\"units\"
|
83
|
+
: 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"price\" : 113.814,\n\t\t\t\"pl\"
|
84
|
+
: 0,\n\t\t\t\"interest\" : 0,\n\t\t\t\"accountBalance\" : 100449.5599,\n\t\t\t\"tradeOpened\"
|
85
|
+
: {\n\t\t\t\t\"id\" : 10173955906,\n\t\t\t\t\"units\" : 10000\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"id\"
|
86
|
+
: 10173954099,\n\t\t\t\"accountId\" : 1871900,\n\t\t\t\"time\" : \"2016-03-14T23:10:16.000000Z\",\n\t\t\t\"type\"
|
87
|
+
: \"TRADE_CLOSE\",\n\t\t\t\"instrument\" : \"USD_JPY\",\n\t\t\t\"units\" :
|
88
|
+
10000,\n\t\t\t\"side\" : \"sell\",\n\t\t\t\"price\" : 113.789,\n\t\t\t\"pl\"
|
89
|
+
: -1.494,\n\t\t\t\"interest\" : 0,\n\t\t\t\"accountBalance\" : 100449.5599,\n\t\t\t\"tradeId\"
|
90
|
+
: 10173953425\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173954090,\n\t\t\t\"accountId\"
|
91
|
+
: 1871900,\n\t\t\t\"time\" : \"2016-03-14T23:10:15.000000Z\",\n\t\t\t\"type\"
|
92
|
+
: \"MARKET_ORDER_CREATE\",\n\t\t\t\"instrument\" : \"USD_JPY\",\n\t\t\t\"units\"
|
93
|
+
: 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"price\" : 113.806,\n\t\t\t\"pl\"
|
94
|
+
: 0,\n\t\t\t\"interest\" : 0,\n\t\t\t\"accountBalance\" : 100451.0539,\n\t\t\t\"tradeOpened\"
|
95
|
+
: {\n\t\t\t\t\"id\" : 10173954090,\n\t\t\t\t\"units\" : 10000\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"id\"
|
96
|
+
: 10173953748,\n\t\t\t\"accountId\" : 1871900,\n\t\t\t\"time\" : \"2016-03-14T23:09:59.000000Z\",\n\t\t\t\"type\"
|
97
|
+
: \"TRADE_UPDATE\",\n\t\t\t\"instrument\" : \"USD_JPY\",\n\t\t\t\"units\"
|
98
|
+
: 10000,\n\t\t\t\"takeProfitPrice\" : 115.806,\n\t\t\t\"tradeId\" : 10173953742\n\t\t},\n\t\t{\n\t\t\t\"id\"
|
99
|
+
: 10173953742,\n\t\t\t\"accountId\" : 1871900,\n\t\t\t\"time\" : \"2016-03-14T23:09:59.000000Z\",\n\t\t\t\"type\"
|
100
|
+
: \"MARKET_ORDER_CREATE\",\n\t\t\t\"instrument\" : \"USD_JPY\",\n\t\t\t\"units\"
|
101
|
+
: 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"price\" : 113.806,\n\t\t\t\"pl\"
|
102
|
+
: 0,\n\t\t\t\"interest\" : 0,\n\t\t\t\"accountBalance\" : 100451.0539,\n\t\t\t\"tradeOpened\"
|
103
|
+
: {\n\t\t\t\t\"id\" : 10173953742,\n\t\t\t\t\"units\" : 10000\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"id\"
|
104
|
+
: 10173953735,\n\t\t\t\"accountId\" : 1871900,\n\t\t\t\"time\" : \"2016-03-14T23:09:58.000000Z\",\n\t\t\t\"type\"
|
105
|
+
: \"MARKET_ORDER_CREATE\",\n\t\t\t\"instrument\" : \"USD_JPY\",\n\t\t\t\"units\"
|
106
|
+
: 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"price\" : 113.806,\n\t\t\t\"pl\"
|
107
|
+
: 0,\n\t\t\t\"interest\" : 0,\n\t\t\t\"accountBalance\" : 100451.0539,\n\t\t\t\"tradeOpened\"
|
108
|
+
: {\n\t\t\t\t\"id\" : 10173953735,\n\t\t\t\t\"units\" : 10000\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"id\"
|
109
|
+
: 10173953431,\n\t\t\t\"accountId\" : 1871900,\n\t\t\t\"time\" : \"2016-03-14T23:09:40.000000Z\",\n\t\t\t\"type\"
|
110
|
+
: \"MARKET_ORDER_CREATE\",\n\t\t\t\"instrument\" : \"USD_JPY\",\n\t\t\t\"units\"
|
111
|
+
: 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"price\" : 113.806,\n\t\t\t\"pl\"
|
112
|
+
: 0,\n\t\t\t\"interest\" : 0,\n\t\t\t\"accountBalance\" : 100451.0539,\n\t\t\t\"tradeOpened\"
|
113
|
+
: {\n\t\t\t\t\"id\" : 10173953431,\n\t\t\t\t\"units\" : 10000\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"id\"
|
114
|
+
: 10173953425,\n\t\t\t\"accountId\" : 1871900,\n\t\t\t\"time\" : \"2016-03-14T23:09:40.000000Z\",\n\t\t\t\"type\"
|
115
|
+
: \"MARKET_ORDER_CREATE\",\n\t\t\t\"instrument\" : \"USD_JPY\",\n\t\t\t\"units\"
|
116
|
+
: 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"price\" : 113.806,\n\t\t\t\"pl\"
|
117
|
+
: 0,\n\t\t\t\"interest\" : 0,\n\t\t\t\"accountBalance\" : 100451.0539,\n\t\t\t\"tradeOpened\"
|
118
|
+
: {\n\t\t\t\t\"id\" : 10173953425,\n\t\t\t\t\"units\" : 10000\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"id\"
|
119
|
+
: 10173950343,\n\t\t\t\"accountId\" : 1871900,\n\t\t\t\"time\" : \"2016-03-14T23:07:13.000000Z\",\n\t\t\t\"type\"
|
120
|
+
: \"TRADE_CLOSE\",\n\t\t\t\"instrument\" : \"USD_JPY\",\n\t\t\t\"units\" :
|
121
|
+
10000,\n\t\t\t\"side\" : \"sell\",\n\t\t\t\"price\" : 113.79,\n\t\t\t\"pl\"
|
122
|
+
: -1.5819,\n\t\t\t\"interest\" : 0,\n\t\t\t\"accountBalance\" : 100451.0539,\n\t\t\t\"tradeId\"
|
123
|
+
: 10173950329\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173950342,\n\t\t\t\"accountId\"
|
124
|
+
: 1871900,\n\t\t\t\"time\" : \"2016-03-14T23:07:13.000000Z\",\n\t\t\t\"type\"
|
125
|
+
: \"TRADE_CLOSE\",\n\t\t\t\"instrument\" : \"USD_JPY\",\n\t\t\t\"units\" :
|
126
|
+
10000,\n\t\t\t\"side\" : \"sell\",\n\t\t\t\"price\" : 113.79,\n\t\t\t\"pl\"
|
127
|
+
: -1.5819,\n\t\t\t\"interest\" : 0,\n\t\t\t\"accountBalance\" : 100452.6358,\n\t\t\t\"tradeId\"
|
128
|
+
: 10173950020\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173950341,\n\t\t\t\"accountId\"
|
129
|
+
: 1871900,\n\t\t\t\"time\" : \"2016-03-14T23:07:13.000000Z\",\n\t\t\t\"type\"
|
130
|
+
: \"TRADE_CLOSE\",\n\t\t\t\"instrument\" : \"USD_JPY\",\n\t\t\t\"units\" :
|
131
|
+
10000,\n\t\t\t\"side\" : \"sell\",\n\t\t\t\"price\" : 113.79,\n\t\t\t\"pl\"
|
132
|
+
: -1.5819,\n\t\t\t\"interest\" : 0,\n\t\t\t\"accountBalance\" : 100454.2177,\n\t\t\t\"tradeId\"
|
133
|
+
: 10173950011\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173950340,\n\t\t\t\"accountId\"
|
134
|
+
: 1871900,\n\t\t\t\"time\" : \"2016-03-14T23:07:13.000000Z\",\n\t\t\t\"type\"
|
135
|
+
: \"TRADE_CLOSE\",\n\t\t\t\"instrument\" : \"USD_JPY\",\n\t\t\t\"units\" :
|
136
|
+
10000,\n\t\t\t\"side\" : \"sell\",\n\t\t\t\"price\" : 113.79,\n\t\t\t\"pl\"
|
137
|
+
: 16.519,\n\t\t\t\"interest\" : -0.0089,\n\t\t\t\"accountBalance\" : 100455.7996,\n\t\t\t\"tradeId\"
|
138
|
+
: 10173145109\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173950339,\n\t\t\t\"accountId\"
|
139
|
+
: 1871900,\n\t\t\t\"time\" : \"2016-03-14T23:07:13.000000Z\",\n\t\t\t\"type\"
|
140
|
+
: \"TRADE_CLOSE\",\n\t\t\t\"instrument\" : \"USD_JPY\",\n\t\t\t\"units\" :
|
141
|
+
10000,\n\t\t\t\"side\" : \"sell\",\n\t\t\t\"price\" : 113.79,\n\t\t\t\"pl\"
|
142
|
+
: 17.1341,\n\t\t\t\"interest\" : -0.0089,\n\t\t\t\"accountBalance\" : 100439.2895,\n\t\t\t\"tradeId\"
|
143
|
+
: 10173144902\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173950338,\n\t\t\t\"accountId\"
|
144
|
+
: 1871900,\n\t\t\t\"time\" : \"2016-03-14T23:07:13.000000Z\",\n\t\t\t\"type\"
|
145
|
+
: \"TRADE_CLOSE\",\n\t\t\t\"instrument\" : \"USD_JPY\",\n\t\t\t\"units\" :
|
146
|
+
10000,\n\t\t\t\"side\" : \"sell\",\n\t\t\t\"price\" : 113.79,\n\t\t\t\"pl\"
|
147
|
+
: 17.1341,\n\t\t\t\"interest\" : -0.0089,\n\t\t\t\"accountBalance\" : 100422.1643,\n\t\t\t\"tradeId\"
|
148
|
+
: 10173144640\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173950337,\n\t\t\t\"accountId\"
|
149
|
+
: 1871900,\n\t\t\t\"time\" : \"2016-03-14T23:07:13.000000Z\",\n\t\t\t\"type\"
|
150
|
+
: \"TRADE_CLOSE\",\n\t\t\t\"instrument\" : \"USD_JPY\",\n\t\t\t\"units\" :
|
151
|
+
10000,\n\t\t\t\"side\" : \"sell\",\n\t\t\t\"price\" : 113.79,\n\t\t\t\"pl\"
|
152
|
+
: 16.9584,\n\t\t\t\"interest\" : -0.0089,\n\t\t\t\"accountBalance\" : 100405.0391,\n\t\t\t\"tradeId\"
|
153
|
+
: 10173144402\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173950336,\n\t\t\t\"accountId\"
|
154
|
+
: 1871900,\n\t\t\t\"time\" : \"2016-03-14T23:07:13.000000Z\",\n\t\t\t\"type\"
|
155
|
+
: \"TRADE_CLOSE\",\n\t\t\t\"instrument\" : \"USD_JPY\",\n\t\t\t\"units\" :
|
156
|
+
10000,\n\t\t\t\"side\" : \"sell\",\n\t\t\t\"price\" : 113.79,\n\t\t\t\"pl\"
|
157
|
+
: 17.4856,\n\t\t\t\"interest\" : -0.0089,\n\t\t\t\"accountBalance\" : 100388.0896,\n\t\t\t\"tradeId\"
|
158
|
+
: 10173144214\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173950335,\n\t\t\t\"accountId\"
|
159
|
+
: 1871900,\n\t\t\t\"time\" : \"2016-03-14T23:07:13.000000Z\",\n\t\t\t\"type\"
|
160
|
+
: \"TRADE_CLOSE\",\n\t\t\t\"instrument\" : \"USD_JPY\",\n\t\t\t\"units\" :
|
161
|
+
10000,\n\t\t\t\"side\" : \"sell\",\n\t\t\t\"price\" : 113.79,\n\t\t\t\"pl\"
|
162
|
+
: 17.4856,\n\t\t\t\"interest\" : -0.0089,\n\t\t\t\"accountBalance\" : 100370.6129,\n\t\t\t\"tradeId\"
|
163
|
+
: 10173144073\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173950329,\n\t\t\t\"accountId\"
|
164
|
+
: 1871900,\n\t\t\t\"time\" : \"2016-03-14T23:07:12.000000Z\",\n\t\t\t\"type\"
|
165
|
+
: \"MARKET_ORDER_CREATE\",\n\t\t\t\"instrument\" : \"USD_JPY\",\n\t\t\t\"units\"
|
166
|
+
: 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"price\" : 113.808,\n\t\t\t\"pl\"
|
167
|
+
: 0,\n\t\t\t\"interest\" : 0,\n\t\t\t\"accountBalance\" : 100353.1362,\n\t\t\t\"tradeOpened\"
|
168
|
+
: {\n\t\t\t\t\"id\" : 10173950329,\n\t\t\t\t\"units\" : 10000\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"id\"
|
169
|
+
: 10173950020,\n\t\t\t\"accountId\" : 1871900,\n\t\t\t\"time\" : \"2016-03-14T23:06:51.000000Z\",\n\t\t\t\"type\"
|
170
|
+
: \"MARKET_ORDER_CREATE\",\n\t\t\t\"instrument\" : \"USD_JPY\",\n\t\t\t\"units\"
|
171
|
+
: 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"price\" : 113.808,\n\t\t\t\"pl\"
|
172
|
+
: 0,\n\t\t\t\"interest\" : 0,\n\t\t\t\"accountBalance\" : 100353.1362,\n\t\t\t\"tradeOpened\"
|
173
|
+
: {\n\t\t\t\t\"id\" : 10173950020,\n\t\t\t\t\"units\" : 10000\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"id\"
|
174
|
+
: 10173950011,\n\t\t\t\"accountId\" : 1871900,\n\t\t\t\"time\" : \"2016-03-14T23:06:51.000000Z\",\n\t\t\t\"type\"
|
175
|
+
: \"MARKET_ORDER_CREATE\",\n\t\t\t\"instrument\" : \"USD_JPY\",\n\t\t\t\"units\"
|
176
|
+
: 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"price\" : 113.808,\n\t\t\t\"pl\"
|
177
|
+
: 0,\n\t\t\t\"interest\" : 0,\n\t\t\t\"accountBalance\" : 100353.1362,\n\t\t\t\"tradeOpened\"
|
178
|
+
: {\n\t\t\t\t\"id\" : 10173950011,\n\t\t\t\t\"units\" : 10000\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"id\"
|
179
|
+
: 10173904417,\n\t\t\t\"accountId\" : 1871900,\n\t\t\t\"time\" : \"2016-03-14T22:30:18.000000Z\",\n\t\t\t\"type\"
|
180
|
+
: \"ORDER_CANCEL\",\n\t\t\t\"orderId\" : 10173828251,\n\t\t\t\"reason\" :
|
181
|
+
\"TIME_IN_FORCE_EXPIRED\"\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173900676,\n\t\t\t\"accountId\"
|
182
|
+
: 1871900,\n\t\t\t\"time\" : \"2016-03-14T22:27:03.000000Z\",\n\t\t\t\"type\"
|
183
|
+
: \"ORDER_CANCEL\",\n\t\t\t\"orderId\" : 10173825142,\n\t\t\t\"reason\" :
|
184
|
+
\"TIME_IN_FORCE_EXPIRED\"\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173899344,\n\t\t\t\"accountId\"
|
185
|
+
: 1871900,\n\t\t\t\"time\" : \"2016-03-14T22:26:09.000000Z\",\n\t\t\t\"type\"
|
186
|
+
: \"ORDER_CANCEL\",\n\t\t\t\"orderId\" : 10173824146,\n\t\t\t\"reason\" :
|
187
|
+
\"TIME_IN_FORCE_EXPIRED\"\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173897320,\n\t\t\t\"accountId\"
|
188
|
+
: 1871900,\n\t\t\t\"time\" : \"2016-03-14T22:24:48.000000Z\",\n\t\t\t\"type\"
|
189
|
+
: \"ORDER_CANCEL\",\n\t\t\t\"orderId\" : 10173822590,\n\t\t\t\"reason\" :
|
190
|
+
\"TIME_IN_FORCE_EXPIRED\"\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173859338,\n\t\t\t\"accountId\"
|
191
|
+
: 1871900,\n\t\t\t\"time\" : \"2016-03-14T21:58:13.000000Z\",\n\t\t\t\"type\"
|
192
|
+
: \"ORDER_CANCEL\",\n\t\t\t\"orderId\" : 10173768333,\n\t\t\t\"reason\" :
|
193
|
+
\"TIME_IN_FORCE_EXPIRED\"\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173858096,\n\t\t\t\"accountId\"
|
194
|
+
: 1871900,\n\t\t\t\"time\" : \"2016-03-14T21:57:04.000000Z\",\n\t\t\t\"type\"
|
195
|
+
: \"ORDER_CANCEL\",\n\t\t\t\"orderId\" : 10173764680,\n\t\t\t\"reason\" :
|
196
|
+
\"TIME_IN_FORCE_EXPIRED\"\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173836997,\n\t\t\t\"accountId\"
|
197
|
+
: 1871900,\n\t\t\t\"time\" : \"2016-03-14T21:39:01.000000Z\",\n\t\t\t\"type\"
|
198
|
+
: \"ORDER_CANCEL\",\n\t\t\t\"orderId\" : 10173700793,\n\t\t\t\"reason\" :
|
199
|
+
\"TIME_IN_FORCE_EXPIRED\"\n\t\t}\n\t]\n}"
|
200
|
+
http_version:
|
201
|
+
recorded_at: Mon, 14 Mar 2016 23:11:41 GMT
|
202
|
+
recorded_with: VCR 2.9.3
|
@@ -2,13 +2,15 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: https://api-fxpractice.oanda.com/v1/prices?instruments=EUR_USD
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
X-Accept-Datetime-Format:
|
11
11
|
- RFC3339
|
12
|
+
Authorization:
|
13
|
+
- Bearer <OANDA_TESTING_API_TOKEN>
|
12
14
|
Connection:
|
13
15
|
- keep-alive
|
14
16
|
Keep-Alive:
|
@@ -21,7 +23,7 @@ http_interactions:
|
|
21
23
|
Server:
|
22
24
|
- openresty/1.7.0.1
|
23
25
|
Date:
|
24
|
-
-
|
26
|
+
- Mon, 14 Mar 2016 16:23:37 GMT
|
25
27
|
Content-Type:
|
26
28
|
- application/json
|
27
29
|
Content-Length:
|
@@ -29,23 +31,25 @@ http_interactions:
|
|
29
31
|
Connection:
|
30
32
|
- keep-alive
|
31
33
|
Etag:
|
32
|
-
- '"
|
34
|
+
- '"54161e7a195b6426f48953207f4ae6294caf807c"'
|
33
35
|
body:
|
34
36
|
encoding: UTF-8
|
35
37
|
string: "{\n\t\"prices\" : [\n\t\t{\n\t\t\t\"instrument\" : \"EUR_USD\",\n\t\t\t\"time\"
|
36
|
-
: \"
|
37
|
-
: 1.
|
38
|
+
: \"2016-03-14T16:23:37.776334Z\",\n\t\t\t\"bid\" : 1.11148,\n\t\t\t\"ask\"
|
39
|
+
: 1.11162\n\t\t}\n\t]\n}"
|
38
40
|
http_version:
|
39
|
-
recorded_at:
|
41
|
+
recorded_at: Mon, 14 Mar 2016 16:23:37 GMT
|
40
42
|
- request:
|
41
43
|
method: get
|
42
|
-
uri:
|
44
|
+
uri: https://api-fxpractice.oanda.com/v1/prices?instruments=EUR_USD
|
43
45
|
body:
|
44
46
|
encoding: US-ASCII
|
45
47
|
string: ''
|
46
48
|
headers:
|
47
49
|
X-Accept-Datetime-Format:
|
48
50
|
- RFC3339
|
51
|
+
Authorization:
|
52
|
+
- Bearer <OANDA_TESTING_API_TOKEN>
|
49
53
|
Connection:
|
50
54
|
- keep-alive
|
51
55
|
Keep-Alive:
|
@@ -58,7 +62,7 @@ http_interactions:
|
|
58
62
|
Server:
|
59
63
|
- openresty/1.7.0.1
|
60
64
|
Date:
|
61
|
-
-
|
65
|
+
- Mon, 14 Mar 2016 16:23:38 GMT
|
62
66
|
Content-Type:
|
63
67
|
- application/json
|
64
68
|
Content-Length:
|
@@ -66,23 +70,25 @@ http_interactions:
|
|
66
70
|
Connection:
|
67
71
|
- keep-alive
|
68
72
|
Etag:
|
69
|
-
- '"
|
73
|
+
- '"01b82f3f9c73b53655860ad76ce02ed086b60f0c"'
|
70
74
|
body:
|
71
75
|
encoding: UTF-8
|
72
76
|
string: "{\n\t\"prices\" : [\n\t\t{\n\t\t\t\"instrument\" : \"EUR_USD\",\n\t\t\t\"time\"
|
73
|
-
: \"
|
74
|
-
: 1.
|
77
|
+
: \"2016-03-14T16:23:38.477982Z\",\n\t\t\t\"bid\" : 1.11149,\n\t\t\t\"ask\"
|
78
|
+
: 1.11162\n\t\t}\n\t]\n}"
|
75
79
|
http_version:
|
76
|
-
recorded_at:
|
80
|
+
recorded_at: Mon, 14 Mar 2016 16:23:38 GMT
|
77
81
|
- request:
|
78
82
|
method: get
|
79
|
-
uri:
|
83
|
+
uri: https://api-fxpractice.oanda.com/v1/prices?instruments=EUR_USD
|
80
84
|
body:
|
81
85
|
encoding: US-ASCII
|
82
86
|
string: ''
|
83
87
|
headers:
|
84
88
|
X-Accept-Datetime-Format:
|
85
89
|
- RFC3339
|
90
|
+
Authorization:
|
91
|
+
- Bearer <OANDA_TESTING_API_TOKEN>
|
86
92
|
Connection:
|
87
93
|
- keep-alive
|
88
94
|
Keep-Alive:
|
@@ -95,7 +101,7 @@ http_interactions:
|
|
95
101
|
Server:
|
96
102
|
- openresty/1.7.0.1
|
97
103
|
Date:
|
98
|
-
-
|
104
|
+
- Mon, 14 Mar 2016 16:23:39 GMT
|
99
105
|
Content-Type:
|
100
106
|
- application/json
|
101
107
|
Content-Length:
|
@@ -103,12 +109,12 @@ http_interactions:
|
|
103
109
|
Connection:
|
104
110
|
- keep-alive
|
105
111
|
Etag:
|
106
|
-
- '"
|
112
|
+
- '"01b82f3f9c73b53655860ad76ce02ed086b60f0c"'
|
107
113
|
body:
|
108
114
|
encoding: UTF-8
|
109
115
|
string: "{\n\t\"prices\" : [\n\t\t{\n\t\t\t\"instrument\" : \"EUR_USD\",\n\t\t\t\"time\"
|
110
|
-
: \"
|
111
|
-
: 1.
|
116
|
+
: \"2016-03-14T16:23:38.477982Z\",\n\t\t\t\"bid\" : 1.11149,\n\t\t\t\"ask\"
|
117
|
+
: 1.11162\n\t\t}\n\t]\n}"
|
112
118
|
http_version:
|
113
|
-
recorded_at:
|
114
|
-
recorded_with: VCR
|
119
|
+
recorded_at: Mon, 14 Mar 2016 16:23:39 GMT
|
120
|
+
recorded_with: VCR 3.0.1
|
@@ -2,13 +2,15 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: https://api-fxpractice.oanda.com/v1/prices?instruments=EUR_USD
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
X-Accept-Datetime-Format:
|
11
11
|
- RFC3339
|
12
|
+
Authorization:
|
13
|
+
- Bearer <OANDA_TESTING_API_TOKEN>
|
12
14
|
Connection:
|
13
15
|
- keep-alive
|
14
16
|
Keep-Alive:
|
@@ -21,7 +23,7 @@ http_interactions:
|
|
21
23
|
Server:
|
22
24
|
- openresty/1.7.0.1
|
23
25
|
Date:
|
24
|
-
-
|
26
|
+
- Mon, 14 Mar 2016 16:23:39 GMT
|
25
27
|
Content-Type:
|
26
28
|
- application/json
|
27
29
|
Content-Length:
|
@@ -29,23 +31,25 @@ http_interactions:
|
|
29
31
|
Connection:
|
30
32
|
- keep-alive
|
31
33
|
Etag:
|
32
|
-
- '"
|
34
|
+
- '"01b82f3f9c73b53655860ad76ce02ed086b60f0c"'
|
33
35
|
body:
|
34
36
|
encoding: UTF-8
|
35
37
|
string: "{\n\t\"prices\" : [\n\t\t{\n\t\t\t\"instrument\" : \"EUR_USD\",\n\t\t\t\"time\"
|
36
|
-
: \"
|
37
|
-
: 1.
|
38
|
+
: \"2016-03-14T16:23:38.477982Z\",\n\t\t\t\"bid\" : 1.11149,\n\t\t\t\"ask\"
|
39
|
+
: 1.11162\n\t\t}\n\t]\n}"
|
38
40
|
http_version:
|
39
|
-
recorded_at:
|
41
|
+
recorded_at: Mon, 14 Mar 2016 16:23:39 GMT
|
40
42
|
- request:
|
41
43
|
method: get
|
42
|
-
uri:
|
44
|
+
uri: https://api-fxpractice.oanda.com/v1/prices?instruments=EUR_USD
|
43
45
|
body:
|
44
46
|
encoding: US-ASCII
|
45
47
|
string: ''
|
46
48
|
headers:
|
47
49
|
X-Accept-Datetime-Format:
|
48
50
|
- RFC3339
|
51
|
+
Authorization:
|
52
|
+
- Bearer <OANDA_TESTING_API_TOKEN>
|
49
53
|
Connection:
|
50
54
|
- keep-alive
|
51
55
|
Keep-Alive:
|
@@ -58,7 +62,7 @@ http_interactions:
|
|
58
62
|
Server:
|
59
63
|
- openresty/1.7.0.1
|
60
64
|
Date:
|
61
|
-
-
|
65
|
+
- Mon, 14 Mar 2016 16:23:40 GMT
|
62
66
|
Content-Type:
|
63
67
|
- application/json
|
64
68
|
Content-Length:
|
@@ -66,23 +70,25 @@ http_interactions:
|
|
66
70
|
Connection:
|
67
71
|
- keep-alive
|
68
72
|
Etag:
|
69
|
-
- '"
|
73
|
+
- '"01b82f3f9c73b53655860ad76ce02ed086b60f0c"'
|
70
74
|
body:
|
71
75
|
encoding: UTF-8
|
72
76
|
string: "{\n\t\"prices\" : [\n\t\t{\n\t\t\t\"instrument\" : \"EUR_USD\",\n\t\t\t\"time\"
|
73
|
-
: \"
|
74
|
-
: 1.
|
77
|
+
: \"2016-03-14T16:23:38.477982Z\",\n\t\t\t\"bid\" : 1.11149,\n\t\t\t\"ask\"
|
78
|
+
: 1.11162\n\t\t}\n\t]\n}"
|
75
79
|
http_version:
|
76
|
-
recorded_at:
|
80
|
+
recorded_at: Mon, 14 Mar 2016 16:23:40 GMT
|
77
81
|
- request:
|
78
82
|
method: get
|
79
|
-
uri:
|
83
|
+
uri: https://api-fxpractice.oanda.com/v1/prices?instruments=EUR_USD
|
80
84
|
body:
|
81
85
|
encoding: US-ASCII
|
82
86
|
string: ''
|
83
87
|
headers:
|
84
88
|
X-Accept-Datetime-Format:
|
85
89
|
- RFC3339
|
90
|
+
Authorization:
|
91
|
+
- Bearer <OANDA_TESTING_API_TOKEN>
|
86
92
|
Connection:
|
87
93
|
- keep-alive
|
88
94
|
Keep-Alive:
|
@@ -95,7 +101,7 @@ http_interactions:
|
|
95
101
|
Server:
|
96
102
|
- openresty/1.7.0.1
|
97
103
|
Date:
|
98
|
-
-
|
104
|
+
- Mon, 14 Mar 2016 16:23:40 GMT
|
99
105
|
Content-Type:
|
100
106
|
- application/json
|
101
107
|
Content-Length:
|
@@ -103,23 +109,25 @@ http_interactions:
|
|
103
109
|
Connection:
|
104
110
|
- keep-alive
|
105
111
|
Etag:
|
106
|
-
- '"
|
112
|
+
- '"01b82f3f9c73b53655860ad76ce02ed086b60f0c"'
|
107
113
|
body:
|
108
114
|
encoding: UTF-8
|
109
115
|
string: "{\n\t\"prices\" : [\n\t\t{\n\t\t\t\"instrument\" : \"EUR_USD\",\n\t\t\t\"time\"
|
110
|
-
: \"
|
111
|
-
: 1.
|
116
|
+
: \"2016-03-14T16:23:38.477982Z\",\n\t\t\t\"bid\" : 1.11149,\n\t\t\t\"ask\"
|
117
|
+
: 1.11162\n\t\t}\n\t]\n}"
|
112
118
|
http_version:
|
113
|
-
recorded_at:
|
119
|
+
recorded_at: Mon, 14 Mar 2016 16:23:40 GMT
|
114
120
|
- request:
|
115
121
|
method: get
|
116
|
-
uri:
|
122
|
+
uri: https://api-fxpractice.oanda.com/v1/prices?instruments=EUR_USD
|
117
123
|
body:
|
118
124
|
encoding: US-ASCII
|
119
125
|
string: ''
|
120
126
|
headers:
|
121
127
|
X-Accept-Datetime-Format:
|
122
128
|
- RFC3339
|
129
|
+
Authorization:
|
130
|
+
- Bearer <OANDA_TESTING_API_TOKEN>
|
123
131
|
Connection:
|
124
132
|
- keep-alive
|
125
133
|
Keep-Alive:
|
@@ -132,7 +140,7 @@ http_interactions:
|
|
132
140
|
Server:
|
133
141
|
- openresty/1.7.0.1
|
134
142
|
Date:
|
135
|
-
-
|
143
|
+
- Mon, 14 Mar 2016 16:23:41 GMT
|
136
144
|
Content-Type:
|
137
145
|
- application/json
|
138
146
|
Content-Length:
|
@@ -140,23 +148,25 @@ http_interactions:
|
|
140
148
|
Connection:
|
141
149
|
- keep-alive
|
142
150
|
Etag:
|
143
|
-
- '"
|
151
|
+
- '"01b82f3f9c73b53655860ad76ce02ed086b60f0c"'
|
144
152
|
body:
|
145
153
|
encoding: UTF-8
|
146
154
|
string: "{\n\t\"prices\" : [\n\t\t{\n\t\t\t\"instrument\" : \"EUR_USD\",\n\t\t\t\"time\"
|
147
|
-
: \"
|
148
|
-
: 1.
|
155
|
+
: \"2016-03-14T16:23:38.477982Z\",\n\t\t\t\"bid\" : 1.11149,\n\t\t\t\"ask\"
|
156
|
+
: 1.11162\n\t\t}\n\t]\n}"
|
149
157
|
http_version:
|
150
|
-
recorded_at:
|
158
|
+
recorded_at: Mon, 14 Mar 2016 16:23:40 GMT
|
151
159
|
- request:
|
152
160
|
method: get
|
153
|
-
uri:
|
161
|
+
uri: https://api-fxpractice.oanda.com/v1/prices?instruments=EUR_USD
|
154
162
|
body:
|
155
163
|
encoding: US-ASCII
|
156
164
|
string: ''
|
157
165
|
headers:
|
158
166
|
X-Accept-Datetime-Format:
|
159
167
|
- RFC3339
|
168
|
+
Authorization:
|
169
|
+
- Bearer <OANDA_TESTING_API_TOKEN>
|
160
170
|
Connection:
|
161
171
|
- keep-alive
|
162
172
|
Keep-Alive:
|
@@ -169,31 +179,33 @@ http_interactions:
|
|
169
179
|
Server:
|
170
180
|
- openresty/1.7.0.1
|
171
181
|
Date:
|
172
|
-
-
|
182
|
+
- Mon, 14 Mar 2016 16:23:41 GMT
|
173
183
|
Content-Type:
|
174
184
|
- application/json
|
175
185
|
Content-Length:
|
176
|
-
- '
|
186
|
+
- '138'
|
177
187
|
Connection:
|
178
188
|
- keep-alive
|
179
189
|
Etag:
|
180
|
-
- '"
|
190
|
+
- '"e04ddc2bcbd6de4403009d272f707a35bcb871bb"'
|
181
191
|
body:
|
182
192
|
encoding: UTF-8
|
183
193
|
string: "{\n\t\"prices\" : [\n\t\t{\n\t\t\t\"instrument\" : \"EUR_USD\",\n\t\t\t\"time\"
|
184
|
-
: \"
|
185
|
-
: 1.
|
194
|
+
: \"2016-03-14T16:23:41.519333Z\",\n\t\t\t\"bid\" : 1.11147,\n\t\t\t\"ask\"
|
195
|
+
: 1.1116\n\t\t}\n\t]\n}"
|
186
196
|
http_version:
|
187
|
-
recorded_at:
|
197
|
+
recorded_at: Mon, 14 Mar 2016 16:23:41 GMT
|
188
198
|
- request:
|
189
199
|
method: get
|
190
|
-
uri:
|
200
|
+
uri: https://api-fxpractice.oanda.com/v1/prices?instruments=EUR_USD
|
191
201
|
body:
|
192
202
|
encoding: US-ASCII
|
193
203
|
string: ''
|
194
204
|
headers:
|
195
205
|
X-Accept-Datetime-Format:
|
196
206
|
- RFC3339
|
207
|
+
Authorization:
|
208
|
+
- Bearer <OANDA_TESTING_API_TOKEN>
|
197
209
|
Connection:
|
198
210
|
- keep-alive
|
199
211
|
Keep-Alive:
|
@@ -206,20 +218,20 @@ http_interactions:
|
|
206
218
|
Server:
|
207
219
|
- openresty/1.7.0.1
|
208
220
|
Date:
|
209
|
-
-
|
221
|
+
- Mon, 14 Mar 2016 16:23:42 GMT
|
210
222
|
Content-Type:
|
211
223
|
- application/json
|
212
224
|
Content-Length:
|
213
|
-
- '
|
225
|
+
- '138'
|
214
226
|
Connection:
|
215
227
|
- keep-alive
|
216
228
|
Etag:
|
217
|
-
- '"
|
229
|
+
- '"e04ddc2bcbd6de4403009d272f707a35bcb871bb"'
|
218
230
|
body:
|
219
231
|
encoding: UTF-8
|
220
232
|
string: "{\n\t\"prices\" : [\n\t\t{\n\t\t\t\"instrument\" : \"EUR_USD\",\n\t\t\t\"time\"
|
221
|
-
: \"
|
222
|
-
: 1.
|
233
|
+
: \"2016-03-14T16:23:41.519333Z\",\n\t\t\t\"bid\" : 1.11147,\n\t\t\t\"ask\"
|
234
|
+
: 1.1116\n\t\t}\n\t]\n}"
|
223
235
|
http_version:
|
224
|
-
recorded_at:
|
225
|
-
recorded_with: VCR
|
236
|
+
recorded_at: Mon, 14 Mar 2016 16:23:41 GMT
|
237
|
+
recorded_with: VCR 3.0.1
|