|
@@ -28,6 +28,7 @@ type Market interface {
|
|
Orders() ([]Order, error)
|
|
Orders() ([]Order, error)
|
|
Portfolio() (Portfolio, error)
|
|
Portfolio() (Portfolio, error)
|
|
|
|
|
|
- AvailableCash() (float64, error)
|
|
|
|
|
|
+ Cash() (float64, error)
|
|
|
|
+ Equity() (float64, error)
|
|
MaxBudget() float64
|
|
MaxBudget() float64
|
|
}
|
|
}
|