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
  Testing Result