Properties
The "ta" extension has some optional properties that may be of use when using ohlcv data.
adjusted#
Get/Set the adjusted_close column.
Mode:
- Get: The adjusted column as
str
. - Set: The column
name
, to set as the adjusted column. Default:None
config#
Get/Set the configuration file path.
Mode:
- Get: The path of the config file as
str
. Default:"~/.config/pandas-ta/settings.json"
- Set: The path to the config file.
NOTICE
Thanks to all those that have sponsored and dontated to the library in the past! Your support has been greatly appreciated!
However, future releases are on definite hold until 100+ donations of $150+ have been received via Buy Me a Coffee.
Help keep this library and application the best in it's class!
cores#
Manage the number of cpus
to utilize for multiprocessing.
Mode:
- Get: The number of
cores
for multiprocessing asInt
. - Set: The number of
cores
Default:None
Disable multiprocessing
Set: df.ta.cores = 0
Multiprocessing caveats
- Multiprocessing will not work when using the following keys:
"col_names"
. - Multiprocessing may not work or complete as expected when indicator chaining.
- Chained indicators use non-default, ohlcv, sources as input Series.
exchange#
A label property of the major exchange the ohlcv data is associated with.
Mode:
- Get: The
exchange
as astr
. - Set: The
exchange
. Must be one of the followingta.EXCHANGE_TZ.keys()
. Default:"NYSE"
time_range#
Useful for annualization.
Mode:
- Get: Time elapsed between the first and last DateTemeIndex as
float
. - Set: Default:
"years"
See Also
- Options:
"months", "weeks", "days", "hours", "minutes"
and"seconds"
. Default:"years"
.