Skip to content

Latest commit

 

History

History
81 lines (52 loc) · 3.44 KB

File metadata and controls

81 lines (52 loc) · 3.44 KB

TP

1.4.7 v3

This document was generated automatically. Please see README Generator for more info.

Known Issues

Concurrent connections

Context: TP and ICAP EAs use the same credentials, and often there are issues with the set of credentials not having concurrent (ie: 2+) connections enabled.

  • With both TP and ICAP EAs off, try the following commands to check if this is the case:
wscat -c 'ws://json.mktdata.portal.apac.parametasolutions.com:12000'
  • Once connected, send:
{ "msg": "auth", "user": "USER_CRED", "pass": "API_KEY", "mode": "broadcast" }
  • If credentials work for a single connection, open a second terminal and run the same commands while the first is still running. The expected behaviour is that both terminals should fire out a massive amount of price data.

CACHE_MAX_AGE interaction with Heartbeat messages

If CACHE_MAX_AGE is set below a current heartbeat interval (60000ms), the extended cache TTL feature for out-of-market-hours that relies on heartbeats will not work.

Environment Variables

Required? Name Description Type Options Default
WS_API_USERNAME API user for WS endpoint string
WS_API_PASSWORD API password for WS endpoint string
WS_API_ENDPOINT Endpoint for WS prices string ws://json.mktdata.portal.apac.parametasolutions.com:12000

Data Provider Rate Limits

There are no rate limits for this adapter.


Input Parameters

Required? Name Description Type Options Default
endpoint The endpoint to use string forex, price price

Price Endpoint

Supported names for this endpoint are: forex, price.

Input Params

Required? Name Aliases Description Type Options Default Depends On Not Valid With
base coin, from The symbol of symbols of the currency to query string
quote market, to The symbol of the currency to convert to string
tpSource Source of price data for this price pair on the TP stream string GBL

Example

Request:

{
  "data": {
    "endpoint": "price",
    "base": "EUR",
    "quote": "USD"
  }
}

MIT License