-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
120 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
using CryptoExchange.Net.Attributes; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace Mexc.Net.Enums | ||
{ | ||
/// <summary> | ||
/// Symbol status | ||
/// </summary> | ||
public enum SymbolStatus | ||
{ | ||
/// <summary> | ||
/// Trading is enabled | ||
/// </summary> | ||
[Map("1")] | ||
Enabled, | ||
/// <summary> | ||
/// Trading is paused | ||
/// </summary> | ||
[Map("2")] | ||
Paused, | ||
/// <summary> | ||
/// Symbol is offline | ||
/// </summary> | ||
[Map("3")] | ||
Offline | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
using CryptoExchange.Net.Attributes; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace Mexc.Net.Enums | ||
{ | ||
/// <summary> | ||
/// Trade side enabled status | ||
/// </summary> | ||
public enum TradeSidesStatus | ||
{ | ||
/// <summary> | ||
/// Both buying and selling are enabled | ||
/// </summary> | ||
[Map("1")] | ||
AllEnabled, | ||
/// <summary> | ||
/// Only buying is enabled | ||
/// </summary> | ||
[Map("2")] | ||
BuyEnabled, | ||
/// <summary> | ||
/// Only selling is enabled | ||
/// </summary> | ||
[Map("3")] | ||
SellEnabled, | ||
/// <summary> | ||
/// Not enabled | ||
/// </summary> | ||
[Map("4")] | ||
NoneEnabled | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters