You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to testout PricingContext.candles, however, I noticed that it did not include the account id in the url. Require assistance.
Below is my stack trace.
at com.oanda.v20.Context.execute(Context.java:198)
at com.oanda.v20.pricing.PricingContext.candles(PricingContext.java:229)
at com.oanda.v20.pricing.PricingContext.candles(PricingContext.java:206)
at Summary.main(Summary.java:29)
Caused by: java.net.URISyntaxException: Illegal character in path at index 45: https://api-fxpractice.oanda.com/v3/accounts/{accountID}/instruments/EUR_USD/candles
at java.net.URI$Parser.fail(URI.java:2848)
at java.net.URI$Parser.checkChars(URI.java:3021)
at java.net.URI$Parser.parseHierarchical(URI.java:3105)
at java.net.URI$Parser.parse(URI.java:3053)
at java.net.URI.<init>(URI.java:588)
at org.apache.http.client.utils.URIBuilder.<init>(URIBuilder.java:80)
at com.oanda.v20.Context.execute(Context.java:196)
... 3 more
I was trying to testout PricingContext.candles, however, I noticed that it did not include the account id in the url. Require assistance.
Below is my stack trace.
Code attached below also.
The text was updated successfully, but these errors were encountered: