Class BudgetReport
- Namespace
- WhalesSecret.TradeScriptLib.API.TradingV1.Budget
- Assembly
- WhalesSecret.TradeScriptLib.dll
Report of the trading strategy budget.
public class BudgetReport : IEquatable<BudgetReport>
- Inheritance
-
BudgetReport
- Implements
- Inherited Members
- Extension Methods
Properties
- BudgetChanges
Difference between FinalBudget and InitialBudget.
- EndTime
UTC time of the end of the period that the report covers.
- FeesPaid
Cumulative fees paid for the executed orders at the time the report was generated.
- FinalBudget
Budget of the trading strategy at the time the report was generated.
- FinalValue
Valuation of the FinalBudget in terms of PrimaryAsset at the time the report was generated. Note that TotalReservationsValue and TotalFeesValue are included in this value.
- InitialBudget
Initial budget of the trading strategy.
- InitialValue
Valuation of the InitialBudget in terms of PrimaryAsset at the StartTime.
- PrimaryAsset
Name of the primary asset that is used to calculate profits and losses.
- Reservations
Cumulative reservations for pending and active orders at the time the report was generated. The reservations are the funds that are allocated from the budget for the orders that are pending (i.e. in process of being placed on the exchange) and for the orders that are currently open on the exchange.
- StartTime
UTC time of the start of the period that the report covers.
- StrategyName
Name of the trading strategy.
- TotalFeesValue
Total value of paid fees in terms of PrimaryAsset at the time the report was generated.
- TotalProfit
Difference between FinalValue and InitialValue with addition of TotalReservationsValue.
- TotalReservationsValue
Total value of active reservations in terms of PrimaryAsset at the time the report was generated.
Methods
- EpsilonEquals(BudgetReport)
Determines whether two specified budget reports have the same value with allowing for up to WhalesSecret.TradeScriptLib.API.TradingV1.Budget.BudgetReport.Epsilon differences.
- Equals(object?)
Determines whether the specified object is equal to the current object.
- Equals(BudgetReport?)
Indicates whether the current object is equal to another object of the same type.
- GetHashCode()
Serves as the default hash function.
- ToString()
Returns a string that represents the current object.
Operators
- operator ==(BudgetReport?, BudgetReport?)
Determines whether two specified budget reports have the same value.
- operator !=(BudgetReport?, BudgetReport)
Determines whether two specified budget reports have different values.