|
| BinanceUSBrokerageModel (AccountType accountType=AccountType.Cash) |
| Initializes a new instance of the BinanceBrokerageModel class More...
|
|
override decimal | GetLeverage (Security security) |
| Binance global leverage rule More...
|
|
| BinanceBrokerageModel (AccountType accountType=AccountType.Cash) |
| Initializes a new instance of the BinanceBrokerageModel class More...
|
|
override IBenchmark | GetBenchmark (SecurityManager securities) |
| Get the benchmark for this model More...
|
|
override IFeeModel | GetFeeModel (Security security) |
| Provides Binance fee model More...
|
|
override bool | CanUpdateOrder (Security security, Order order, UpdateOrderRequest request, out BrokerageMessageEvent message) |
| Binance does not support update of orders More...
|
|
override bool | CanSubmitOrder (Security security, Order order, out BrokerageMessageEvent message) |
| Returns true if the brokerage could accept this order. This takes into account order type, security type, and order size limits. More...
|
|
| DefaultBrokerageModel (AccountType accountType=AccountType.Margin) |
| Initializes a new instance of the DefaultBrokerageModel class More...
|
|
virtual bool | CanExecuteOrder (Security security, Order order) |
| Returns true if the brokerage would be able to execute this order at this time assuming market prices are sufficient for the fill to take place. This is used to emulate the brokerage fills in backtesting and paper trading. For example some brokerages may not perform executions during extended market hours. This is not intended to be checking whether or not the exchange is open, that is handled in the Security.Exchange property. More...
|
|
virtual void | ApplySplit (List< OrderTicket > tickets, Split split) |
| Applies the split to the specified order ticket More...
|
|
virtual IFillModel | GetFillModel (Security security) |
| Gets a new fill model that represents this brokerage's fill behavior More...
|
|
virtual ISlippageModel | GetSlippageModel (Security security) |
| Gets a new slippage model that represents this brokerage's fill slippage behavior More...
|
|
virtual ISettlementModel | GetSettlementModel (Security security) |
| Gets a new settlement model for the security More...
|
|
ISettlementModel | GetSettlementModel (Security security, AccountType accountType) |
| Gets a new settlement model for the security More...
|
|
virtual IBuyingPowerModel | GetBuyingPowerModel (Security security) |
| Gets a new buying power model for the security, returning the default model with the security's configured leverage. For cash accounts, leverage = 1 is used. More...
|
|
virtual IShortableProvider | GetShortableProvider (Security security) |
| Gets the shortable provider More...
|
|
virtual IMarginInterestRateModel | GetMarginInterestRateModel (Security security) |
| Gets a new margin interest rate model for the security More...
|
|
IBuyingPowerModel | GetBuyingPowerModel (Security security, AccountType accountType) |
| Gets a new buying power model for the security More...
|
|
|
static bool | IsValidOrderSize (Security security, decimal orderQuantity, out BrokerageMessageEvent message) |
| Checks if the order quantity is valid, it means, the order size is bigger than the minimum size allowed More...
|
|
virtual decimal | RequiredFreeBuyingPowerPercent => 0m |
| Gets the brokerages model percentage factor used to determine the required unused buying power for the account. From 1 to 0. Example: 0 means no unused buying power is required. 0.5 means 50% of the buying power should be left unused. More...
|
|
static readonly IReadOnlyDictionary< SecurityType, string > | DefaultMarketMap |
| The default markets for the backtesting brokerage More...
|
|
static IReadOnlyDictionary< SecurityType, string > | GetDefaultMarkets (string marketName) |
| Returns a readonly dictionary of binance default markets More...
|
|
Provides Binance.US specific properties
Definition at line 25 of file BinanceUSBrokerageModel.cs.