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. |
config(feature) -> voidEnable 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.