Market Data API
Market ticks, orderbooks, trades & history data
Returns:
List of all available price sources
Example URL:
http://127.0.0.1:8050/GetAllPriceSources
Example URL: Returns:
List of all enabled price sources
Example URL:
http://127.0.0.1:8050/GetEnabledPriceSources
Required input:
- priceSourceName : string of EnumPriceSource
Returns:
List of 'Market'
Example URL:
http://127.0.0.1:8050/GetPriceMarkets?priceSourceName=Bitfinex
Required input:
- priceSourceName : string of EnumPriceSource
- primaryCoin : primary coin of the market.
- secondaryCoin : secondary coin of the market.
- contractName : contract name of the market (optional)
Returns:
'PriceTick' object of the last tick.
Example URL:
http://127.0.0.1:8050/GetPriceTicker?priceSourceName=Bitfinex&primaryCoin=BTC&secondaryCoin=USD&contractName=
http://127.0.0.1:8050/GetPriceTicker?priceSourceName=BitMEX&primaryCoin=XBT&secondaryCoin=USD&contractName=
Required input:
- priceSourceName : string of EnumPriceSource
- primaryCoin : primary coin of the market.
- secondaryCoin : secondary coin of the market.
- contractName : contract name of the market (optional)
Returns:
'PriceTick' object of the last minute tick.
Example URL:
http://127.0.0.1:8050/GetMinutePriceTicker?priceSourceName=Bitfinex&primaryCoin=BTC&secondaryCoin=USD&contractName=
Required input:
- priceSourceName : string of EnumPriceSource
- primaryCoin : primary coin of the market.
- secondaryCoin : secondary coin of the market.
- contractName : contract name of the market (optional)
Returns:
List of 'Trade'
Example URL:
http://127.0.0.1:8050/GetLastTrades?priceSourceName=Bitfinex&primaryCoin=BTC&secondaryCoin=USD&contractName=
Required input: Required input:
- priceSourceName : string of EnumPriceSource
- primaryCoin : primary coin of the market.
- secondaryCoin : secondary coin of the market.
- contractName : contract name of the market (optional)
Returns:
'Orderbook' object.
Example URL:
http://127.0.0.1:8050/GetOrderbook?priceSourceName=Bitfinex&primaryCoin=BTC&secondaryCoin=USD&contractName=
Required input:
- priceSourceName : string of EnumPriceSource
- primaryCoin : primary coin of the market.
- secondaryCoin : secondary coin of the market.
- contractName : contract name of the market (optional)
- interval : number,
- depth : number
Returns:
List of 'PriceTick' objects
Example URL:
http://127.0.0.1:8050/GetHistory?priceSourceName=Bitfinex&primaryCoin=BTC&secondaryCoin=USD&contractName=&interval=1&depth=100
Last modified 4yr ago