|
@@ -3,4 +3,7 @@ package sentio
|
|
type Portfolio interface {
|
|
type Portfolio interface {
|
|
// Get returns Position of the symbol if exists in Portfolio
|
|
// Get returns Position of the symbol if exists in Portfolio
|
|
Get(symbol string) (Position, bool)
|
|
Get(symbol string) (Position, bool)
|
|
|
|
+
|
|
|
|
+ // Positions returns each Position we have in Portfolio
|
|
|
|
+ Positions() []Position
|
|
}
|
|
}
|