Replies: 1 comment 1 reply
-
Hi, The oandapyV20 library is an API wrapper for the OANDA V20 API. So, it is only to trade at OANDA. Request the instruments list and you will know what you can trade. OANDA uses symbols as USD_JPY. Regarding documentation: check https://developer.oanda.com/rest-live-v20/introduction/, you will find full documentation of their V20 API. Also check: https://oanda-api-v20.readthedocs.io/en/latest/oandapyV20.definitions.orders.html |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am very new to your library. I went through the documentation, but it is very hard to understand how to use the library.
For example, I manage to place an order based on this script:
But I have no idea what my options are for
"type"
, for instance, how do I place a limit order. How do I know what instruments I can use. It seems the strings you are using do not follow the conventions, for example, instead ofUSD/JPY
, the API takesUSD_JPY
as input. Also, what are the strings for stocks or bonds, or it is only for FX.I think people will highly appreciate a more user-friendly documentation if it is possible.
Beta Was this translation helpful? Give feedback.
All reactions