-
Okay, so I've managed to create nonsensical instrument by making typos and interrupting with Ctrl+C in the wrong place. Interactive Diagnostic show I have instrument named 'C\x08', which causes update_sampled_contracts to fail. I cannot delete it with Interactive Control, as it is not in the list of valid instruments. So how can I remove this entry from the db? Your choice? 6 Your choice? 60 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
This doesn't solve your immediate problem, but one way this could be addressed in the code... Wherever existing data is used to produce a list of instruments, that list should be the intersection of the data and the instrument config. So any garbage instruments that exist in the data would just be ignored if they aren't also in the config. There might be a few exceptions: diagnostics, deleting. Although that could easily be worked around by just adding a temporary config record. |
Beta Was this translation helpful? Give feedback.
I found it and got rid of it, here's how: