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 am also able to get your Java code examples to work (e.g., I can create an order via the Java API). But you don't have any example of how to look up prices for one or more instruments. My attempt was:
class com.oanda.v20.RequestException
Exception in thread "main" com.oanda.v20.v20sample.TestFailureException: 400 : null : null
at com.oanda.v20.v20sample.TestTradesAndOrders.main(TestTradesAndOrders.java:75)
Caused by: 400 : null : null
at com.oanda.v20.Context.execute(Context.java:191)
at com.oanda.v20.pricing.PricingContext.get(PricingContext.java:72)
at com.oanda.v20.v20sample.TestTradesAndOrders.lookupPrices(TestTradesAndOrders.java:92)
at com.oanda.v20.v20sample.TestTradesAndOrders.runMPTest(TestTradesAndOrders.java:83)
at com.oanda.v20.v20sample.TestTradesAndOrders.main(TestTradesAndOrders.java:72)
I also tried using versions 3.0.17 and 3.0.18 of the oanda/v20-java library. Same result with both.
Help and examples requested. Thank you.
The text was updated successfully, but these errors were encountered:
I am currently unable to figure out how to lookup prices via the Java API. I am able to do it via curl with
I am also able to get your Java code examples to work (e.g., I can create an order via the Java API). But you don't have any example of how to look up prices for one or more instruments. My attempt was:
or
but both attempts fail with:
I also tried using versions 3.0.17 and 3.0.18 of the oanda/v20-java library. Same result with both.
Help and examples requested. Thank you.
The text was updated successfully, but these errors were encountered: