問題タブ [ccxt]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
python - Is it possible to append lines of code outside a specific function in Python3?
I'm trying to fetch the orderbooks of crypto exchanges how support a specific pair (for example ETH/BTC). Because my function needs to run every minute it's very time consuming to check this every time. I'm using ccxt to fetch the orderbooks of the exchanges.
With this lines of code I check every exchange.
Now I need to add the first line of all the try-blocks if they can exetude. Is this possible in python?