mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 21:12:16 +00:00
* Push some changes towards updated Hugo Server * More hugo server refactoring * Update Hugo Server website with stock context and economy context * Small bugs fixes * Add ETF, options and PO to Hugo Server * More bugfixes * Add crypto hugo server * Improve docs * merge bugs fixed
769 B
Executable File
Vendored
769 B
Executable File
Vendored
usage: wma [-l N_LENGTH] [-o N_OFFSET] [--export {csv,json,xlsx}] [-h]
A Weighted Moving Average puts more weight on recent data and less on past data. This is done by multiplying each bar’s price by a weighting factor. Because of its unique calculation, WMA will follow prices more closely than a corresponding Simple Moving Average.
optional arguments:
-l N_LENGTH, --length N_LENGTH
Window lengths. Multiple values indicated as comma separated values. (default: [20, 50])
-o N_OFFSET, --offset N_OFFSET
offset (default: 0)
--export {csv,json,xlsx}
Export dataframe data to csv,json,xlsx file (default: )
-h, --help show this help message (default: False)