Pricing
Document
Demo
Support
ContactUs
Please ensure your location corresponding to the language.Restricted areas may not be displayed !
Favorite
English
/
繁中
/
日本語
Sign Out
Sign In
RestApi Document
Websocket Doc
RestApi Testing
Websocket Testing
Data Model
Websocket Api Test
1. fill your authcode
and request connect
ws://map.fxnapi.com:10004/connect/code...
2. set fields(option)
/fields/P,NV,Tick,B1,V1,SY,JS,HD,V,M1
3. sub contract
/sub/XAUUSD,BTC,EURUSD
4. sub market
/submkt/NSE,CME
5. request k data
/reqk/BTC,1M,10
6. request real-time data
/req/XAUUSD,BTC,EURUSD
7. cancel sub
/unsub/XAUUSD,BTC,EURUSD
8. keep connecting
/ping/ok
Code Example
Download Example
Testing Result