Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: fix some typos #1569

Merged
merged 1 commit into from
Mar 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contracts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Create and modify the following files in this directory, the secret key inside t

```bash
npm i
# if you want to develope in localhost, try to run npm run devserver separately
# if you want to develop in localhost, try to run npm run devserver separately
# ex: npm run devserver
# it will give you a set of secrets and account addresses
```
Expand Down
2 changes: 1 addition & 1 deletion doc/configuration/envvars.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ MAX_QUERY_CLOSED_ORDERS_NUM_OF_PAGES=10


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

Expand Down
2 changes: 1 addition & 1 deletion pkg/exchange/bybit/exchange.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func (e *Exchange) QueryTicker(ctx context.Context, symbol string) (*types.Ticke
}

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

ticker := toGlobalTicker(s.List[0], s.ClosedTime.Time())
Expand Down
2 changes: 1 addition & 1 deletion pkg/indicator/volumeprofile.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (inc *VolumeProfile) Update(price, volume float64, timestamp types.Time) {
// peak in the Volume Profile, and is considered to be an important level of support or resistance. It can be used by traders to
// identify potential entry and exit points for trades, or to confirm other technical analysis signals.

// Get Resistence Level by finding PoC
// Get Resistance Level by finding PoC
func (inc *VolumeProfile) PointOfControlAboveEqual(price float64, limit ...float64) (resultPrice float64, vol float64) {
filter := inc.maxPrice
if len(limit) > 0 {
Expand Down
Loading