Skip to content
Velo

client.options

Fetches Velo's active options product catalog.

Imports

const velo = require('velo-node')

Example

const velo = require('velo-node')
 
async function main() {
  const client = new velo.Client('api_key')
  const products = await client.options()
  console.log(products)
}
 
main()

Definition

options(): Promise<Object[]>

Parameters

None.

Return Type

  • Type: Promise<Object[]>

Resolves to an array of active options products. An empty array is returned when no products match.

PropertyTypeDescription
exchangestringThe exchange and options market.
coinstringThe Velo-aggregated coin symbol.
productstringThe exchange-native product symbol.
beginnumberFirst available timestamp in milliseconds.