This is in response to the Pure debacle of May 17th. CME changed the MSGW used for certain products. As we only route orders once, when they are created, any orders that already existed never transitioned to the new MSGW. This made it so that users could no longer control these orders. With this change we recalculate routes when the orders are first loaded from disk. Assuming we have up to date securities, something that sometimes does not happen unfortunately, this should result in the order being automatically relocated to its new MSGW. As a bonus we also get the hability to change MSGW configuration even if there are working for that MSGW.
10 lines
299 B
Bash
Executable File
10 lines
299 B
Bash
Executable File
#!/bin/bash
|
|
BUILD=clang_debug
|
|
BUILD_LOC=/home/ppinto/temp/spark_build
|
|
if [ -f /.dockerenv ]; then
|
|
cd $BUILD_LOC/$BUILD && ninja
|
|
else
|
|
cid=`docker ps | grep -P "emacs_ide|bluetradingsystems/linux_docker" | awk '{print $1}'`
|
|
docker exec $cid /bin/bash -c "cd $BUILD_LOC/$BUILD && ninja"
|
|
fi
|