Bitcoin Cash Robot
5 stars based on
78 reviews
The most supported exchanges are as follows:. As Catalyst is currently in Alpha and in under active development, you are encouraged to throughly test wo handel ich bitcoins algo trading exchange in paper trading mode before trading live with it.
Catalyst currently supports three different modes in which you can execute your trading algorithm. The first is backtestingwhich is covered extensively in the tutorial, and uses historical data to run your algorithm. There wo handel ich bitcoins algo trading no interaction with the exchange in backtesting mode, and this is the first mode that you should test any new algorithm.
Once you are confident with the simulations that you have obtained with your algorithm in backtesting, you may switch to live trading, where you have two different modes:. By convention, Catalyst uses an auth. This example illustrates the convention using the Bitfinex exchange. Here is how to generate key and secret values for the Bitfinex exchange: Most exchanges follow a similar process. The file goes here: Attempting to run an algorithm where the targeted exchange wo handel ich bitcoins algo trading missing its auth.
Catalyst introduces a universal convention to reference trading pairs and individual currencies. This is required to ensure that the symbol api predictably returns the correct asset regardless of the targeted exchange.
Exchanges tend to use their own convention to represent currencies e. Trading pairs are also inconsistent. For example, Bitfinex puts the market currency before the base currency without a separator, Bittrex puts the base currency first and uses a dash seperator. Note that the trading pairs are always referenced in the same manner. However, not all trading pairs are available on all exchanges. An error will occur if the specified trading pair is not trading on the exchange.
To check which currency pairs are available on each of the supported exchanges, see Catalyst Market Coverage. There is no special convention to follow when writing an algorithm for live trading. The same algorithm should work in backtest and live execution mode without modification. Here is the same example in both interfaces:. In live mode, each call to handle data saves the state of the algorithm. Any information added to the context.
During algorithm restart, the wo handel ich bitcoins algo trading is restored if exists in the initialization function. The catalyst live command offers additional parameters. You can learn more by running the following from the command line:. Here is a complete algorithm for reference: Buy Low and Sell High. The most supported exchanges are as follows: The exchanges available for backtesting are fully supported in live mode: Once you are confident with the simulations that you have obtained with your algorithm in backtesting, you may switch to live trading, wo handel ich bitcoins algo trading you have two different modes: The simulated algorithm runs in real time, and fetches pricing data in real time from the exchange, but the orders never reach the exchange, and are instead kept within Catalyst and simulated.
No real currency is bought or sold. Think of it as a backtesting happening in real time. This is the proper live trading mode in which an algorithm runs in real time, fetching pricing data from live exchanges and placing orders against the exchange. Real currency is transacted on the exchange driven by the algorithm. These three modes are controlled by the following variables: Here is the Catalyst convention: Here are some examples: Here is the same example in both interfaces: Cleaning the state can be achieved by running: