Sviluppo TradingBot

This commit is contained in:
2026-06-09 18:29:41 +02:00
parent 61f1e59964
commit e3c0bd51b2
133 changed files with 24903 additions and 1 deletions
@@ -0,0 +1,8 @@
public async Task<decimal> GetAvailableEquityAsync()
{
// Recupera le informazioni del conto
IAccount account = await _tradingClient.GetAccountAsync();
// Ritorna il valore totale del portafoglio o la liquidità disponibile
return account.Equity;
}