Best practices to test events

Hello. Are there any ways to trigger events or any ideas on how to test them without just waiting until the price reaches a specific price?

I want to test my code but I always wait for a long time… Any best practices with it please

What kind of events are you talking about? The userdata stream events?

What kind of events are you talking about? The userdata stream events?

event order update Binance API Documentation

We have a testnet environment (https://testnet.binance.vision/). You can setup a user data stream and place a market order to get the triggered event immediately.

I do that, but I also have take profit, stop loss, stop limit orders

Those are part of the order update event. If you can receive a market order alert, you will be able to receive those alerts.

Those are part of the order update event. If you can receive a market order alert, you will be able to receive those alerts.

I can receive those but I need to wait until price reaches them. Imageine that BTC price is 20 000. I create market order and create limit order 1 at 19 500, limit order 2 at 19 200, and stop loss at 19 000. I also have take profit order at 20 500. How do you suggest to receive those event without waiting?