diff --git a/src/client/spark_historical/Notebooks/.ipynb_checkpoints/roll_query-checkpoint.ipynb b/src/client/spark_historical/Notebooks/.ipynb_checkpoints/roll_query-checkpoint.ipynb index 555d7869b..fedce76fa 100644 --- a/src/client/spark_historical/Notebooks/.ipynb_checkpoints/roll_query-checkpoint.ipynb +++ b/src/client/spark_historical/Notebooks/.ipynb_checkpoints/roll_query-checkpoint.ipynb @@ -324,13 +324,16 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ "var fill_model = new FIFOFillModel();\n", - "await fill_model.set_exchange_orders(exchange_orders);\n", - "await fill_model.set_my_orders(algo_orders);\n", + "await Task.WhenAll( new [] \n", + "{\n", + " fill_model.set_exchange_orders_async(exchange_orders), \n", + " fill_model.set_and_sort_my_orders_async(algo_orders)\n", + "});\n", "\n", "//var fills = model_passive_fills()\n", "\n", diff --git a/src/client/spark_historical/Notebooks/roll_query.ipynb b/src/client/spark_historical/Notebooks/roll_query.ipynb index 555d7869b..fedce76fa 100644 --- a/src/client/spark_historical/Notebooks/roll_query.ipynb +++ b/src/client/spark_historical/Notebooks/roll_query.ipynb @@ -324,13 +324,16 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ "var fill_model = new FIFOFillModel();\n", - "await fill_model.set_exchange_orders(exchange_orders);\n", - "await fill_model.set_my_orders(algo_orders);\n", + "await Task.WhenAll( new [] \n", + "{\n", + " fill_model.set_exchange_orders_async(exchange_orders), \n", + " fill_model.set_and_sort_my_orders_async(algo_orders)\n", + "});\n", "\n", "//var fills = model_passive_fills()\n", "\n",