-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feature] Add OnStatusReceived to Websocket Feed
- Loading branch information
1 parent
5fcde27
commit 8503ffe
Showing
8 changed files
with
168 additions
and
4 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
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
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
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,84 @@ | ||
namespace CoinbasePro.WebSocket.Models.Response | ||
{ | ||
public class Status : BaseMessage | ||
{ | ||
public Product[] Products { get; set; } | ||
|
||
public Currency[] Currencies { get; set; } | ||
} | ||
|
||
public class Currency | ||
{ | ||
public string Id { get; set; } | ||
|
||
public string Name { get; set; } | ||
|
||
public decimal MinSize { get; set; } | ||
|
||
public string Status { get; set; } | ||
|
||
public string StatusMessage { get; set; } | ||
|
||
public decimal MaxPrecision { get; set; } | ||
|
||
public string[] ConvertibleTo { get; set; } | ||
|
||
public Details Details { get; set; } | ||
} | ||
|
||
public class Details | ||
{ | ||
public string Type { get; set; } | ||
|
||
public string Symbol { get; set; } | ||
|
||
public int NetworkConfirmations { get; set; } | ||
|
||
public int SortOrder { get; set; } | ||
|
||
public string CryptoAddressLink { get; set; } | ||
|
||
public string CryptoTransactionLink { get; set; } | ||
|
||
public string[] PushPaymentMethods { get; set; } | ||
|
||
public long? MaxWithdrawalAmount { get; set; } | ||
|
||
public string[] GroupTypes { get; set; } | ||
|
||
public string DisplayName { get; set; } | ||
} | ||
|
||
public class Product | ||
{ | ||
public string Id { get; set; } | ||
|
||
public string BaseCurrency { get; set; } | ||
|
||
public string QuoteCurrency { get; set; } | ||
|
||
public decimal BaseMinSize { get; set; } | ||
|
||
public decimal BaseMaxSize { get; set; } | ||
|
||
public decimal BaseIncrement { get; set; } | ||
|
||
public decimal QuoteIncrement { get; set; } | ||
|
||
public string DisplayName { get; set; } | ||
|
||
public string Status { get; set; } | ||
|
||
public string StatusMessage { get; set; } | ||
|
||
public decimal MinMarketFunds { get; set; } | ||
|
||
public decimal MaxMarketFunds { get; set; } | ||
|
||
public bool PostOnly { get; set; } | ||
|
||
public bool LimitOnly { get; set; } | ||
|
||
public bool CancelOnly { get; set; } | ||
} | ||
} |
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
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 |
---|---|---|
|
@@ -18,6 +18,7 @@ public enum ResponseType | |
LastMatch, | ||
Change, | ||
Activate, | ||
Error | ||
Error, | ||
Status | ||
} | ||
} |
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
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