handle stock split
This commit is contained in:
@@ -168,6 +168,9 @@ func processRecord(ctx context.Context, q *FillerQueue, rec Record, sel Selector
|
||||
}
|
||||
}
|
||||
|
||||
case KindSplit:
|
||||
q.AdjustForSplit(rec.Quantity())
|
||||
|
||||
default:
|
||||
return fmt.Errorf("unknown side: %v", rec.Kind())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user