Fixed bug in calling wallet balancer after a successful liquidation.
This commit is contained in:
parent
ff80a085da
commit
f56ba03f3e
|
@ -2,7 +2,7 @@
|
|||
"cells": [
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "conservative-berry",
|
||||
"id": "private-failure",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"# ⚠ Warning\n",
|
||||
|
@ -16,7 +16,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "failing-germany",
|
||||
"id": "protected-label",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"# 🥭 PollingLiquidator\n",
|
||||
|
@ -27,7 +27,7 @@
|
|||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "boring-driving",
|
||||
"id": "judicial-vector",
|
||||
"metadata": {
|
||||
"jupyter": {
|
||||
"source_hidden": true
|
||||
|
@ -47,7 +47,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "civic-honduras",
|
||||
"id": "violent-armenia",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"# PollingLiquidator class\n",
|
||||
|
@ -69,7 +69,7 @@
|
|||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "champion-maryland",
|
||||
"id": "institutional-waters",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
|
@ -151,12 +151,12 @@
|
|||
" changes = TokenValue.changes(balances_before, balances_after)\n",
|
||||
" TokenValue.report(self.logger.info, changes)\n",
|
||||
"\n",
|
||||
" self.wallet_balancer(prices)\n"
|
||||
" self.wallet_balancer.balance(prices)\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "homeless-directory",
|
||||
"id": "unlikely-limit",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"# 🏃 Running"
|
||||
|
@ -165,7 +165,7 @@
|
|||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "entertaining-software",
|
||||
"id": "wanted-arbitration",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
|
|
Loading…
Reference in New Issue