docker files fixes from liaqat
This commit is contained in:
343
src/Managing.Common/Enums.cs
Normal file
343
src/Managing.Common/Enums.cs
Normal file
@@ -0,0 +1,343 @@
|
||||
namespace Managing.Common;
|
||||
|
||||
public static class Enums
|
||||
{
|
||||
public enum TradingExchanges
|
||||
{
|
||||
Binance,
|
||||
Kraken,
|
||||
Ftx,
|
||||
Evm
|
||||
}
|
||||
|
||||
public enum GmxOrderType
|
||||
{
|
||||
Increase,
|
||||
Decrease,
|
||||
Swap
|
||||
}
|
||||
|
||||
public enum SubgraphProvider
|
||||
{
|
||||
UniswapV2,
|
||||
ChainlinkPrice,
|
||||
ChainlinkGmx,
|
||||
Gbc
|
||||
}
|
||||
|
||||
public enum WorkerAction
|
||||
{
|
||||
Start,
|
||||
Stop
|
||||
}
|
||||
|
||||
public enum AccountType
|
||||
{
|
||||
Cex,
|
||||
Trader,
|
||||
Watch,
|
||||
Auth
|
||||
}
|
||||
|
||||
public enum BotType
|
||||
{
|
||||
SimpleBot,
|
||||
ScalpingBot,
|
||||
FlippingBot
|
||||
}
|
||||
|
||||
public enum StrategyType
|
||||
{
|
||||
RsiDivergence,
|
||||
RsiDivergenceConfirm,
|
||||
MacdCross,
|
||||
EmaCross,
|
||||
ThreeWhiteSoldiers,
|
||||
SuperTrend,
|
||||
ChandelierExit,
|
||||
EmaTrend,
|
||||
Composite,
|
||||
StochRsiTrend,
|
||||
Stc,
|
||||
StDev
|
||||
}
|
||||
|
||||
public enum SignalType
|
||||
{
|
||||
Signal,
|
||||
Trend,
|
||||
Context
|
||||
}
|
||||
|
||||
public enum BotStatus
|
||||
{
|
||||
Down,
|
||||
Starting,
|
||||
Up
|
||||
}
|
||||
|
||||
public enum SignalStatus
|
||||
{
|
||||
WaitingForPosition,
|
||||
PositionOpen,
|
||||
Expired
|
||||
}
|
||||
|
||||
public enum Confidence
|
||||
{
|
||||
Low,
|
||||
Medium,
|
||||
High,
|
||||
None
|
||||
}
|
||||
|
||||
public enum TradeDirection
|
||||
{
|
||||
None,
|
||||
Short,
|
||||
Long
|
||||
}
|
||||
|
||||
public enum RiskLevel
|
||||
{
|
||||
Low,
|
||||
Medium,
|
||||
High,
|
||||
Adaptive
|
||||
}
|
||||
|
||||
public enum TradeType
|
||||
{
|
||||
//
|
||||
// Summary:
|
||||
// Limit order
|
||||
Limit = 0,
|
||||
//
|
||||
// Summary:
|
||||
// Symbol order
|
||||
Market = 1,
|
||||
//
|
||||
// Summary:
|
||||
// Stop market order
|
||||
StopMarket = 2,
|
||||
//
|
||||
// Summary:
|
||||
// Stop limit order
|
||||
StopLimit = 3,
|
||||
//
|
||||
// Summary:
|
||||
// Stop loss order
|
||||
StopLoss = 4,
|
||||
//
|
||||
// Summary:
|
||||
// Take profit order
|
||||
TakeProfit = 5,
|
||||
//
|
||||
// Summary:
|
||||
// Stop loss profit order
|
||||
StopLossProfit = 6,
|
||||
//
|
||||
// Summary:
|
||||
// Stop loss profit limit order
|
||||
StopLossProfitLimit = 7,
|
||||
//
|
||||
// Summary:
|
||||
// Stop loss limit order
|
||||
StopLossLimit = 8,
|
||||
//
|
||||
// Summary:
|
||||
// Take profit limit order
|
||||
TakeProfitLimit = 9,
|
||||
//
|
||||
// Summary:
|
||||
// Trailing stop order
|
||||
TrailingStop = 10,
|
||||
//
|
||||
// Summary:
|
||||
// Trailing stop limit order
|
||||
TrailingStopLimit = 11,
|
||||
//
|
||||
// Summary:
|
||||
// Stop loss and limit order
|
||||
StopLossAndLimit = 12,
|
||||
//
|
||||
// Summary:
|
||||
// Settle position
|
||||
SettlePosition = 13
|
||||
}
|
||||
|
||||
public enum TradeStatus
|
||||
{
|
||||
PendingOpen = 0,
|
||||
Requested = 1,
|
||||
Cancelled = 2,
|
||||
Filled = 3,
|
||||
}
|
||||
|
||||
public enum PositionStatus
|
||||
{
|
||||
New = 0,
|
||||
Canceled = 1,
|
||||
Rejected = 2,
|
||||
Updating = 3,
|
||||
PartiallyFilled = 4,
|
||||
Filled = 5,
|
||||
Flipped = 6,
|
||||
Finished = 7
|
||||
}
|
||||
|
||||
public enum PositionInitiator
|
||||
{
|
||||
PaperTrading,
|
||||
Bot,
|
||||
User,
|
||||
CopyTrading
|
||||
}
|
||||
|
||||
public enum Timeframe
|
||||
{
|
||||
/// <summary>
|
||||
/// 5m
|
||||
/// </summary>
|
||||
FiveMinutes,
|
||||
/// <summary>
|
||||
/// 15m
|
||||
/// </summary>
|
||||
FifteenMinutes,
|
||||
/// <summary>
|
||||
/// 30m
|
||||
/// </summary>
|
||||
ThirtyMinutes,
|
||||
/// <summary>
|
||||
/// 1h
|
||||
/// </summary>
|
||||
OneHour,
|
||||
/// <summary>
|
||||
/// 4h
|
||||
/// </summary>
|
||||
FourHour,
|
||||
/// <summary>
|
||||
/// 1d
|
||||
/// </summary>
|
||||
OneDay,
|
||||
}
|
||||
|
||||
public enum Ticker
|
||||
{
|
||||
ADA,
|
||||
APE,
|
||||
ALICE,
|
||||
ALGO,
|
||||
ATOM,
|
||||
AVAX,
|
||||
AXS,
|
||||
BAT,
|
||||
BNB,
|
||||
BTC,
|
||||
BAL,
|
||||
C98,
|
||||
CHR,
|
||||
CHZ,
|
||||
COMP,
|
||||
CRO,
|
||||
CRV,
|
||||
CVC,
|
||||
DEFI,
|
||||
DOGE,
|
||||
DOT,
|
||||
DYDX,
|
||||
ENS,
|
||||
ETC,
|
||||
ETH,
|
||||
FIL,
|
||||
FLM,
|
||||
FTM,
|
||||
GALA,
|
||||
GMT,
|
||||
GMX,
|
||||
GRT,
|
||||
HNT,
|
||||
IMX,
|
||||
JASMY,
|
||||
KAVA,
|
||||
KSM,
|
||||
LDO,
|
||||
LINK,
|
||||
LOOKS,
|
||||
LRC,
|
||||
LTC,
|
||||
MANA,
|
||||
MATIC,
|
||||
MKR,
|
||||
NEAR,
|
||||
NEO,
|
||||
OMG,
|
||||
ONE,
|
||||
ONT,
|
||||
QTUM,
|
||||
REEF,
|
||||
REN,
|
||||
ROSE,
|
||||
RSR,
|
||||
RUNE,
|
||||
SAND,
|
||||
SOL,
|
||||
SRM,
|
||||
STMX,
|
||||
SUSHI,
|
||||
SXP,
|
||||
THETA,
|
||||
UNI,
|
||||
USDC,
|
||||
USDT,
|
||||
VET,
|
||||
WAVES,
|
||||
XMR,
|
||||
XRP,
|
||||
XTZ,
|
||||
YFI,
|
||||
ZEC,
|
||||
ZIL
|
||||
}
|
||||
|
||||
public enum WorkerType
|
||||
{
|
||||
PriceOneMinute,
|
||||
PriceFiveMinutes,
|
||||
PriceFifteenMinutes,
|
||||
PriceThirtyMinutes,
|
||||
PriceOneHour,
|
||||
PriceFourHour,
|
||||
PriceOneDay,
|
||||
TopVolumeTicker,
|
||||
PositionManager,
|
||||
Spotlight,
|
||||
Fee,
|
||||
PositionFetcher,
|
||||
TraderWatcher,
|
||||
LeaderboardWorker,
|
||||
Noobiesboard
|
||||
}
|
||||
|
||||
public enum WorkflowUsage
|
||||
{
|
||||
Trading,
|
||||
Task
|
||||
}
|
||||
|
||||
public enum FlowType
|
||||
{
|
||||
RsiDivergence,
|
||||
FeedTicker,
|
||||
OpenPosition
|
||||
}
|
||||
|
||||
public enum FlowOutput
|
||||
{
|
||||
Signal,
|
||||
Candles,
|
||||
Position,
|
||||
MoneyManagement
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user