Realtime ticker
Add token
from here
to the box below:
Account:
Click Validate to populate
Asset type:
FxSpot
(FxSpot has realtime prices on SIM)
InfoPrices request arguments:
{ "ContextId": "(added on first request)", "ReferenceId": "MyInfoPricesEvent", "Arguments": { "AccountKey": "(added on first request)", "Uics": "4,12,14,17,18,21,31,38,43", "AssetType": "FxSpot", "FieldGroups": [ "Commissions", "DisplayAndFormat", "HistoricalChanges", "InstrumentPriceDetails", "MarketDepth", "PriceInfo", "PriceInfoDetails", "Quote" ] } }
Prices request arguments:
{ "ContextId": "(added on first request)", "ReferenceId": "MyPricesEvent", "Arguments": { "AccountKey": "(added on first request)", "Uic": 21, "AssetType": "FxSpot", "Amount": 1000, "FieldGroups": [ "Commissions", "DisplayAndFormat", "Greeks", "HistoricalChanges", "InstrumentPriceDetails", "MarginImpactBuySell", "MarketDepth", "PriceInfo", "PriceInfoDetails", "Quote", "Timestamps" ] } }
Response:
Click button to launch function.
JS code:
Click button to show code.