Skip to content
This repository was archived by the owner on May 29, 2021. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Skip to API reference -->

See Examples in Code

Config

config module allows you to disable or enable optional features within wstrade-api. Here is a list of optional features.

Feature Default Description
implicit_token_refresh Enabled the tokens in the auth module are automatically refreshed when the auth.tokens.expires time is in the past.
securities_cache Disabled Internal memory cache of securities that were previously discovered. This optional feature can reduce unnecessary API calls over time.

API Reference


config

config(feature) -> void

Enable or disable an optional feature within wstrade-api.

  • To enable a feature, specify the feature name shown in the table above
  • To disable a feature, prefix no_ before the feature name shown in the table above.

View examples