Skip to content

Commit

Permalink
Changed default behavior for PlaceOrder in FTXRestApi from hehge mode…
Browse files Browse the repository at this point in the history
… to one-way mode.
  • Loading branch information
aatroshcenko committed Oct 16, 2020
1 parent 92c095e commit 570e6c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/OsEngine/Market/Servers/FTX/FTXApi/FtxRestApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public async Task<JToken> RequestWithdrawalAsync(string coin, decimal size, stri

#region Orders

public async Task<JToken> PlaceOrderAsync(string instrument, Side side, decimal price, OrderPriceType orderType, decimal amount, bool reduceOnly = false)
public async Task<JToken> PlaceOrderAsync(string instrument, Side side, decimal price, OrderPriceType orderType, decimal amount, bool reduceOnly = true)
{
var path = $"api/orders";

Expand Down

0 comments on commit 570e6c6

Please sign in to comment.