You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello
In WinForm, when I run "await MyApi.PlaceAsync (limitorder)" it sometimes repeats the placement until it throws exception for quantity error.
This implies that you place as many orders as the available amount allows.
How can I control PlaceAsync to place only one order?
This is the code for the asynchronous process in C #.
Hello
In WinForm, when I run "await MyApi.PlaceAsync (limitorder)" it sometimes repeats the placement until it throws exception for quantity error.
This implies that you place as many orders as the available amount allows.
How can I control PlaceAsync to place only one order?
This is the code for the asynchronous process in C #.
private async void BinanceOrdenCompraAsync()
{
try
{
lclLimitBuyOrder.Validate();
if (lclLimitBuyOrder.IsValid())
{
await GC.glbBinanceApi.PlaceAsync(lclLimitBuyOrder);
}
...
}
}
The text was updated successfully, but these errors were encountered: