123456789101112131415161718192021 |
- package util
- import "git.beejay.kim/Gshopper/sentio"
- func Symbols(strategy sentio.Strategy) []string {
- var symbols []string
- if strategy == nil {
- return nil
- }
- for side, s := range strategy.PositionSymbols() {
- if sentio.BASE == side {
- continue
- }
- symbols = append(symbols, s)
- }
- return symbols
- }
|