소스 검색

Error

- add ErrOrderCreateTimeout
Alexey Kim 2 달 전
부모
커밋
79d135018d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      errors.go

+ 1 - 0
errors.go

@@ -9,4 +9,5 @@ var (
 	ErrLowTakeProfit         = errors.New("base price is too close to take profit")
 	ErrLowVolatility         = errors.New("too low volatility")
 	ErrRiskManagementPrevent = errors.New("RiskManagement: prevent trading")
+	ErrOrderCreateTimeout    = errors.New("CreateOrder: timeout while meeting `limit_price`")
 )