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

Real buy price is different from bot's buy price #147

Open
luchocala opened this issue Mar 22, 2021 · 0 comments
Open

Real buy price is different from bot's buy price #147

luchocala opened this issue Mar 22, 2021 · 0 comments

Comments

@luchocala
Copy link

Expected Behaviour

The bot is supposed (in my case) to buy after the last candle closes (first, it verifies some parameters/indicators), using MARKET orders. You cant predict the price with the market orders, but the bot should be able to ready the real price that the order was performed.

Actual Behaviour

The bot believes that the buy price is 0.5159, but the real price when i look at the historical orders en binance is 0.51749.
However, this doesnt happen with the sell price, as it is read correctly. I Believe:

a) The price used in the bot is the price that is "supposed" to buy, but not necessarily the real one (so you should change it to verify the real price via binance API). In other words, the bot isnt really verifyng the buy price.

b) It could be a connection delay or slow performance.

I forgot to say that the "colour" of the buy order in the UI is yellow, and it says "pending", but this doesnt happen in simulations, wheter they are in realtime, o backtest. The other problem is that in simulations i can leave comments via console.log (the appear in the buy and sell orders), but in real test i cant see any of this information, neither in the orders, neither in the log (maybe they are in the log, but they dissapear very quickly).

Steps to Reproduce the Problem

  • Use Code editor
  • Run the bot
  • Exchange used: Binance
  • Trading method: Spot / Market Orders

Specifications

  • Gimmer Version: 2.258
  • OS: Windows 10
  • Date: March 22th, 2021

Printscreen (Case needed)

Capture 1
Capture 2
Capture 3
Capture 4

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

No branches or pull requests

1 participant