mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
fix Test_tradeService
This commit is contained in:
parent
9b6b071d2b
commit
b8ef2eb550
|
@ -3,12 +3,13 @@ package service
|
|||
import (
|
||||
"context"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/jmoiron/sqlx"
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/c9s/bbgo/pkg/types"
|
||||
"github.com/c9s/bbgo/pkg/fixedpoint"
|
||||
"github.com/c9s/bbgo/pkg/types"
|
||||
)
|
||||
|
||||
func Test_tradeService(t *testing.T) {
|
||||
|
@ -34,6 +35,7 @@ func Test_tradeService(t *testing.T) {
|
|||
Symbol: "BTCUSDT",
|
||||
Side: "BUY",
|
||||
IsBuyer: true,
|
||||
Time: types.Time(time.Now()),
|
||||
})
|
||||
assert.NoError(t, err)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user