Skip to content

Commit

Permalink
Fixed very important typos.
Browse files Browse the repository at this point in the history
████ ███  To request new features or in case this commit breaks something for you,
████ ███  please, create a new github issue with all possible information for me,
▓███▀█▄   but never share your API Keys!
▒▓██ ███
░▒▓█ ███  Signed-off-by: Carles Tubio <ctubio@users.noreply.github.com>
 _______________________________
/ Hello, WORLD!                 \
|                               |
\ pssst.. 1 BTC = 41873.70 EUR. /
 -------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
  • Loading branch information
ctubio committed Sep 5, 2021
1 parent e6e67e2 commit 4a5911f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/bin/scaling-bot/scaling-bot.data.h
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ namespace analpaper {
};
void applyQuotingParameters() {
quotes.debug("?"); applyScaleSide();
quotes.debug("A"); applyPingsScalation();
quotes.debug("A"); applyPongsScalation();
quotes.debug("B"); applyFairValueDeviation();
quotes.debug("C"); applyBestWidth();
quotes.debug("D"); applyRoundPrice();
Expand All @@ -469,7 +469,7 @@ namespace analpaper {
if (K.arg<int>("scale-bids"))
quotes.ask.clear(QuoteState::DisabledQuotes);
};
void applyPingsScalation() {
void applyPongsScalation() {
if (orderbook.limit()) {
if (!quotes.bid.empty() and !orderbook.limit(quotes.bid))
quotes.bid.clear(QuoteState::DisabledQuotes);
Expand Down
2 changes: 1 addition & 1 deletion src/bin/scaling-bot/scaling-bot.main.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ScalingBot: public KryptoNinja {
{"quit-after", "NUMBER", "0", "set NUMBER of filled pings before quit"},
{"wait-width", "AMOUNT", "0", "set AMOUNT of price width from last pong before start"},
{"wait-price", "AMOUNT", "0", "set AMOUNT of fair value price deviation before start"},
{"time-price", "NUMBER", "0", "set NUMBER of seconds to measure price deviation difference"},
{"time-price", "NUMBER", "0", "set NUMBER of seconds to measure price deviation difference"}
},
[&](MutableUserArguments &args) {
args["order-size"] = fmax(0, arg<double>("order-size"));
Expand Down

0 comments on commit 4a5911f

Please sign in to comment.