From 50e0dd808618858e1c0f501fc18fcd9821827619 Mon Sep 17 00:00:00 2001 From: Kamil Skowron Date: Wed, 3 Jul 2024 14:44:35 +0200 Subject: [PATCH] Fix to backticks (reported in #39) --- 17-mox-rocks.Rmd | 8 ++++---- 21-layers-of-abstraction.Rmd | 2 +- 23-back-to-the-monolith.Rmd | 2 +- docs/404.html | 2 +- docs/abstract-duplicated-supervision-code.html | 2 +- ...rt-for-multiple-transactions-per-order.html | 2 +- docs/back-to-the-monolith.html | 12 ++++++------ docs/backtest-trading-strategy.html | 2 +- ...gle-trader-process-without-supervision.html | 2 +- ...e-parallel-trading-on-multiple-symbols.html | 2 +- docs/end-to-end-testing.html | 2 +- .../fine-tune-trading-strategy-per-symbol.html | 2 +- docs/functional-elixir.html | 2 +- docs/idiomatic-otp.html | 2 +- docs/idiomatic-trading-strategy.html | 2 +- docs/index.html | 2 +- ...o-make-a-single-trader-more-profitable.html | 2 +- ...er-budget-and-calculating-the-quantity.html | 2 +- ...oduce-pubsub-as-a-communication-method.html | 2 +- docs/layers-of-abstraction.html | 18 +++++++++--------- docs/mock-the-binance-api.html | 2 +- docs/mox-rocks.html | 18 +++++++++--------- docs/run-multiple-traders-in-parallel.html | 2 +- ...rt-stop-shutdown-and-autostart-trading.html | 2 +- ...-events-and-orders-inside-the-database.html | 6 +++--- ...tocurrency-prices-from-the-binance-wss.html | 2 +- docs/supervise-and-autostart-streaming.html | 2 +- docs/win-with-pure-logic.html | 2 +- 28 files changed, 54 insertions(+), 54 deletions(-) diff --git a/17-mox-rocks.Rmd b/17-mox-rocks.Rmd index b7a114b..4ca4d7d 100644 --- a/17-mox-rocks.Rmd +++ b/17-mox-rocks.Rmd @@ -268,7 +268,7 @@ We are moving on to the configuration. As the `Naive.Leader` wasn't part of the First, let's add the `:leader` key inside the `config :naive` in the default `/config/config.exs` configuration file: - ```{r, engine = 'elixir', eval = FALSE} +```{r, engine = 'elixir', eval = FALSE} # /config/config.exs ... config :naive, @@ -279,7 +279,7 @@ config :naive, and then we need to apply the same update to the `/config/test.exs` configuration file(it will point to the module generated by the `mox` package - `Test.Naive.LeaderMock`): - ```{r, engine = 'elixir', eval = FALSE} +```{r, engine = 'elixir', eval = FALSE} # /config/test.exs ... config :naive, @@ -347,7 +347,7 @@ In the above code, we've told the `mox` package to define the `Test.PubSubMock` The final step will be to append the `:core, :pubsub_client` configuration to the `/config/config.exs` file: - ```{r, engine = 'elixir', eval = FALSE} +```{r, engine = 'elixir', eval = FALSE} # /config/config.exs config :core, # <= added pubsub_client: Phoenix.PubSub # <= added @@ -355,7 +355,7 @@ config :core, # <= added and the test `/config/test.exs` configuration file: - ```{r, engine = 'elixir', eval = FALSE} +```{r, engine = 'elixir', eval = FALSE} # /config/test.exs config :core, # <= added pubsub_client: Test.PubSubMock # <= added diff --git a/21-layers-of-abstraction.Rmd b/21-layers-of-abstraction.Rmd index 12277fa..2ff87d9 100644 --- a/21-layers-of-abstraction.Rmd +++ b/21-layers-of-abstraction.Rmd @@ -522,7 +522,7 @@ As the behaviour's interface(public functions) differs from the `Binance` module As of now, we will deal only with the `Exchange.Order` structs instead a pair of `Binance.OrderResponse` and `Binance.Order`, we can simplify the existing two clauses of `broadcast_order/1` into a single one(and remove the `convert_to_order/1` function): - ```{r, engine = 'elixir', eval = FALSE} +```{r, engine = 'elixir', eval = FALSE} # /apps/naive/lib/naive/strategy.ex defp broadcast_order(%Exchange.Order{} = order) do @pubsub_client.broadcast( diff --git a/23-back-to-the-monolith.Rmd b/23-back-to-the-monolith.Rmd index 6cf909e..d74a3db 100644 --- a/23-back-to-the-monolith.Rmd +++ b/23-back-to-the-monolith.Rmd @@ -359,7 +359,7 @@ config :hedgehog, We need to add a couple of new dependencies that the streaming code is using: - ```{r, engine = 'elixir', eval = FALSE} +```{r, engine = 'elixir', eval = FALSE} # /mix.exs defp deps do [ diff --git a/docs/404.html b/docs/404.html index 4498c14..72032b4 100644 --- a/docs/404.html +++ b/docs/404.html @@ -64,7 +64,7 @@