models/trade: use enum to index raw array

This commit is contained in:
JacobPlaster
2020-04-14 15:27:42 +01:00
committed by Jacob Plaster
parent 1b0c0674d4
commit 41407d4668
2 changed files with 29 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ Module used to describe all of the different data types
"""
class PositionModel:
"""
Enum used to index the different values in a raw order array
Enum used to index the different values in a raw position array
"""
SYMBOL = 0
STATUS = 1