-
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #667 - Added the new
ErrorInformation
property into the `Rest…
…ClientException` class.
- Loading branch information
Showing
7 changed files
with
84 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
namespace Alpaca.Markets; | ||
|
||
/// <summary> | ||
/// Encapsulates extended error information from Alpaca error REST response. | ||
/// </summary> | ||
public interface IErrorInformation | ||
{ | ||
/// <summary> | ||
/// Gets the symbol name related for the error. | ||
/// </summary> | ||
String Symbol { get; } | ||
|
||
/// <summary> | ||
/// Gets the number of opened orders if this value related to the error. | ||
/// </summary> | ||
Int32? OpenOrdersCount { get; } | ||
|
||
/// <summary> | ||
/// Gets the day trading buying power if this value related to the error. | ||
/// </summary> | ||
Decimal? DayTradingBuyingPower { get; } | ||
|
||
/// <summary> | ||
/// Gets the maximal day trading buying power if this value related to the error. | ||
/// </summary> | ||
Decimal? MaxDayTradingBuyingPowerUsed { get; } | ||
|
||
/// <summary> | ||
/// Gets the used maximal day trading buying power if this value related to the error. | ||
/// </summary> | ||
Decimal? MaxDayTradingBuyingPowerUsedSoFar { get; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters