Skip to content

Commit c06b161

Browse files
authored
Merge pull request #1569 from battmdpkq/main
FIX: fix some typos
2 parents 4337662 + 54db9e9 commit c06b161

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

contracts/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Create and modify the following files in this directory, the secret key inside t
1212

1313
```bash
1414
npm i
15-
# if you want to develope in localhost, try to run npm run devserver separately
15+
# if you want to develop in localhost, try to run npm run devserver separately
1616
# ex: npm run devserver
1717
# it will give you a set of secrets and account addresses
1818
```

doc/configuration/envvars.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ MAX_QUERY_CLOSED_ORDERS_NUM_OF_PAGES=10
1010

1111

1212
# MAX_QUERY_CLOSED_ORDERS_LIMIT=[limit per query]
13-
# using defualt limit 1000 might cause the server response timeout, you can decrease this limit to prevent this kind of error.
13+
# using default limit 1000 might cause the server response timeout, you can decrease this limit to prevent this kind of error.
1414
# default = 1000
1515
MAX_QUERY_CLOSED_ORDERS_LIMIT=500
1616

pkg/exchange/bybit/exchange.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ func (e *Exchange) QueryTicker(ctx context.Context, symbol string) (*types.Ticke
113113
}
114114

115115
if len(s.List) != 1 {
116-
return nil, fmt.Errorf("unexpected ticker lenght, exp:1, got:%d", len(s.List))
116+
return nil, fmt.Errorf("unexpected ticker length, exp:1, got:%d", len(s.List))
117117
}
118118

119119
ticker := toGlobalTicker(s.List[0], s.ClosedTime.Time())

pkg/indicator/volumeprofile.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func (inc *VolumeProfile) Update(price, volume float64, timestamp types.Time) {
6565
// peak in the Volume Profile, and is considered to be an important level of support or resistance. It can be used by traders to
6666
// identify potential entry and exit points for trades, or to confirm other technical analysis signals.
6767

68-
// Get Resistence Level by finding PoC
68+
// Get Resistance Level by finding PoC
6969
func (inc *VolumeProfile) PointOfControlAboveEqual(price float64, limit ...float64) (resultPrice float64, vol float64) {
7070
filter := inc.maxPrice
7171
if len(limit) > 0 {

0 commit comments

Comments
 (0)