strategy.go 246 B

12345678910111213
  1. package sentio
  2. type Strategy interface {
  3. Name() string
  4. Model() string
  5. MarketId() string
  6. PositionSymbols() map[Side]string
  7. PositionProbabilities() map[Side]float32
  8. Interval() uint8
  9. Handle(market Market, probability *Probability) error
  10. }