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.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +67 -6
  3. data/README.md +31 -3
  4. data/lib/oanda_api.rb +3 -1
  5. data/lib/oanda_api/client/client.rb +17 -12
  6. data/lib/oanda_api/client/namespace_proxy.rb +2 -2
  7. data/lib/oanda_api/client/resource_descriptor.rb +25 -9
  8. data/lib/oanda_api/client/username_client.rb +7 -0
  9. data/lib/oanda_api/configuration.rb +14 -0
  10. data/lib/oanda_api/resource/account.rb +22 -3
  11. data/lib/oanda_api/resource/candle.rb +1 -1
  12. data/lib/oanda_api/resource/labs/calendar_event.rb +25 -0
  13. data/lib/oanda_api/resource/labs/spread_history.rb +61 -0
  14. data/lib/oanda_api/resource/order.rb +4 -4
  15. data/lib/oanda_api/resource/transaction_history.rb +0 -1
  16. data/lib/oanda_api/resource_base.rb +64 -2
  17. data/lib/oanda_api/resource_collection.rb +6 -0
  18. data/lib/oanda_api/streaming/client.rb +1 -0
  19. data/lib/oanda_api/version.rb +1 -1
  20. data/oanda_api.gemspec +2 -2
  21. data/spec/fixtures/vcr_cassettes/accounts_get.yml +13 -79
  22. data/spec/fixtures/vcr_cassettes/accounts_id_get.yml +23 -125
  23. data/spec/fixtures/vcr_cassettes/calendar_events_period_get.yml +54 -0
  24. data/spec/fixtures/vcr_cassettes/calendar_instrument_and_period_get.yml +61 -0
  25. data/spec/fixtures/vcr_cassettes/calendar_period_get.yml +54 -0
  26. data/spec/fixtures/vcr_cassettes/candles_options_get.yml +9 -45
  27. data/spec/fixtures/vcr_cassettes/client_helper_account.yml +45 -0
  28. data/spec/fixtures/vcr_cassettes/client_helper_accounts.yml +45 -0
  29. data/spec/fixtures/vcr_cassettes/instrument_EUR_USD.yml +42 -0
  30. data/spec/fixtures/vcr_cassettes/instrument_USD_JPY.yml +42 -0
  31. data/spec/fixtures/vcr_cassettes/instruments_get.yml +37 -303
  32. data/spec/fixtures/vcr_cassettes/instruments_options_get.yml +6 -43
  33. data/spec/fixtures/vcr_cassettes/order_id_close.yml +448 -0
  34. data/spec/fixtures/vcr_cassettes/order_id_get.yml +84 -0
  35. data/spec/fixtures/vcr_cassettes/order_options_create.yml +42 -0
  36. data/spec/fixtures/vcr_cassettes/order_options_update.yml +82 -0
  37. data/spec/fixtures/vcr_cassettes/orders_get.yml +205 -0
  38. data/spec/fixtures/vcr_cassettes/orders_options_get.yml +120 -0
  39. data/spec/fixtures/vcr_cassettes/positions_get.yml +82 -0
  40. data/spec/fixtures/vcr_cassettes/positions_instrument_close.yml +154 -0
  41. data/spec/fixtures/vcr_cassettes/{account_id_order_options_create.yml → positions_instrument_get.yml} +24 -18
  42. data/spec/fixtures/vcr_cassettes/prices_options_get.yml +11 -48
  43. data/spec/fixtures/vcr_cassettes/spread_history_get.yml +53 -0
  44. data/spec/fixtures/vcr_cassettes/spreads_get.yml +53 -0
  45. data/spec/fixtures/vcr_cassettes/trade_id_close.yml +277 -0
  46. data/spec/fixtures/vcr_cassettes/trade_id_get.yml +82 -0
  47. data/spec/fixtures/vcr_cassettes/trade_options_modify.yml +80 -0
  48. data/spec/fixtures/vcr_cassettes/trades_filter_get.yml +90 -0
  49. data/spec/fixtures/vcr_cassettes/trades_get.yml +171 -0
  50. data/spec/fixtures/vcr_cassettes/transaction_id_get.yml +248 -0
  51. data/spec/fixtures/vcr_cassettes/transactions_options_get.yml +202 -0
  52. data/spec/fixtures/vcr_cassettes/with_throttling_and_max_requests_per_second.yml +25 -19
  53. data/spec/fixtures/vcr_cassettes/with_throttling_with_multiple_threads.yml +51 -39
  54. data/spec/fixtures/vcr_cassettes/without_throttling.yml +81 -61
  55. data/spec/oanda_api/client/client_spec.rb +23 -10
  56. data/spec/oanda_api/client/namespace_proxy_spec.rb +1 -1
  57. data/spec/oanda_api/client/resource_descriptor_spec.rb +45 -14
  58. data/spec/oanda_api/configuration_spec.rb +13 -0
  59. data/spec/oanda_api/examples/accounts_spec.rb +0 -7
  60. data/spec/oanda_api/examples/calendar_spec.rb +27 -0
  61. data/spec/oanda_api/examples/orders_spec.rb +12 -12
  62. data/spec/oanda_api/examples/positions_spec.rb +3 -3
  63. data/spec/oanda_api/examples/rates_spec.rb +4 -2
  64. data/spec/oanda_api/examples/spread_history_spec.rb +32 -0
  65. data/spec/oanda_api/examples/trades_spec.rb +5 -5
  66. data/spec/oanda_api/examples/transactions_spec.rb +2 -2
  67. data/spec/oanda_api/resource_base_spec.rb +48 -8
  68. data/spec/oanda_api/streaming/client_spec.rb +30 -2
  69. data/spec/spec_helper.rb +1 -1
  70. data/spec/support/client_helper.rb +45 -11
  71. data/spec/support/vcr.rb +1 -0
  72. metadata +63 -49
  73. data/spec/fixtures/vcr_cassettes/account_id_order_id_close.yml +0 -264
  74. data/spec/fixtures/vcr_cassettes/account_id_order_id_get.yml +0 -114
  75. data/spec/fixtures/vcr_cassettes/account_id_order_options_update.yml +0 -112
  76. data/spec/fixtures/vcr_cassettes/account_id_orders_get.yml +0 -118
  77. data/spec/fixtures/vcr_cassettes/account_id_orders_options_get.yml +0 -123
  78. data/spec/fixtures/vcr_cassettes/account_id_positions_get.yml +0 -112
  79. data/spec/fixtures/vcr_cassettes/account_id_positions_instrument_close.yml +0 -214
  80. data/spec/fixtures/vcr_cassettes/account_id_positions_instrument_get.yml +0 -110
  81. data/spec/fixtures/vcr_cassettes/account_id_trade_id_close.yml +0 -252
  82. data/spec/fixtures/vcr_cassettes/account_id_trade_id_get.yml +0 -112
  83. data/spec/fixtures/vcr_cassettes/account_id_trade_options_modify.yml +0 -110
  84. data/spec/fixtures/vcr_cassettes/account_id_trades_filter_get.yml +0 -118
  85. data/spec/fixtures/vcr_cassettes/account_id_trades_get.yml +0 -118
  86. data/spec/fixtures/vcr_cassettes/account_id_transaction_id_get.yml +0 -283
  87. data/spec/fixtures/vcr_cassettes/account_id_transactions_options_get.yml +0 -205
  88. data/spec/fixtures/vcr_cassettes/accounts_create.yml +0 -75
  89. data/spec/fixtures/vcr_cassettes/sandbox_client.yml +0 -116
  90. data/spec/fixtures/vcr_cassettes/sandbox_client_account.yml +0 -111
  91. data/spec/fixtures/vcr_cassettes/sandbox_instrument_EUR_USD.yml +0 -77
  92. data/spec/oanda_api/client/username_client_spec.rb +0 -31
@@ -2,13 +2,15 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://api-sandbox.oanda.com/v1/instruments?fields=pip,precision&instruments=EUR_USD,EUR_CAD&username=dwaymotim
5
+ uri: https://api-fxpractice.oanda.com/v1/instruments?accountId=1871900&fields=pip,precision&instruments=EUR_USD,EUR_CAD
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
- - Tue, 20 Jan 2015 17:22:31 GMT
26
+ - Mon, 14 Mar 2016 23:01:12 GMT
25
27
  Content-Type:
26
28
  - application/json
27
29
  Content-Length:
@@ -31,51 +33,12 @@ http_interactions:
31
33
  Etag:
32
34
  - '"3a3c61c7d6d86ef8c92f59e4020f39d07e2e5b2f"'
33
35
  Expires:
34
- - Wed, 21 January 2015 17:22:31 GMT
36
+ - Tue, 15 Mar 2016 23:01:12 GMT
35
37
  body:
36
38
  encoding: UTF-8
37
39
  string: "{\n\t\"instruments\" : [\n\t\t{\n\t\t\t\"instrument\" : \"EUR_USD\",\n\t\t\t\"pip\"
38
40
  : \"0.0001\",\n\t\t\t\"precision\" : \"0.00001\"\n\t\t},\n\t\t{\n\t\t\t\"instrument\"
39
41
  : \"EUR_CAD\",\n\t\t\t\"pip\" : \"0.0001\",\n\t\t\t\"precision\" : \"0.00001\"\n\t\t}\n\t]\n}"
40
42
  http_version:
41
- recorded_at: Tue, 20 Jan 2015 17:22:33 GMT
42
- - request:
43
- method: get
44
- uri: http://api-sandbox.oanda.com/v1/instruments?fields=pip,precision&instruments=EUR_USD,EUR_CAD&username
45
- body:
46
- encoding: US-ASCII
47
- string: ''
48
- headers:
49
- X-Accept-Datetime-Format:
50
- - RFC3339
51
- Connection:
52
- - keep-alive
53
- Keep-Alive:
54
- - 30
55
- response:
56
- status:
57
- code: 200
58
- message: OK
59
- headers:
60
- Server:
61
- - openresty/1.7.0.1
62
- Date:
63
- - Fri, 23 Jan 2015 17:37:54 GMT
64
- Content-Type:
65
- - application/json
66
- Content-Length:
67
- - '196'
68
- Connection:
69
- - keep-alive
70
- Etag:
71
- - '"3a3c61c7d6d86ef8c92f59e4020f39d07e2e5b2f"'
72
- Expires:
73
- - Sat, 24 January 2015 17:37:54 GMT
74
- body:
75
- encoding: UTF-8
76
- string: "{\n\t\"instruments\" : [\n\t\t{\n\t\t\t\"instrument\" : \"EUR_USD\",\n\t\t\t\"pip\"
77
- : \"0.0001\",\n\t\t\t\"precision\" : \"0.00001\"\n\t\t},\n\t\t{\n\t\t\t\"instrument\"
78
- : \"EUR_CAD\",\n\t\t\t\"pip\" : \"0.0001\",\n\t\t\t\"precision\" : \"0.00001\"\n\t\t}\n\t]\n}"
79
- http_version:
80
- recorded_at: Fri, 23 Jan 2015 17:37:54 GMT
43
+ recorded_at: Mon, 14 Mar 2016 23:01:13 GMT
81
44
  recorded_with: VCR 2.9.3
@@ -0,0 +1,448 @@
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: expiry=2016-03-14T22%3A32%3A36%2B00%3A00&instrument=EUR_USD&price=1.0101499999999999&side=buy&type=limit&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: 201
21
+ message: CREATED
22
+ headers:
23
+ Server:
24
+ - openresty/1.7.0.1
25
+ Date:
26
+ - Mon, 14 Mar 2016 21:32:36 GMT
27
+ Content-Type:
28
+ - application/json
29
+ Content-Length:
30
+ - '315'
31
+ Connection:
32
+ - keep-alive
33
+ Location:
34
+ - https://api-fxpractice.oanda.com/v1/accounts/1871900/orders/10173830784
35
+ body:
36
+ encoding: UTF-8
37
+ string: "{\n\t\"instrument\" : \"EUR_USD\",\n\t\"time\" : \"2016-03-14T21:32:36.000000Z\",\n\t\"price\"
38
+ : 1.01015,\n\t\"orderOpened\" : {\n\t\t\"id\" : 10173830784,\n\t\t\"units\"
39
+ : 10000,\n\t\t\"side\" : \"buy\",\n\t\t\"takeProfit\" : 0,\n\t\t\"stopLoss\"
40
+ : 0,\n\t\t\"expiry\" : \"2016-03-14T22:32:36.000000Z\",\n\t\t\"upperBound\"
41
+ : 0,\n\t\t\"lowerBound\" : 0,\n\t\t\"trailingStop\" : 0\n\t}\n}"
42
+ http_version:
43
+ recorded_at: Mon, 14 Mar 2016 21:32:36 GMT
44
+ - request:
45
+ method: get
46
+ uri: https://api-fxpractice.oanda.com/v1/accounts/1871900/orders
47
+ body:
48
+ encoding: US-ASCII
49
+ string: ''
50
+ headers:
51
+ X-Accept-Datetime-Format:
52
+ - RFC3339
53
+ Authorization:
54
+ - Bearer <OANDA_TESTING_API_TOKEN>
55
+ Connection:
56
+ - keep-alive
57
+ Keep-Alive:
58
+ - 30
59
+ response:
60
+ status:
61
+ code: 200
62
+ message: OK
63
+ headers:
64
+ Server:
65
+ - openresty/1.7.0.1
66
+ Date:
67
+ - Mon, 14 Mar 2016 21:32:36 GMT
68
+ Content-Type:
69
+ - application/json
70
+ Content-Length:
71
+ - '9733'
72
+ Connection:
73
+ - keep-alive
74
+ Access-Control-Expose-Headers:
75
+ - X-Result-Count
76
+ Etag:
77
+ - '"6aeef75979f680b4f3217132b753944193d5fdf0"'
78
+ X-Result-Count:
79
+ - '29'
80
+ body:
81
+ encoding: UTF-8
82
+ string: "{\n\t\"orders\" : [\n\t\t{\n\t\t\t\"id\" : 10173830784,\n\t\t\t\"instrument\"
83
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
84
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:32:36.000000Z\",\n\t\t\t\"price\"
85
+ : 1.01015,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
86
+ : \"2016-03-14T22:32:36.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
87
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173830777,\n\t\t\t\"instrument\"
88
+ : \"EUR_USD\",\n\t\t\t\"units\" : 9000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
89
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:32:36.000000Z\",\n\t\t\t\"price\"
90
+ : 1.01015,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
91
+ : \"2016-03-14T22:32:35.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
92
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173828266,\n\t\t\t\"instrument\"
93
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
94
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:30:17.000000Z\",\n\t\t\t\"price\"
95
+ : 1.01015,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
96
+ : \"2016-03-14T22:30:17.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
97
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173828259,\n\t\t\t\"instrument\"
98
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
99
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:30:17.000000Z\",\n\t\t\t\"price\"
100
+ : 1.01015,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
101
+ : \"2016-03-14T22:30:16.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
102
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173828251,\n\t\t\t\"instrument\"
103
+ : \"USD_JPY\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
104
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:30:16.000000Z\",\n\t\t\t\"price\"
105
+ : 113.673,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
106
+ : \"2016-03-14T22:30:16.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
107
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173828247,\n\t\t\t\"instrument\"
108
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
109
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:30:16.000000Z\",\n\t\t\t\"price\"
110
+ : 1.01015,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
111
+ : \"2016-03-14T22:30:16.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
112
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173825152,\n\t\t\t\"instrument\"
113
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
114
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:27:02.000000Z\",\n\t\t\t\"price\"
115
+ : 1.01015,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
116
+ : \"2016-03-14T22:27:02.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
117
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173825143,\n\t\t\t\"instrument\"
118
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
119
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:27:01.000000Z\",\n\t\t\t\"price\"
120
+ : 1.01015,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
121
+ : \"2016-03-14T22:27:01.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
122
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173825142,\n\t\t\t\"instrument\"
123
+ : \"USD_JPY\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
124
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:27:01.000000Z\",\n\t\t\t\"price\"
125
+ : 113.673,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
126
+ : \"2016-03-14T22:27:01.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
127
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173825132,\n\t\t\t\"instrument\"
128
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
129
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:27:00.000000Z\",\n\t\t\t\"price\"
130
+ : 1.01015,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
131
+ : \"2016-03-14T22:27:00.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
132
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173824151,\n\t\t\t\"instrument\"
133
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
134
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:26:10.000000Z\",\n\t\t\t\"price\"
135
+ : 1.01012,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
136
+ : \"2016-03-14T22:26:10.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
137
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173824146,\n\t\t\t\"instrument\"
138
+ : \"USD_JPY\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
139
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:26:10.000000Z\",\n\t\t\t\"price\"
140
+ : 113.673,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
141
+ : \"2016-03-14T22:26:09.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
142
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173824137,\n\t\t\t\"instrument\"
143
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
144
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:26:09.000000Z\",\n\t\t\t\"price\"
145
+ : 1.01012,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
146
+ : \"2016-03-14T22:26:09.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
147
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173822607,\n\t\t\t\"instrument\"
148
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
149
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:24:49.000000Z\",\n\t\t\t\"price\"
150
+ : 1.01018,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
151
+ : \"2016-03-14T22:24:49.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
152
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173822594,\n\t\t\t\"instrument\"
153
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
154
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:24:48.000000Z\",\n\t\t\t\"price\"
155
+ : 1.01018,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
156
+ : \"2016-03-14T22:24:48.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
157
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173822590,\n\t\t\t\"instrument\"
158
+ : \"USD_JPY\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
159
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:24:48.000000Z\",\n\t\t\t\"price\"
160
+ : 113.665,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
161
+ : \"2016-03-14T22:24:48.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
162
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173822575,\n\t\t\t\"instrument\"
163
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
164
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:24:48.000000Z\",\n\t\t\t\"price\"
165
+ : 1.01018,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
166
+ : \"2016-03-14T22:24:47.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
167
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173768379,\n\t\t\t\"instrument\"
168
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
169
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T20:57:59.000000Z\",\n\t\t\t\"price\"
170
+ : 1.01012,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
171
+ : \"2016-03-14T21:57:59.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
172
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173768352,\n\t\t\t\"instrument\"
173
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
174
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T20:57:58.000000Z\",\n\t\t\t\"price\"
175
+ : 1.01012,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
176
+ : \"2016-03-14T21:57:58.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
177
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173768333,\n\t\t\t\"instrument\"
178
+ : \"USD_JPY\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
179
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T20:57:58.000000Z\",\n\t\t\t\"price\"
180
+ : 113.695,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
181
+ : \"2016-03-14T21:57:58.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
182
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173768312,\n\t\t\t\"instrument\"
183
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
184
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T20:57:58.000000Z\",\n\t\t\t\"price\"
185
+ : 1.01012,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
186
+ : \"2016-03-14T21:57:57.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
187
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173764716,\n\t\t\t\"instrument\"
188
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
189
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T20:56:57.000000Z\",\n\t\t\t\"price\"
190
+ : 1.01014,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
191
+ : \"2016-03-14T21:56:57.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
192
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173764701,\n\t\t\t\"instrument\"
193
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
194
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T20:56:57.000000Z\",\n\t\t\t\"price\"
195
+ : 1.01014,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
196
+ : \"2016-03-14T21:56:57.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
197
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173764680,\n\t\t\t\"instrument\"
198
+ : \"USD_JPY\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
199
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T20:56:57.000000Z\",\n\t\t\t\"price\"
200
+ : 113.695,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
201
+ : \"2016-03-14T21:56:56.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
202
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173764657,\n\t\t\t\"instrument\"
203
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
204
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T20:56:56.000000Z\",\n\t\t\t\"price\"
205
+ : 1.01014,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
206
+ : \"2016-03-14T21:56:56.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
207
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173700820,\n\t\t\t\"instrument\"
208
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
209
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T20:39:00.000000Z\",\n\t\t\t\"price\"
210
+ : 1.01036,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
211
+ : \"2016-03-14T21:39:00.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
212
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173700804,\n\t\t\t\"instrument\"
213
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
214
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T20:38:59.000000Z\",\n\t\t\t\"price\"
215
+ : 1.01036,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
216
+ : \"2016-03-14T21:38:59.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
217
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173700793,\n\t\t\t\"instrument\"
218
+ : \"USD_JPY\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
219
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T20:38:59.000000Z\",\n\t\t\t\"price\"
220
+ : 113.686,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
221
+ : \"2016-03-14T21:38:59.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
222
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173700768,\n\t\t\t\"instrument\"
223
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
224
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T20:38:59.000000Z\",\n\t\t\t\"price\"
225
+ : 1.01036,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
226
+ : \"2016-03-14T21:38:59.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
227
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t}\n\t]\n}"
228
+ http_version:
229
+ recorded_at: Mon, 14 Mar 2016 21:32:36 GMT
230
+ - request:
231
+ method: delete
232
+ uri: https://api-fxpractice.oanda.com/v1/accounts/1871900/orders/10173830784
233
+ body:
234
+ encoding: US-ASCII
235
+ string: ''
236
+ headers:
237
+ X-Accept-Datetime-Format:
238
+ - RFC3339
239
+ Authorization:
240
+ - Bearer <OANDA_TESTING_API_TOKEN>
241
+ Connection:
242
+ - keep-alive
243
+ Keep-Alive:
244
+ - 30
245
+ response:
246
+ status:
247
+ code: 200
248
+ message: OK
249
+ headers:
250
+ Server:
251
+ - openresty/1.7.0.1
252
+ Date:
253
+ - Mon, 14 Mar 2016 21:32:36 GMT
254
+ Content-Type:
255
+ - application/json
256
+ Content-Length:
257
+ - '168'
258
+ Connection:
259
+ - keep-alive
260
+ body:
261
+ encoding: UTF-8
262
+ string: "{\n\t\"id\" : 10173830784,\n\t\"instrument\" : \"EUR_USD\",\n\t\"units\"
263
+ : 10000,\n\t\"side\" : \"buy\",\n\t\"price\" : 1.01015,\n\t\"time\" : \"2016-03-14T21:32:36.000000Z\",\n\t\"type\"
264
+ : \"BuyLimit\"\n}"
265
+ http_version:
266
+ recorded_at: Mon, 14 Mar 2016 21:32:36 GMT
267
+ - request:
268
+ method: get
269
+ uri: https://api-fxpractice.oanda.com/v1/accounts/1871900/orders
270
+ body:
271
+ encoding: US-ASCII
272
+ string: ''
273
+ headers:
274
+ X-Accept-Datetime-Format:
275
+ - RFC3339
276
+ Authorization:
277
+ - Bearer <OANDA_TESTING_API_TOKEN>
278
+ Connection:
279
+ - keep-alive
280
+ Keep-Alive:
281
+ - 30
282
+ response:
283
+ status:
284
+ code: 200
285
+ message: OK
286
+ headers:
287
+ Server:
288
+ - openresty/1.7.0.1
289
+ Date:
290
+ - Mon, 14 Mar 2016 21:32:37 GMT
291
+ Content-Type:
292
+ - application/json
293
+ Content-Length:
294
+ - '9398'
295
+ Connection:
296
+ - keep-alive
297
+ Access-Control-Expose-Headers:
298
+ - X-Result-Count
299
+ Etag:
300
+ - '"51d5af424cf8d2c9109a08585166f40c5968aca1"'
301
+ X-Result-Count:
302
+ - '28'
303
+ body:
304
+ encoding: UTF-8
305
+ string: "{\n\t\"orders\" : [\n\t\t{\n\t\t\t\"id\" : 10173830777,\n\t\t\t\"instrument\"
306
+ : \"EUR_USD\",\n\t\t\t\"units\" : 9000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
307
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:32:36.000000Z\",\n\t\t\t\"price\"
308
+ : 1.01015,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
309
+ : \"2016-03-14T22:32:35.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
310
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173828266,\n\t\t\t\"instrument\"
311
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
312
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:30:17.000000Z\",\n\t\t\t\"price\"
313
+ : 1.01015,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
314
+ : \"2016-03-14T22:30:17.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
315
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173828259,\n\t\t\t\"instrument\"
316
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
317
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:30:17.000000Z\",\n\t\t\t\"price\"
318
+ : 1.01015,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
319
+ : \"2016-03-14T22:30:16.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
320
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173828251,\n\t\t\t\"instrument\"
321
+ : \"USD_JPY\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
322
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:30:16.000000Z\",\n\t\t\t\"price\"
323
+ : 113.673,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
324
+ : \"2016-03-14T22:30:16.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
325
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173828247,\n\t\t\t\"instrument\"
326
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
327
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:30:16.000000Z\",\n\t\t\t\"price\"
328
+ : 1.01015,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
329
+ : \"2016-03-14T22:30:16.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
330
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173825152,\n\t\t\t\"instrument\"
331
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
332
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:27:02.000000Z\",\n\t\t\t\"price\"
333
+ : 1.01015,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
334
+ : \"2016-03-14T22:27:02.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
335
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173825143,\n\t\t\t\"instrument\"
336
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
337
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:27:01.000000Z\",\n\t\t\t\"price\"
338
+ : 1.01015,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
339
+ : \"2016-03-14T22:27:01.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
340
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173825142,\n\t\t\t\"instrument\"
341
+ : \"USD_JPY\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
342
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:27:01.000000Z\",\n\t\t\t\"price\"
343
+ : 113.673,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
344
+ : \"2016-03-14T22:27:01.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
345
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173825132,\n\t\t\t\"instrument\"
346
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
347
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:27:00.000000Z\",\n\t\t\t\"price\"
348
+ : 1.01015,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
349
+ : \"2016-03-14T22:27:00.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
350
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173824151,\n\t\t\t\"instrument\"
351
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
352
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:26:10.000000Z\",\n\t\t\t\"price\"
353
+ : 1.01012,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
354
+ : \"2016-03-14T22:26:10.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
355
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173824146,\n\t\t\t\"instrument\"
356
+ : \"USD_JPY\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
357
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:26:10.000000Z\",\n\t\t\t\"price\"
358
+ : 113.673,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
359
+ : \"2016-03-14T22:26:09.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
360
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173824137,\n\t\t\t\"instrument\"
361
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
362
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:26:09.000000Z\",\n\t\t\t\"price\"
363
+ : 1.01012,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
364
+ : \"2016-03-14T22:26:09.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
365
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173822607,\n\t\t\t\"instrument\"
366
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
367
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:24:49.000000Z\",\n\t\t\t\"price\"
368
+ : 1.01018,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
369
+ : \"2016-03-14T22:24:49.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
370
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173822594,\n\t\t\t\"instrument\"
371
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
372
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:24:48.000000Z\",\n\t\t\t\"price\"
373
+ : 1.01018,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
374
+ : \"2016-03-14T22:24:48.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
375
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173822590,\n\t\t\t\"instrument\"
376
+ : \"USD_JPY\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
377
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:24:48.000000Z\",\n\t\t\t\"price\"
378
+ : 113.665,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
379
+ : \"2016-03-14T22:24:48.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
380
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173822575,\n\t\t\t\"instrument\"
381
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
382
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:24:48.000000Z\",\n\t\t\t\"price\"
383
+ : 1.01018,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
384
+ : \"2016-03-14T22:24:47.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
385
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173768379,\n\t\t\t\"instrument\"
386
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
387
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T20:57:59.000000Z\",\n\t\t\t\"price\"
388
+ : 1.01012,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
389
+ : \"2016-03-14T21:57:59.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
390
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173768352,\n\t\t\t\"instrument\"
391
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
392
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T20:57:58.000000Z\",\n\t\t\t\"price\"
393
+ : 1.01012,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
394
+ : \"2016-03-14T21:57:58.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
395
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173768333,\n\t\t\t\"instrument\"
396
+ : \"USD_JPY\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
397
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T20:57:58.000000Z\",\n\t\t\t\"price\"
398
+ : 113.695,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
399
+ : \"2016-03-14T21:57:58.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
400
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173768312,\n\t\t\t\"instrument\"
401
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
402
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T20:57:58.000000Z\",\n\t\t\t\"price\"
403
+ : 1.01012,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
404
+ : \"2016-03-14T21:57:57.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
405
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173764716,\n\t\t\t\"instrument\"
406
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
407
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T20:56:57.000000Z\",\n\t\t\t\"price\"
408
+ : 1.01014,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
409
+ : \"2016-03-14T21:56:57.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
410
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173764701,\n\t\t\t\"instrument\"
411
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
412
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T20:56:57.000000Z\",\n\t\t\t\"price\"
413
+ : 1.01014,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
414
+ : \"2016-03-14T21:56:57.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
415
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173764680,\n\t\t\t\"instrument\"
416
+ : \"USD_JPY\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
417
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T20:56:57.000000Z\",\n\t\t\t\"price\"
418
+ : 113.695,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
419
+ : \"2016-03-14T21:56:56.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
420
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173764657,\n\t\t\t\"instrument\"
421
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
422
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T20:56:56.000000Z\",\n\t\t\t\"price\"
423
+ : 1.01014,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
424
+ : \"2016-03-14T21:56:56.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
425
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173700820,\n\t\t\t\"instrument\"
426
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
427
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T20:39:00.000000Z\",\n\t\t\t\"price\"
428
+ : 1.01036,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
429
+ : \"2016-03-14T21:39:00.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
430
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173700804,\n\t\t\t\"instrument\"
431
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
432
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T20:38:59.000000Z\",\n\t\t\t\"price\"
433
+ : 1.01036,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
434
+ : \"2016-03-14T21:38:59.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
435
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173700793,\n\t\t\t\"instrument\"
436
+ : \"USD_JPY\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
437
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T20:38:59.000000Z\",\n\t\t\t\"price\"
438
+ : 113.686,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
439
+ : \"2016-03-14T21:38:59.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
440
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t},\n\t\t{\n\t\t\t\"id\" : 10173700768,\n\t\t\t\"instrument\"
441
+ : \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
442
+ : \"limit\",\n\t\t\t\"time\" : \"2016-03-14T20:38:59.000000Z\",\n\t\t\t\"price\"
443
+ : 1.01036,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
444
+ : \"2016-03-14T21:38:59.000000Z\",\n\t\t\t\"upperBound\" : 0,\n\t\t\t\"lowerBound\"
445
+ : 0,\n\t\t\t\"trailingStop\" : 0\n\t\t}\n\t]\n}"
446
+ http_version:
447
+ recorded_at: Mon, 14 Mar 2016 21:32:37 GMT
448
+ recorded_with: VCR 2.9.3