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

Order Not Found (Query by order_id) #236

Open
dfelton opened this issue Dec 7, 2021 · 0 comments
Open

Order Not Found (Query by order_id) #236

dfelton opened this issue Dec 7, 2021 · 0 comments
Labels
bug Something isn't working Priority - Low

Comments

@dfelton
Copy link
Owner

dfelton commented Dec 7, 2021

This was occurring just before Gemini reported they were having issues on their end. It has since been resolved on there end.

Still, logging this info here as it is a possible scenario. Plus I want this uncommitted file out of my local directory.

[{'price': '5.7608', 'amount': '1.417909', 'timestamp': 1635359930, 'timestampms': 1635359930253, 'type': 'Buy', 'aggressor': False, 'fee_currency': 'USD', 'fee_amount': '0.0081682901672', 'tid': 64713006339, 'order_id': '64705351889', 'exchange': 'gemini', 'is_auction_fill': False, 'is_clearing_fill': False, 'symbol': '1INCHUSD', 'client_order_id': 'repeater_31545_buy_1635356254.6739'}, {'price': '5.7932', 'amount': '0.062421', 'timestamp': 1635357825, 'timestampms': 1635357825407, 'type': 'Buy', 'aggressor': False, 'fee_currency': 'USD', 'fee_amount': '0.0003616173372', 'tid': 64708823966, 'order_id': '64705350570', 'exchange': 'gemini', 'is_auction_fill': False, 'is_clearing_fill': False, 'symbol': '1INCHUSD', 'client_order_id': 'repeater_6924_buy_1635356254.0647'}]



more fucked shit:
order_id: 64704920031

mysql> select * from trade_repeater where buy_order_id = 64704920031 \G
*************************** 1. row ***************************
                  id: 29003
          is_enabled: 1
            is_error: 0
              status: BUY_PLACED
              symbol: lptusd
 buy_client_order_id: repeater_29003_buy_1635356079.5771
        buy_order_id: 64704920031
          buy_amount: 0.190747
           buy_price: 23.0219
sell_client_order_id: NULL
       sell_order_id: NULL
         sell_amount: 0.186297
          sell_price: 24.2306
                note: NULL
                meta: {"buy_price":"23.0219"}
          updated_at: 2021-10-27 17:34:40
1 row in set (0.04 sec)

mysql> select * from trade_history_lptusd where order_id = 64704920031 \G
*************************** 1. row ***************************
            tid: 64717825158
          price: 23.0219
         amount: 0.190747
    timestampms: 1635361991379
           type: buy
      aggressor: 0
   fee_currency: USD
     fee_amount: 0.0043913583593
       order_id: 64704920031
client_order_id: repeater_29003_buy_1635356079.5771
     trade_date: 2021-10-27 19:13:11

  {"body":"{\"result\":\"error\",\"reason\":\"OrderNotFound\",\"message\":\"Order 64704920031 not found\"}","response_code":404} ****
@dfelton dfelton added bug Something isn't working Priority - Low labels Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Priority - Low
Projects
None yet
Development

No branches or pull requests

1 participant