* Add synthApi * Put confidence for Synth proba * Update the code * Update readme * Fix bootstraping * fix github build * Update the endpoints for scenario * Add scenario and update backtest modal * Update bot modal * Update interfaces for synth * add synth to backtest * Add Kelly criterion and better signal * Update signal confidence * update doc * save leaderboard and prediction * Update nswag to generate ApiClient in the correct path * Unify the trading modal * Save miner and prediction * Update messaging and block new signal until position not close when flipping off * Rename strategies to indicators * Update doc * Update chart + add signal name * Fix signal direction * Update docker webui * remove crypto npm * Clean
13 lines
420 B
C#
13 lines
420 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using Managing.Common;
|
|
|
|
namespace Managing.Api.Models.Requests;
|
|
|
|
public class MoneyManagementRequest
|
|
{
|
|
[Required] public string Name { get; set; }
|
|
[Required] public Enums.Timeframe Timeframe { get; set; }
|
|
[Required] public decimal StopLoss { get; set; }
|
|
[Required] public decimal TakeProfit { get; set; }
|
|
[Required] public decimal Leverage { get; set; }
|
|
} |