Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
m5l14i11 committed Apr 30, 2024
1 parent 4d1be31 commit a6320fd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions core/models/source.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from enum import Enum


class SourceType(Enum):
CLOSE = 1
HL2 = 2
HLC3 = 3
HLCC4 = 4
OHLC4 = 5

def __str__(self):
return self.name.upper()

0 comments on commit a6320fd

Please sign in to comment.