Alexey Kim 6 giorni fa
parent
commit
2f53a9afa7
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      mkt.go

+ 1 - 1
mkt.go

@@ -14,7 +14,7 @@ type MKT interface {
 	UpdateOrder(orderID string, sl float64) error
 	CloseOrder(orderID string) (Order, error)
 
-	Orders(status string, nested bool) ([]Order, error)
+	Orders(status string, from time.Time, until time.Time, nested bool) ([]Order, error)
 	Portfolio() (Portfolio, error)
 	PortfolioHistory() ([]PortfolioRecord, error)
 	Quotes(symbols ...string) (map[string]Quote, error)