Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Error in number formatting on screen #198

Closed
toSvenson opened this issue May 28, 2017 · 4 comments
Closed

Error in number formatting on screen #198

toSvenson opened this issue May 28, 2017 · 4 comments

Comments

@toSvenson
Copy link

The formatting of the numbers in the screen log is buggy.

An example of paper trade log, the correct info should be:
0.48444 BTC 1000.00 EUR

0.48444 BTC 981.33 EUR

image

@DeviaVir
Copy link
Owner

DeviaVir commented Jun 3, 2017

With what settings did you run your paper command?

@yodathegrey
Copy link

yodathegrey commented Jun 5, 2017

I'm seeing the same issue ./zenbot.sh trade --paper gdax.BTC-USD:

2017-06-04 17:20:00  2525.10 BTC-USD   +0.2%      170      +      -0.0010     sold  0.00390 BTC   983.85 USD    -0.6%   -2.2%
2017-06-04 17:40:00  2521.60 BTC-USD   -0.1%      171     -       -0.0099     0.0%  0.00390 BTC   983.85 USD    -0.6%   -2.1%
2017-06-04 18:00:00  2519.84 BTC-USD   -0.1%      125     -       -0.0137    +0.0%  0.00390 BTC   983.85 USD    -0.6%   -2.0%
2017-06-04 18:20:00  2518.50 BTC-USD   -0.1%       90     -       -0.0163    +0.1%  0.00390 BTC   983.85 USD    -0.6%   -2.0%
2017-06-04 18:40:00  2521.07 BTC-USD   +0.1%       67     -       -0.0087     0.0%  0.00390 BTC   983.85 USD    -0.6%   -2.1%
2017-06-04 19:00:00  2520.01 BTC-USD    0.0%      146     -       -0.0108    +0.0%  0.00390 BTC   983.85 USD    -0.6%   -2.0%
2017-06-04 19:20:00  2513.03 BTC-USD   -0.3%      109     -       -0.0280    +0.3%  0.00390 BTC   983.85 USD    -0.6%   -1.7%
2017-06-04 19:40:00  2510.33 BTC-USD   -0.1%       89    --       -0.0331    +0.4%  0.00390 BTC   983.85 USD    -0.6%   -1.6%
2017-06-04 20:00:00  2487.99 BTC-USD   -0.9%      359    --       -0.0881    +1.3%  0.00390 BTC   983.85 USD    -0.6%   -0.8%
2017-06-04 20:20:00  2472.69 BTC-USD   -0.6%      551    --       -0.1216    +1.9%  0.00390 BTC   983.85 USD    -0.7%   -0.2%
2017-06-04 20:40:00  2483.02 BTC-USD   +0.4%      175    --       -0.0874    +1.5%  0.00390 BTC   983.85 USD    -0.6%   -0.6%
2017-06-04 21:00:00  2497.74 BTC-USD   +0.6%      488    --       -0.0441    +0.9%  0.00390 BTC   983.85 USD    -0.6%   -1.1%
2017-06-04 21:20:00  2502.01 BTC-USD   +0.2%      180     -       -0.0303    +0.7%  0.00390 BTC   983.85 USD    -0.6%   -1.3%
2017-06-04 21:40:00  2514.90 BTC-USD   +0.5%       78     -        0.0047      buy  0.00390 BTC   983.85 USD    -0.6%   -1.8%
2017-06-04 21:41:15  2519.40 BTC-USD   +0.2%       11      +       0.0160   buying  0.00390 BTC   983.85 USD    -0.6%   -2.0%
buy order completed at 2017-06-04 21:41:24:

0.38722766 BTC at 2519.40 USD USD
total 975.58 USD USD
0.1614% slippage (orig. price 2515.34 USD USD)
execution: a minute

2017-06-04 22:00:00  2510.36 BTC-USD   -0.2%      193     -       -0.0072   bought  0.39051 BTC     9.84 USD    -1.0%   -2.0%
2017-06-04 22:00:12  2510.36 BTC-USD   +0.0%        1     -       -0.0068  selling  0.39051 BTC     9.84 USD    -1.0%   -2.0%
sell order completed at 2017-06-04 22:00:40:

0.38660203 BTC at 2510.36 USD USD
total 970.51 USD USD
0.0000% slippage (orig. price 2510.36 USD USD)
execution: a few seconds

2017-06-04 22:20:00  2500.50 BTC-USD   -0.4%      210     -       -0.0321     sold  0.00391 BTC   980.35 USD    -1.0%   -1.6%
2017-06-04 22:40:00  2518.00 BTC-USD   +0.7%      126      +       0.0149      buy  0.00391 BTC   980.35 USD    -1.0%   -2.3%
2017-06-04 22:40:56  2518.00 BTC-USD   +0.0%        7      +       0.0139   buying  0.00391 BTC   980.35 USD    -1.0%   -2.3%
buy order completed at 2017-06-04 22:41:18:

0.38545210 BTC at 2517.99 USD USD
total 970.56 USD USD
0.0020% slippage (orig. price 2517.94 USD USD)
execution: a minute

2017-06-04 23:00:00  2521.22 BTC-USD   +0.1%      158      +       0.0222   bought  0.38935 BTC     9.80 USD    -0.9%   -2.3%
2017-06-04 23:20:00  2525.83 BTC-USD   +0.2%      188      +       0.0326    +0.3%  0.38935 BTC     9.80 USD    -0.7%   -2.3%
2017-06-04 23:40:00  2527.76 BTC-USD   +0.1%      259      +       0.0354    +0.4%  0.38935 BTC     9.80 USD    -0.6%   -2.3%
2017-06-05 00:00:00  2521.36 BTC-USD   -0.3%      168      +       0.0167    +0.1%  0.38935 BTC     9.80 USD    -0.9%   -2.3%
2017-06-05 00:20:00  2524.34 BTC-USD   +0.1%      154      +       0.0233    +0.3%  0.38935 BTC     9.80 USD    -0.7%   -2.3%
2017-06-05 00:40:00  2524.22 BTC-USD    0.0%       79      +       0.0215    +0.2%  0.38935 BTC     9.80 USD    -0.7%   -2.3%
2017-06-05 01:00:00  2545.44 BTC-USD   +0.8%      184      ++      0.0745    +1.1%  0.38935 BTC     9.80 USD    +0.1%   -2.3%
2017-06-05 01:20:00  2560.99 BTC-USD   +0.6%      659      ++      0.1095    +1.7%  0.38935 BTC     9.80 USD    +0.7%   -2.3%
2017-06-05 01:40:00  2563.82 BTC-USD   +0.1%      216      ++      0.1095    +1.8%  0.38935 BTC     9.80 USD    +0.8%   -2.3%
2017-06-05 02:00:00  2561.48 BTC-USD   -0.1%      177      ++      0.0964    +1.7%  0.38935 BTC     9.80 USD    +0.7%   -2.3%
2017-06-05 02:20:00  2560.96 BTC-USD    0.0%      134      ++      0.0887    +1.7%  0.38935 BTC     9.80 USD    +0.7%   -2.3%
2017-06-05 02:40:00  2565.39 BTC-USD   +0.2%      109      ++      0.0943    +1.9%  0.38935 BTC     9.80 USD    +0.9%   -2.3%
2017-06-05 03:00:00  2567.10 BTC-USD   +0.1%      167      ++      0.0924    +2.0%  0.38935 BTC     9.80 USD    +0.9%   -2.3%
2017-06-05 03:20:00  2569.95 BTC-USD   +0.1%       91      ++      0.0937    +2.1%  0.38935 BTC     9.80 USD    +1.0%   -2.3%
2017-06-05 03:21:25  2569.99 BTC-USD   +0.0%       12      ++      0.0876    +2.1%  0.38935 BTC     9.80 USD    +1.0%   -2.3%

@miro-ka
Copy link

miro-ka commented Jun 9, 2017

I can take a look a this one, but what is the problem? As far as I understand the steps were

  1. started with 1000,- EUR
  2. bought 0.48444 BTC - >account balance 10 EUR,-
  3. sold 0.48444 BTC -> account balance 981.33 EUR,-

Please, what am I missing?

@DeviaVir
Copy link
Owner

Closing due to inactivity.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants