Closed tsalmark closed 7 years ago
Accept-Datetime-Format works correctly in api-fxpractice.oanda.com but is ignored in live (Unix always returned).
curl \ -H "Content-Type: application/json" \ -H "Accept-Datetime-Format: RFC3339" \ -H "Authorization: Bearer " \ "https://api-fxtrade.oanda.com/v3/instruments/AU200_AUD/candles?price=M&granularity=M1&includeFirst=false&count=10&from=2017-03-03T11%3A22%3A11.000000Z"
see https://github.com/oanda/v20-python/issues/22#issuecomment-291134822
It is indeed. Thank you. I'll try to check v20-pyphon also next time.
Accept-Datetime-Format works correctly in api-fxpractice.oanda.com but is ignored in live (Unix always returned).
curl \ -H "Content-Type: application/json" \ -H "Accept-Datetime-Format: RFC3339" \ -H "Authorization: Bearer" \
"https://api-fxtrade.oanda.com/v3/instruments/AU200_AUD/candles?price=M&granularity=M1&includeFirst=false&count=10&from=2017-03-03T11%3A22%3A11.000000Z"