generated from bmresearch/solnet-programs-template
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adds the decoded events to the fills feed (+1 squashed commits) Squashed commits: [5189ee7] WIP: Adds fills websocket feed (cherry picked from commit 0c7bb97916347684a16d25dd49452ef4d128dcc6) * Version bump
- Loading branch information
1 parent
1d0ee68
commit d6af986
Showing
6 changed files
with
321 additions
and
11 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
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,51 @@ | ||
using Solnet.Mango.Models.Events; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Solnet.Mango.Historical.Models | ||
{ | ||
/// <summary> | ||
/// Represents a fills event from the websocket connection to the Mango Fills Service. | ||
/// <remarks>For more information: https://docs.mango.markets/development-resources/client-libraries/fills-websocket-feed</remarks> | ||
/// </summary> | ||
public class FillsEvent | ||
{ | ||
/// <summary> | ||
/// The event. | ||
/// </summary> | ||
public string Event { get; set; } | ||
|
||
/// <summary> | ||
/// The decoded event. | ||
/// </summary> | ||
public FillEvent DecodedEvent { get; set; } | ||
|
||
/// <summary> | ||
/// The market name. | ||
/// </summary> | ||
public string Market { get; set; } | ||
|
||
/// <summary> | ||
/// The market's event queue. | ||
/// </summary> | ||
public string Queue { get; set; } | ||
|
||
/// <summary> | ||
/// The status of the event. | ||
/// </summary> | ||
public string Status { get; set; } | ||
|
||
/// <summary> | ||
/// The slot of the event. | ||
/// </summary> | ||
public ulong Slot { get; set; } | ||
|
||
/// <summary> | ||
/// The write version. | ||
/// </summary> | ||
public int WriteVersion { get; set; } | ||
} | ||
} |
Oops, something went wrong.