Back

Docs /

Getting Started

Performance

US Market Server

Forex Server

Crypto Server

CFD Indices Server

CFD ETFs Server

Forex(FX) Market Server

Streaming real-time data requires a connection with your platform/server. You need to login your Moon Dashboard and then in the WebSocket section you can find your unique Forex Se>Connect to Your Server

wss://abcd1234.finage.ws:8000/?token=YOUR_SOCKET_KEY


wss://{your_address_key}.finage.ws:{ your_server_port }{/?token=YOUR_SOCKET_KEY}


This is your unique address. You can connect to your private server by using this address.

Subscribe to FX Market Symbol

After the connection, you need to create a subscription.

{"{"action": "subscribe", "symbols": "GBP/USD"}"}


this command will create a real-time USD/GBP subscription. If the symbol exists, you will get the data as JSON in real-time.
You can create more than one subscriptions. You can just send another subscription command or use it like given below;

{"action": "subscribe", "symbols": "GBP/USD, XAU/USD"}


Response

After the subscriptions, you will get a response like given below.
[{
  "symbol": "GBP/USD",
  "ask": 1.39816,
  "bid": 1.39809,
  "timestamp": 1614870290000
}]
Did not you like the parameters or the response ? You can simply edit it. For example, you can change the symbol to s or sym. You can remove the ask price or you can add the ask size to your responses. It's fully customisable.

Response Parameters

  • symbol
    : Symbol of the currency.
  • ask
    : Ask price.
  • bid
    : Bid price.
  • timestamp
    : Timestamp [MS].

Unsubscribe to FX Market Symbol

You can unsubscribe to the symbol.

{"action": "unsubscribe", "symbols": "GBP/USD"}


this command will remove the symbol from the response.

Request a consultation

Blog

Impact of AI on Forex Trading: Analyzing Advancements & Integration

Forex along with the entire financial market has seen many changes over the years and a lot of emphasis has been placed on the desire for automation. As you probably figure it out, this is something that Artificial Intelligence (AI) can help out with. When you consider just how prominent technolo

Why Crypto & Blockchain Are So Important in 2024?

In the last three years, there has been a small reduction in the buzz around crypto. This was mostly due to several factors including the pandemic, major scandals, and regulation issues in the crypto business, such as exchange hacks, fraudulent initial coin offerings (ICOs) and governmental restri

Read more

Please note that all data provided under Finage and on this website, including the prices displayed on the ticker and charts pages, are not necessarily real-time or accurate. They are strictly intended for informational purposes and should not be relied upon for investing or trading decisions. Redistribution of the information displayed on or provided by Finage is strictly prohibited. Please be aware that the data types offered are not sourced directly or indirectly from any exchanges, but rather from over-the-counter, peer-to-peer, and market makers. Therefore, the prices may not be accurate and could differ from the actual market prices. We want to emphasize that we are not liable for any trading or investing losses that you may incur. By using the data, charts, or any related information, you accept all responsibility for any risks involved. Finage will not accept any liability for losses or damages arising from the use of our data or related services. By accessing our website or using our services, all users/visitors are deemed to have accepted these conditions.

Finage LTD 2024

Copyright