浏览代码

MKT

- draft
Alexey Kim 6 天之前
父节点
当前提交
2f53a9afa7
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)