1234567891011121314151617181920212223 |
- 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
- }
|