Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tolyo committed Dec 11, 2023
1 parent 6a02a7d commit 7c60be4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pkg/models/currency_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package models

func (assert *ModelsTestSuite) TestGetCurrencies() {
// expect currenceis to be popullated
// expect currencies to be populated
assert.GreaterOrEqual(3, len(GetCurrencies()))
}
2 changes: 1 addition & 1 deletion pkg/models/payment_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
log "github.com/sirupsen/logrus"
)

// `payment_account.pub_id` db reference
// PaymentAccountId `payment_account.pub_id` db reference
type PaymentAccountId string

type PaymentAccount struct {
Expand Down
4 changes: 2 additions & 2 deletions pkg/models/trade_order.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ const (
StopLimit OrderType = "STOPLIMIT"
)

// `trade_order.pub_id` db reference
// TradeOrderId `trade_order.pub_id` db reference
type TradeOrderId string

// The limit price at which order may be executed
// OrderPrice The limit price at which order may be executed
type OrderPrice float64

type TradeOrder struct {
Expand Down
3 changes: 1 addition & 2 deletions pkg/models/trading_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/shopspring/decimal"
)

// `trading_account.pub_id` db reference
// TradingAccountId `trading_account.pub_id` db reference
type TradingAccountId string

type TradingAccountInstrument struct {
Expand All @@ -21,7 +21,6 @@ type TradingAccountInstrument struct {
type TradingAccount struct {
Id TradingAccountId
AppEntityId AppEntityExternalId
// Instruments []TradingAccountInstrument
}

const tradingAccountBaseQuery = `
Expand Down

0 comments on commit 7c60be4

Please sign in to comment.