A Python Developers Manual for Unleashing the Potential of Our Forex API
Explore how to set up accounts, make API calls, optimize usage, and enrich apps with Forex data retrieval features in our comprehensive Python developers manual.
The live US Dollar to Chinese Yuan offshore rate, sampled from the TraderMade feed. Pull the same rate into your payment flow, ERP or app over the REST API.
Display refreshes every 5 s; the feed itself updates many times a second.
USD to CNH shows how many offshore Chinese yuan are needed to buy one US dollar. CNH is the yuan traded outside mainland China, mainly in Hong Kong, Singapore and London, while CNY is the rate traded inside the mainland. They are the same currency, but the offshore rate trades freely and can sit slightly away from the onshore one, which is held within a band around a daily reference rate. Businesses that pay or receive yuan from outside China usually deal at the CNH rate. US and Chinese interest rates, Chinese trade data and the daily onshore reference rate are the main things that move it.
The rate at the top of this page is one endpoint polled from a web page. Your key calls it directly and gets JSON back.
Bid, ask and mid for USD/CNH on every call. Poll it at checkout or on a schedule, cache the result and quote your customers from the cache.
Live rates docsThe USD/CNH open, high, low and close for a past date, returned the same whenever you ask. Use it for month-end revaluation, back-dated invoices and audit.
Historical rates docsConvert an amount from USD to CNH at the current rate, for quotes, invoices and payout totals.
Conversion docsThree steps from this page to USD/CNH in your system.
currency=USDCNH, or list up to 10 pairs in one request.# live USD/CNH rate curl "https://marketdata.tradermade.com/api/v1/live\ ?currency=USDCNH\ &per_quote_ts=true\ &api_key=YOUR_KEY"
The same feed streams over WebSocket, for trading platforms, dashboards and pricing engines. Streaming access is set up on request.
Solutions
The same feed is licensed for the way your business uses it. Pick the page that matches and see the data, the delivery and the terms for that use.
Live rates for platforms, apps and invoicing, fresh on every call
A daily close or your own cut-off for revaluation and reporting
Sub-20ms pricing with display rights for your clients
Off-chain prices for the engine behind your oracle feed
Bid and ask for the most-followed pairs with today's change, open, high and low. Select a pair for its own page.
| Currency pair | Bid | Ask | Net change | % change | Open | High | Low |
|---|---|---|---|---|---|---|---|
| EUR/USD | -- | -- | -- | -- | -- | -- | -- |
| USD/JPY | -- | -- | -- | -- | -- | -- | -- |
| GBP/USD | -- | -- | -- | -- | -- | -- | -- |
| AUD/USD | -- | -- | -- | -- | -- | -- | -- |
| USD/CAD | -- | -- | -- | -- | -- | -- | -- |
| USD/CHF | -- | -- | -- | -- | -- | -- | -- |
| NZD/USD | -- | -- | -- | -- | -- | -- | -- |
| USD/HKD | -- | -- | -- | -- | -- | -- | -- |
| USD/SGD | -- | -- | -- | -- | -- | -- | -- |
| USD/MXN | -- | -- | -- | -- | -- | -- | -- |
| USD/ZAR | -- | -- | -- | -- | -- | -- | -- |
| USD/SEK | -- | -- | -- | -- | -- | -- | -- |
| USD/NOK | -- | -- | -- | -- | -- | -- | -- |
| USD/PLN | -- | -- | -- | -- | -- | -- | -- |
| USD/TRY | -- | -- | -- | -- | -- | -- | -- |
| EUR/GBP | -- | -- | -- | -- | -- | -- | -- |
| EUR/JPY | -- | -- | -- | -- | -- | -- | -- |
| EUR/CHF | -- | -- | -- | -- | -- | -- | -- |
Explore how to set up accounts, make API calls, optimize usage, and enrich apps with Forex data retrieval features in our comprehensive Python developers manual.
Get a quick update on the latest developments at TraderMade. Get up to date with our latest data offering. Now, it also includes Forex sentiment data.
Learn how to calculate and inverse currency exchange rates using bid and ask rates. Also, learn about the base and quote currency conversion.