Skip to content

Commit

Permalink
New member value AUTO_BORROW_REPAY for SideEffectType enum (#1340)
Browse files Browse the repository at this point in the history
Co-authored-by: miladdjahandide <[email protected]>
  • Loading branch information
miladjahandide and milad-djahandide authored Feb 27, 2024
1 parent e4fd916 commit 5b66bf8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions Binance.Net/Converters/SideEffectTypeConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public SideEffectTypeConverter(bool quotes) : base(quotes) { }
new KeyValuePair<SideEffectType, string>(SideEffectType.NoSideEffect, "NO_SIDE_EFFECT"),
new KeyValuePair<SideEffectType, string>(SideEffectType.MarginBuy, "MARGIN_BUY"),
new KeyValuePair<SideEffectType, string>(SideEffectType.AutoRepay, "AUTO_REPAY"),
new KeyValuePair<SideEffectType, string>(SideEffectType.AutoBorrowRepay, "AUTO_BORROW_REPAY"),
};
}
}
6 changes: 5 additions & 1 deletion Binance.Net/Enums/SideEffectType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ public enum SideEffectType
/// <summary>
/// Make auto repayment after order is filled
/// </summary>
AutoRepay
AutoRepay,
/// <summary>
/// Automatic borrowing and repayment, simultaneously
/// </summary>
AutoBorrowRepay,
}
}

0 comments on commit 5b66bf8

Please sign in to comment.