Skip to content

Commit

Permalink
Merge pull request #1 from schickst/master
Browse files Browse the repository at this point in the history
Fix get_candles
  • Loading branch information
pawelkn authored Nov 20, 2024
2 parents a924a40 + 48dcac4 commit 971d706
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ impl Stream {
pub async fn get_candles(&self, symbol: &str) -> Result<(), Error> {
self.conn
.request(&format!(
"{{\"command\":\"getCandles\",\"streamSessionId\":\"{}\",\"symbol\":\"{symbol}\"}}",
self.stream_session_id
"{{\"command\":\"getCandles\",\"streamSessionId\":\"{}\",\"symbol\":\"{}\"}}",
self.stream_session_id, symbol
))
.await
}
Expand Down

0 comments on commit 971d706

Please sign in to comment.