--- http_interactions: - request: method: get uri: https://api-fxpractice.oanda.com/v1/accounts body: encoding: US-ASCII string: '' headers: X-Accept-Datetime-Format: - RFC3339 Authorization: - Bearer Connection: - keep-alive Keep-Alive: - '30' response: status: code: 200 message: OK headers: Server: - openresty/1.9.15.1 Date: - Mon, 08 Jan 2018 18:26:30 GMT Content-Type: - application/json Content-Length: - '366' Connection: - keep-alive Etag: - '"efb224b14d5e6c03ab1a19a9983274e09d124b20"' Access-Control-Allow-Origin: - "*" body: encoding: UTF-8 string: "{\n\t\"accounts\" : [\n\t\t{\n\t\t\t\"accountId\" : 1871900,\n\t\t\t\"accountName\" : \"Primary\",\n\t\t\t\"accountCurrency\" : \"USD\",\n\t\t\t\"marginRate\" : 0.05\n\t\t},\n\t\t{\n\t\t\t\"accountId\" : 1401515,\n\t\t\t\"accountName\" : \"USD\",\n\t\t\t\"accountCurrency\" : \"USD\",\n\t\t\t\"marginRate\" : 0.1\n\t\t},\n\t\t{\n\t\t\t\"accountId\" : 5094848,\n\t\t\t\"accountName\" : \"WTI\",\n\t\t\t\"accountCurrency\" : \"CAD\",\n\t\t\t\"marginRate\" : 0.05\n\t\t}\n\t]\n}" http_version: recorded_at: Mon, 08 Jan 2018 18:26:40 GMT - request: method: get uri: https://api-fxpractice.oanda.com/v1/accounts/1871900 body: encoding: US-ASCII string: '' headers: X-Accept-Datetime-Format: - RFC3339 Authorization: - Bearer Connection: - keep-alive Keep-Alive: - '30' response: status: code: 200 message: OK headers: Server: - openresty/1.9.15.1 Date: - Mon, 08 Jan 2018 18:26:30 GMT Content-Type: - application/json Content-Length: - '281' Connection: - keep-alive Etag: - '"2b9c9470fe6b14a3b70f84f38c304849658437fd"' Access-Control-Allow-Origin: - "*" body: encoding: UTF-8 string: "{\n\t\"accountId\" : 1871900,\n\t\"accountName\" : \"Primary\",\n\t\"balance\" : 95861.8318,\n\t\"unrealizedPl\" : 20787.7185,\n\t\"realizedPl\" : 802.0217,\n\t\"marginUsed\" : 19156.3275,\n\t\"marginAvail\" : 97493.2228,\n\t\"openTrades\" : 33,\n\t\"openOrders\" : 4,\n\t\"marginRate\" : 0.05,\n\t\"accountCurrency\" : \"USD\"\n}" http_version: recorded_at: Mon, 08 Jan 2018 18:26:40 GMT recorded_with: VCR 4.0.0