Update SDK (#35)
* Update SDK for swap * Fix web3proxy build * Update types * Fix swap * Send token test and BASE transfer * fix cache and hook * Fix send * Update health check with uiFeereceiver * Fix sdk * Fix get positions * Fix timeoutloop * Fix open position * Fix closes positions * Review
This commit is contained in:
@@ -15,6 +15,11 @@ public interface ICandleStoreGrain : IGrainWithStringKey
|
||||
/// </summary>
|
||||
/// <returns>List of candles ordered by date</returns>
|
||||
Task<HashSet<Candle>> GetCandlesAsync();
|
||||
Task<Candle> GetLastCandle();
|
||||
/// <summary>
|
||||
/// Gets the X latest candles from the store
|
||||
/// </summary>
|
||||
/// <param name="count">Number of latest candles to retrieve (default: 1)</param>
|
||||
/// <returns>List of the X latest candles ordered by date</returns>
|
||||
Task<List<Candle>> GetLastCandle(int count = 1);
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ public interface IMessengerService
|
||||
Timeframe timeframe);
|
||||
|
||||
Task SendPosition(Position position);
|
||||
Task SendClosingPosition(Position position);
|
||||
void SendClosingPosition(Position position);
|
||||
Task SendMessage(string message);
|
||||
Task SendMessage(string message, string channelId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user