Class: Market

Market

Turns on the resolution of market definitions for a particular symbol. A sample symbology file is provided in examples/marketSymbology.js and should be customized for your use. Market definitions are defined in files named by exchange code in marketDefinitions folder. You can add more definitions as you see fit, as well as edit the existing definitions should unscheduled market closings occur or new holidays announced. You can also configure the symbology file to fetch market definitions from your own API. For more information:

Since:
  • 9.4.0

Type Definitions


MarketConfig

Load support for market time zones.

Type:
Properties:
Name Type Argument Description
TTL number <optional>

Time to live for market definition before attempting to reload it.

Since:
  • 9.4.0