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,84 @@
|
|
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%3A30%3A16%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:30:17 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/10173828259
|
35
|
+
body:
|
36
|
+
encoding: UTF-8
|
37
|
+
string: "{\n\t\"instrument\" : \"EUR_USD\",\n\t\"time\" : \"2016-03-14T21:30:17.000000Z\",\n\t\"price\"
|
38
|
+
: 1.01015,\n\t\"orderOpened\" : {\n\t\t\"id\" : 10173828259,\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:30:16.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:30:17 GMT
|
44
|
+
- request:
|
45
|
+
method: get
|
46
|
+
uri: https://api-fxpractice.oanda.com/v1/accounts/1871900/orders/10173828259
|
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:30:17 GMT
|
68
|
+
Content-Type:
|
69
|
+
- application/json
|
70
|
+
Content-Length:
|
71
|
+
- '303'
|
72
|
+
Connection:
|
73
|
+
- keep-alive
|
74
|
+
Etag:
|
75
|
+
- '"badd17e09acaed9a0aa8686ce12e975b81eacf8d"'
|
76
|
+
body:
|
77
|
+
encoding: UTF-8
|
78
|
+
string: "{\n\t\"id\" : 10173828259,\n\t\"instrument\" : \"EUR_USD\",\n\t\"units\"
|
79
|
+
: 10000,\n\t\"side\" : \"buy\",\n\t\"type\" : \"limit\",\n\t\"time\" : \"2016-03-14T21:30:17.000000Z\",\n\t\"price\"
|
80
|
+
: 1.01015,\n\t\"takeProfit\" : 0,\n\t\"stopLoss\" : 0,\n\t\"expiry\" : \"2016-03-14T22:30:16.000000Z\",\n\t\"upperBound\"
|
81
|
+
: 0,\n\t\"lowerBound\" : 0,\n\t\"trailingStop\" : 0\n}"
|
82
|
+
http_version:
|
83
|
+
recorded_at: Mon, 14 Mar 2016 21:30:17 GMT
|
84
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,42 @@
|
|
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=EUR_USD&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 21:30:16 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\" : \"EUR_USD\",\n\t\"time\" : \"2016-03-14T21:30:16.000000Z\",\n\t\"price\"
|
36
|
+
: 1.11036,\n\t\"tradeOpened\" : {\n\t\t\"id\" : 10173828244,\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 21:30:16 GMT
|
42
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,82 @@
|
|
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%3A35%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/10173830777
|
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\" : 10173830777,\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:35.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: patch
|
46
|
+
uri: https://api-fxpractice.oanda.com/v1/accounts/1871900/orders/10173830777
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: units=9000
|
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
|
+
- '302'
|
72
|
+
Connection:
|
73
|
+
- keep-alive
|
74
|
+
body:
|
75
|
+
encoding: UTF-8
|
76
|
+
string: "{\n\t\"id\" : 10173830777,\n\t\"instrument\" : \"EUR_USD\",\n\t\"units\"
|
77
|
+
: 9000,\n\t\"side\" : \"buy\",\n\t\"type\" : \"limit\",\n\t\"time\" : \"2016-03-14T21:32:36.000000Z\",\n\t\"price\"
|
78
|
+
: 1.01015,\n\t\"takeProfit\" : 0,\n\t\"stopLoss\" : 0,\n\t\"expiry\" : \"2016-03-14T22:32:35.000000Z\",\n\t\"upperBound\"
|
79
|
+
: 0,\n\t\"lowerBound\" : 0,\n\t\"trailingStop\" : 0\n}"
|
80
|
+
http_version:
|
81
|
+
recorded_at: Mon, 14 Mar 2016 21:32:36 GMT
|
82
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,205 @@
|
|
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%3A30%3A16%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:30:16 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/10173828247
|
35
|
+
body:
|
36
|
+
encoding: UTF-8
|
37
|
+
string: "{\n\t\"instrument\" : \"EUR_USD\",\n\t\"time\" : \"2016-03-14T21:30:16.000000Z\",\n\t\"price\"
|
38
|
+
: 1.01015,\n\t\"orderOpened\" : {\n\t\t\"id\" : 10173828247,\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:30:16.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:30:16 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:30:16 GMT
|
68
|
+
Content-Type:
|
69
|
+
- application/json
|
70
|
+
Content-Length:
|
71
|
+
- '8059'
|
72
|
+
Connection:
|
73
|
+
- keep-alive
|
74
|
+
Access-Control-Expose-Headers:
|
75
|
+
- X-Result-Count
|
76
|
+
Etag:
|
77
|
+
- '"6896d0a20931c385ed3a0eda9dfc959dbb44efe7"'
|
78
|
+
X-Result-Count:
|
79
|
+
- '24'
|
80
|
+
body:
|
81
|
+
encoding: UTF-8
|
82
|
+
string: "{\n\t\"orders\" : [\n\t\t{\n\t\t\t\"id\" : 10173828247,\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:30:16.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:30:16.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\" : 10173825152,\n\t\t\t\"instrument\"
|
88
|
+
: \"EUR_USD\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
|
89
|
+
: \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:27:02.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:27:02.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\" : 10173825143,\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:27:01.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:27:01.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\" : 10173825142,\n\t\t\t\"instrument\"
|
98
|
+
: \"USD_JPY\",\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:27:01.000000Z\",\n\t\t\t\"price\"
|
100
|
+
: 113.673,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
101
|
+
: \"2016-03-14T22:27:01.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\" : 10173825132,\n\t\t\t\"instrument\"
|
103
|
+
: \"EUR_USD\",\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:27:00.000000Z\",\n\t\t\t\"price\"
|
105
|
+
: 1.01015,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
106
|
+
: \"2016-03-14T22:27:00.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\" : 10173824151,\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:26:10.000000Z\",\n\t\t\t\"price\"
|
110
|
+
: 1.01012,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
111
|
+
: \"2016-03-14T22:26:10.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\" : 10173824146,\n\t\t\t\"instrument\"
|
113
|
+
: \"USD_JPY\",\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:26:10.000000Z\",\n\t\t\t\"price\"
|
115
|
+
: 113.673,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
116
|
+
: \"2016-03-14T22:26:09.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\" : 10173824137,\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:26:09.000000Z\",\n\t\t\t\"price\"
|
120
|
+
: 1.01012,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
121
|
+
: \"2016-03-14T22:26:09.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\" : 10173822607,\n\t\t\t\"instrument\"
|
123
|
+
: \"EUR_USD\",\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:24:49.000000Z\",\n\t\t\t\"price\"
|
125
|
+
: 1.01018,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
126
|
+
: \"2016-03-14T22:24:49.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\" : 10173822594,\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:24:48.000000Z\",\n\t\t\t\"price\"
|
130
|
+
: 1.01018,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
131
|
+
: \"2016-03-14T22:24:48.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\" : 10173822590,\n\t\t\t\"instrument\"
|
133
|
+
: \"USD_JPY\",\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:24:48.000000Z\",\n\t\t\t\"price\"
|
135
|
+
: 113.665,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
136
|
+
: \"2016-03-14T22:24:48.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\" : 10173822575,\n\t\t\t\"instrument\"
|
138
|
+
: \"EUR_USD\",\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:24:48.000000Z\",\n\t\t\t\"price\"
|
140
|
+
: 1.01018,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
141
|
+
: \"2016-03-14T22:24:47.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\" : 10173768379,\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-14T20:57:59.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-14T21:57:59.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\" : 10173768352,\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-14T20:57:58.000000Z\",\n\t\t\t\"price\"
|
150
|
+
: 1.01012,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
151
|
+
: \"2016-03-14T21:57:58.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\" : 10173768333,\n\t\t\t\"instrument\"
|
153
|
+
: \"USD_JPY\",\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-14T20:57:58.000000Z\",\n\t\t\t\"price\"
|
155
|
+
: 113.695,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
156
|
+
: \"2016-03-14T21:57:58.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\" : 10173768312,\n\t\t\t\"instrument\"
|
158
|
+
: \"EUR_USD\",\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-14T20:57:58.000000Z\",\n\t\t\t\"price\"
|
160
|
+
: 1.01012,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
161
|
+
: \"2016-03-14T21:57:57.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\" : 10173764716,\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-14T20:56:57.000000Z\",\n\t\t\t\"price\"
|
165
|
+
: 1.01014,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
166
|
+
: \"2016-03-14T21:56:57.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\" : 10173764701,\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:56:57.000000Z\",\n\t\t\t\"price\"
|
170
|
+
: 1.01014,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
171
|
+
: \"2016-03-14T21:56:57.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\" : 10173764680,\n\t\t\t\"instrument\"
|
173
|
+
: \"USD_JPY\",\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:56:57.000000Z\",\n\t\t\t\"price\"
|
175
|
+
: 113.695,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
176
|
+
: \"2016-03-14T21:56:56.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\" : 10173764657,\n\t\t\t\"instrument\"
|
178
|
+
: \"EUR_USD\",\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:56:56.000000Z\",\n\t\t\t\"price\"
|
180
|
+
: 1.01014,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
181
|
+
: \"2016-03-14T21:56:56.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\" : 10173700820,\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:39:00.000000Z\",\n\t\t\t\"price\"
|
185
|
+
: 1.01036,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
186
|
+
: \"2016-03-14T21:39:00.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\" : 10173700804,\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:38:59.000000Z\",\n\t\t\t\"price\"
|
190
|
+
: 1.01036,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
191
|
+
: \"2016-03-14T21:38:59.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\" : 10173700793,\n\t\t\t\"instrument\"
|
193
|
+
: \"USD_JPY\",\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:38:59.000000Z\",\n\t\t\t\"price\"
|
195
|
+
: 113.686,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
196
|
+
: \"2016-03-14T21:38:59.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\" : 10173700768,\n\t\t\t\"instrument\"
|
198
|
+
: \"EUR_USD\",\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:38:59.000000Z\",\n\t\t\t\"price\"
|
200
|
+
: 1.01036,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
201
|
+
: \"2016-03-14T21:38:59.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]\n}"
|
203
|
+
http_version:
|
204
|
+
recorded_at: Mon, 14 Mar 2016 21:30:16 GMT
|
205
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,120 @@
|
|
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%3A30%3A16%2B00%3A00&instrument=USD_JPY&price=113.673&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:30:16 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/10173828251
|
35
|
+
body:
|
36
|
+
encoding: UTF-8
|
37
|
+
string: "{\n\t\"instrument\" : \"USD_JPY\",\n\t\"time\" : \"2016-03-14T21:30:16.000000Z\",\n\t\"price\"
|
38
|
+
: 113.673,\n\t\"orderOpened\" : {\n\t\t\"id\" : 10173828251,\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:30:16.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:30:16 GMT
|
44
|
+
- request:
|
45
|
+
method: get
|
46
|
+
uri: https://api-fxpractice.oanda.com/v1/accounts/1871900/orders?instrument=USD_JPY
|
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:30:16 GMT
|
68
|
+
Content-Type:
|
69
|
+
- application/json
|
70
|
+
Content-Length:
|
71
|
+
- '2364'
|
72
|
+
Connection:
|
73
|
+
- keep-alive
|
74
|
+
Access-Control-Expose-Headers:
|
75
|
+
- X-Result-Count
|
76
|
+
Etag:
|
77
|
+
- '"423e273543c08346c70ca836ba731aa1dc94bae5"'
|
78
|
+
X-Result-Count:
|
79
|
+
- '7'
|
80
|
+
body:
|
81
|
+
encoding: UTF-8
|
82
|
+
string: "{\n\t\"orders\" : [\n\t\t{\n\t\t\t\"id\" : 10173828251,\n\t\t\t\"instrument\"
|
83
|
+
: \"USD_JPY\",\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:30:16.000000Z\",\n\t\t\t\"price\"
|
85
|
+
: 113.673,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
86
|
+
: \"2016-03-14T22:30:16.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\" : 10173825142,\n\t\t\t\"instrument\"
|
88
|
+
: \"USD_JPY\",\n\t\t\t\"units\" : 10000,\n\t\t\t\"side\" : \"buy\",\n\t\t\t\"type\"
|
89
|
+
: \"limit\",\n\t\t\t\"time\" : \"2016-03-14T21:27:01.000000Z\",\n\t\t\t\"price\"
|
90
|
+
: 113.673,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
91
|
+
: \"2016-03-14T22:27:01.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\" : 10173824146,\n\t\t\t\"instrument\"
|
93
|
+
: \"USD_JPY\",\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:26:10.000000Z\",\n\t\t\t\"price\"
|
95
|
+
: 113.673,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
96
|
+
: \"2016-03-14T22:26:09.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\" : 10173822590,\n\t\t\t\"instrument\"
|
98
|
+
: \"USD_JPY\",\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:24:48.000000Z\",\n\t\t\t\"price\"
|
100
|
+
: 113.665,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
101
|
+
: \"2016-03-14T22:24:48.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\" : 10173768333,\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-14T20:57:58.000000Z\",\n\t\t\t\"price\"
|
105
|
+
: 113.695,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
106
|
+
: \"2016-03-14T21:57:58.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\" : 10173764680,\n\t\t\t\"instrument\"
|
108
|
+
: \"USD_JPY\",\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-14T20:56:57.000000Z\",\n\t\t\t\"price\"
|
110
|
+
: 113.695,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
111
|
+
: \"2016-03-14T21:56:56.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\" : 10173700793,\n\t\t\t\"instrument\"
|
113
|
+
: \"USD_JPY\",\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-14T20:38:59.000000Z\",\n\t\t\t\"price\"
|
115
|
+
: 113.686,\n\t\t\t\"takeProfit\" : 0,\n\t\t\t\"stopLoss\" : 0,\n\t\t\t\"expiry\"
|
116
|
+
: \"2016-03-14T21:38:59.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]\n}"
|
118
|
+
http_version:
|
119
|
+
recorded_at: Mon, 14 Mar 2016 21:30:16 GMT
|
120
|
+
recorded_with: VCR 2.9.3
|