2
0

strategy.go 245 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]float64
  8. Interval() uint8
  9. Handle(market Market, probability Probability) error
  10. }