forked from Hvass-Labs/FinanceOps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
data_keys.py
51 lines (42 loc) · 1.28 KB
/
data_keys.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
########################################################################
#
# Keys used for naming columns in Pandas DataFrames.
#
########################################################################
#
# This file is part of FinanceOps:
#
# https://github.com/Hvass-Labs/FinanceOps
#
# Published under the MIT License. See the file LICENSE for details.
#
# Copyright 2018 by Magnus Erik Hvass Pedersen
#
########################################################################
DATE = 'Date'
DATE_TIME = 'Date and Time'
TOTAL_RETURN = 'Total Return'
SHARE_PRICE = 'Share-price'
OPEN = 'Open'
HIGH = 'High'
LOW = 'Low'
CLOSE = 'Close'
VOLUME = 'Volume'
DIVIDEND = 'Dividend'
DIVIDEND_TTM = 'Dividend TTM'
DIVIDEND_YIELD = 'Dividend Yield'
EARNINGS_PER_SHARE = "Earnings Per Share"
SALES_PER_SHARE = "Sales Per Share"
BOOK_VALUE_PER_SHARE = "Book-Value Per Share"
SALES_GROWTH = "Sales Growth" # Sales Per Share Growth
PROFIT_MARGIN = "Profit Margin" # Earnings Per Share / Sales Per Share
PE = "P/E" # Price/Earnings
PSALES = "P/Sales"
PBOOK = "P/Book"
PDIVIDEND = "P/Dividend"
ANN_RETURN = "Annualized Return"
MEAN_ANN_RETURN = "Mean Ann. Return"
STD_ANN_RETURN = "Std. Ann. Return"
BOND_YIELD = "Bond Yield"
CPI = "CPI"
########################################################################