Skip to content

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

@luchocala

Description

@luchocala

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions