instrument usecases & repository methods
This commit is contained in:
parent
39b89fc404
commit
16d38bb3cf
7 changed files with 100 additions and 13 deletions
|
|
@ -9,5 +9,5 @@ import (
|
|||
type Provider interface {
|
||||
// Price returns the current price of the pair (base currency / quote currency).
|
||||
// e.g. BTC/USDT.
|
||||
Price(ctx context.Context, pair entities.Pair) (*entities.Price, error)
|
||||
Price(ctx context.Context, instrument entities.Instrument) (*entities.Price, error)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue