oanda / v20-openapi

OpenAPI Specification for OANDA's v20 REST API
MIT License
19 stars 9 forks source link

candle Accept-Datetime-Format #3

Closed tsalmark closed 7 years ago

tsalmark commented 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"

hootnot commented 7 years ago

see https://github.com/oanda/v20-python/issues/22#issuecomment-291134822

tsalmark commented 7 years ago

It is indeed. Thank you. I'll try to check v20-pyphon also next time.