Binarycr
Trading bot for Deriv.com
Installation
crystal build src/binarycr.cr --release
Parameters
--token=xxx
Is your Token from deriv.com
--application=xxx
Is your APP number from deriv.com
--duration=1
That is the number of ticks to wait between trades
--trade_amount=1
Amount of dollars on each trade
--wanted_profit=10
Profit to take and close the trading session
--stop_loss=8
Stop loss, trading session will end at the specified consecutive loss
--contract=even
Type of contract to trade even
, odd
and both
( both will alternate between even and odd)
--show_notification=true
It will show a notification alert when the trading session ends but ONLY for a MacOS computer
To exit a trading session you must hit CTRL + C to end the program.
Usage
It will alternate between Contract Types, EVEN and ODD
./binarycr --token=xxx --application=xxx --duration=1 --trade_amount=10 --wanted_profit=100 --stop_loss=8 --contract=both
To only place trades in EVEN or ODD you can set it in the --contract parameter for even
or odd
./binarycr --token=xxx --application=xxx --duration=1 --trade_amount=10 --wanted_profit=100 --stop_loss=8 --contract=even
To display the account balance
./binarycr --token=xxx --application=xxx --balance
Screenshots
Example of a winning trading session
Contributing
- Fork it (https://github.com/xtokio/binarycr/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Luis Gomez - creator and maintainer