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

Vega - Error fetching status update for the active order XXX: Order not found #7006

Open
rapcmia opened this issue May 3, 2024 · 0 comments

Comments

@rapcmia
Copy link
Contributor

rapcmia commented May 3, 2024

Describe the bug

When reviewing logs of long term bot, observed this behavior on different instances where the connector tries to fetch an order that is still not yet created causing WARNING - Error fetching status update for the active order {order_id}: Order not found.

# check buy order VGHBBETUT61773031b59edebf047016e
2024-05-02 06:50:02,554 - 32274 - hummingbot.connector.derivative.vega_perpetual.vega_perpetual_derivative.VegaPerpetualDerivative - WARNING - Error fetching status update for the active order VGHBBETUT61773031b59edebf047016e: Order not found.
2024-05-02 06:50:03,085 - 32274 - hummingbot.connector.client_order_tracker - INFO - Created LIMIT BUY order VGHBBETUT61773031b59edebf047016e for 0.002 to OPEN a ETHUSDT-USDT position.
2024-05-02 06:50:03,120 - 32274 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp": 1714632603.0, "type": "OrderType.LIMIT", "trading_pair": "ETHUSDT-USDT", "amount": "0.002", "price": "2800.72", "order_id": "VGHBBETUT61773031b59edebf047016e", "creation_timestamp": 1714632601.0, "exchange_order_id": "4e459828a65d3515b5906370c9a8a05e9ce1c96a528e5484e8451ab59c19ef7f", "leverage": 20, "position": "OPEN", "event_name": "BuyOrderCreatedEvent", "event_source": "vega_perpetual"}
# Trimmed timestamps
2024-05-02 07:04:59,943 - 32274 - hummingbot.strategy.script_strategy_base - INFO - (ETHUSDT-USDT) Canceling the limit order VGHBBETUT61773031b59edebf047016e. [clock=2024-05-02 07:04:59+00:00]
2024-05-02 07:05:01,112 - 32274 - hummingbot.strategy.script_strategy_base - INFO - Creating ETHUSDT-USDT buy order: price: 2887.058651399999999332780446 amount: 0.001384107661984022830316455472.
2024-05-02 07:05:02,225 - 32274 - hummingbot.strategy.script_strategy_base - INFO - Creating ETHUSDT-USDT buy order: price: 2803.250142000000002619049436 amount: 0.002076161492976034245474683208.
2024-05-02 07:05:02,633 - 32274 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp": 1714633502.0, "order_id": "VGHBBETUT61773031b59edebf047016e", "exchange_order_id": "4e459828a65d3515b5906370c9a8a05e9ce1c96a528e5484e8451ab59c19ef7f", "event_name": "OrderCancelledEvent", "event_source": "vega_perpetual"}
2024-05-02 07:05:02,633 - 32274 - hummingbot.connector.client_order_tracker - INFO - Successfully canceled order VGHBBETUT61773031b59edebf047016e.
  • An error happened when trying to fetch an order that is still not created
  • After the error occurred, limit order has been created and eventually close after 15mins
  • 15mins is the set executor refresh time ✅
  • This behavior occurs on different

Note: We did not found anything stuck on exchange or orders that are affected when this error occurred. Connector performs as we expected

Steps to reproduce

  1. Setup a v2 strategy and run for couple of hours then review logs

Release version

latest and development

Type of installation

Source

Attach required files

n/a

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

No branches or pull requests

1 participant