Skip to content

Commit

Permalink
Merge pull request #460 from highcloudwind/master
Browse files Browse the repository at this point in the history
chore: fix some comments
  • Loading branch information
enarjord authored Aug 7, 2024
2 parents 3cee7dd + 23e0f86 commit 21c44b3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/walkthrough.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Once you're satisfied with the configuration, start the bot:
python3 passivbot.py binance_01 XLMUSDT configs/live/myconfig.json
```

If the bot started succesfully, you should receive a message **Passivbot started!**. After this, you can disconnect
If the bot started successfully, you should receive a message **Passivbot started!**. After this, you can disconnect
from the tmux session by pressing `ctrl+b`, following by pressing `d`.

!!! Info
Expand Down
4 changes: 2 additions & 2 deletions njit_funcs_neat_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def eval_(ientry_price_guess, psize_):
return grid, diff, i

if pprice == 0.0 or psize == 0.0:
raise Exception("cannot appriximate grid without pprice and psize")
raise Exception("cannot approximate grid without pprice and psize")
grid, diff, i = eval_(pprice, psize)
grid, diff, i = eval_(pprice * (pprice / grid[i][3]), psize)
if diff < 0.01:
Expand Down Expand Up @@ -389,7 +389,7 @@ def eval_(ientry_price_guess, psize_):

abs_psize = abs(psize)
if pprice == 0.0 or psize == 0.0:
raise Exception("cannot appriximate grid without pprice and psize")
raise Exception("cannot approximate grid without pprice and psize")
grid, diff, i = eval_(pprice, psize)
grid, diff, i = eval_(pprice * (pprice / grid[i][3]), psize)
if diff < 0.01:
Expand Down
2 changes: 1 addition & 1 deletion njit_multisymbol.py
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@ def backtest_forager(
):
"""
hlcs contains all eligible symbols, time frame is 1m
hlcs stucture: (n_minutes, n_markets, 3)
hlcs structure: (n_minutes, n_markets, 3)
hlcs:
[
[
Expand Down
2 changes: 1 addition & 1 deletion passivbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -2035,5 +2035,5 @@ async def main() -> None:
logging.error(f"There was an error starting the bot: {e}")
traceback.print_exc()
finally:
logging.info("Passivbot was stopped succesfully")
logging.info("Passivbot was stopped successfully")
os._exit(0)

0 comments on commit 21c44b3

Please sign in to comment.