init; project structure & bybit provider

This commit is contained in:
yash 2026-02-24 22:28:29 +03:00
commit ae096d4820
14 changed files with 482 additions and 0 deletions

View file

@ -0,0 +1,12 @@
package provider
import (
"context"
"crypto_alert_bot/internal/entities"
)
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)
}