feat: add hashtag active duration and extend active window on sell
Build Images and Deploy / Update-PROD-Stack (push) Successful in 1m18s
Build Images and Deploy / Update-PROD-Stack (push) Successful in 1m18s
This commit is contained in:
@@ -43,8 +43,10 @@ model Hashtag {
|
||||
currentPrice Float @default(0.25)
|
||||
isActive Boolean @default(true)
|
||||
isBanned Boolean @default(false)
|
||||
// Consecutive zero-result count; after 3 failed updates the hashtag auto-deactivates
|
||||
// Consecutive zero-result count (informational)
|
||||
zeroCount Int @default(0)
|
||||
// Earliest time this hashtag can be deactivated (set on research + when last position closes)
|
||||
activeUntil DateTime?
|
||||
lastUpdated DateTime @default(now())
|
||||
createdAt DateTime @default(now())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user