BitcoinMule
An algotrading bot to trade on cryptocurrencies using the CoinDCX api
Install / Use
npx skills add imnotaqtpie/BitcoinMuleInstalls into whichever agent you are using.
README
BitcoinMule
BitcoinMule is an algo-trading bot to trade cryptocurrency pairs on the coinDCX exchange.
Installation
Fork to local machine and add the folder to your pythonpath. Will be adding an installation functionality when possible.
Usage
Simulation Mode
"symbol" : currency_pair_name,
"data_path" : path_of_historical_ohlc_data,
"log_path" : path_for_output_of_log_files,
"granularity" : ohlc_time_frame_in_minutes,
"start_time" : start_date_in_DD-MM-YYYY_format,
"stop_time" : stop_date_in_DD-MM-YYYY_format,
"signal_mode" : signal_mode_to_use,
"args" : {relevant_arguments_for_signal}
"target" : target_profit_for_squareoff_in_%,
"stop" : target_max_loss_for_squareoff_in_%,
"trail" : target_trailed_loss_for_squareoff_in_%,
"portfolio_stop" : max_loss_to_stop_strategy,
"initial_resource" : starting_capital
Once the relevant configs have been filled in the backtest_config.json file, simply run the run_backtest.py file.
###Live mode
"symbol" : currency_pair_name,
"base_log_path" : path_for_output_of_log_files,
"granularity" : ohlc_time_frame_(1m,5m,1H,1D,1W),
"signal_mode" : signal_mode_to_use,
"args" : {relevant_arguments_for_signal}
"run_mode" : Paper/Live(For paper trading or live trading respectively)
"target" : target_profit_for_squareoff_in_%,
"stop" : target_max_loss_for_squareoff_in_%,
"trail" : target_trailed_loss_for_squareoff_in_%,
"run_interval" : time_in_seconds_for_next_action
- Add these to the trade_config.json file.
- Populate the Common/not_secret_info.py file with your api credentials.
- Run trade.py.
- Make/(mostly lose) money
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Disclaimar
This is a for fun project which provides the basic infrastructure to create your own algo-trading bot. Do not expect to just run and make money out of this. Feel free to add your own strategies and writing your own signal_generators and indicators.
Related Skills
node-connect
385.5kDiagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
blender-python-addon
40.5kBlender Python add-on rules for operators, panels, properties, registration, testing, and API-safe scripting
flutter-development-guidelines-cursorrules-prompt-file
40.5kCursor rules for Flutter development with MVVM architecture, Riverpod state management, Material widgets, and Dart style guidelines.
commit-push-pr
140.7kCommit, push, and open a PR
