Binance.Net icon indicating copy to clipboard operation
Binance.Net copied to clipboard

Speed on place order

Open dungtrandk opened this issue 1 year ago • 2 comments

Hi

I was wondering if anybody else would like to share how fast IT takes for you guys from placing a spot limit ordre in tour code, until the callback? In milliseconds/seconds.

My calls usually take between 500ms up to almost 1 second.

Can it somehow be done faster than this?

dungtrandk avatar Aug 30 '22 19:08 dungtrandk

Set the trading rules to TradeRulesBehaviour.None and it should be much faster.

prozerran avatar Sep 21 '22 01:09 prozerran

With TradeRulesBehaviour not set to None it will request the trade rules first before placing the order, but this is not enabled by default. The other thing you can try is setting AutoTimestamp to false in the client options, which will prevent another initial request. You'll have to make sure your server time is in sync with the Binance server time though. Note that these things will only help for the first request in a while, when the library needs to resync these things.

JKorf avatar Oct 28 '22 19:10 JKorf