-
Code to bruteforce crypto scalping pairs via backtesting
Make sure you have your local API server setup for HaasOnline Trading Server: Link To Wiki
After that just follow the instructions in the app.. More documentation to come.
Commands
// Sets the start value of the target percentage
set-config starttargetpercentage Ex. set-config starttargetpercentage 0.1// Sets the end value of the target percentage
set-config endtargetpercentage Ex. set-config endtargetpercentage 1.0// Sets the target percentage step for each test
set-config targetpercentagestep Ex. set-config targetpercentagestep 0.1// Sets the safeties start percentage
set-config startsafetypercentage Ex. set-config startsafetypercentage 0.1// Sets the safeties end percentage
set-config endsafetypercentage Ex. set-config endsafetypercentage 1.0// Sets the safeties step value
set-config safetypercentagestep Ex. set-config safetypercentagestep 0.1// Shows all available markets on the exchange
show-markets// Adds a market to test
add-test-market primarycurrency secondarycurrency Ex. add-test-market BNB BTC// Removes a market to test
remove-test-market primarycurrency secondarycurrency Ex. remove-test-market BNB BTC// Starts the backtesting
startNote: Make sure to delete your bot after each run or you will get weird results.
Note: If you do not already have the market data downloaded the bot might miss some backtest. For new markets open the market view and view as far back has you plan on backtesting.
Disclaimer: This third party software is provided by the author "as is"' and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the author be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.
The community content is generated by people from the community and is actively moderated. However, we do not endorse or claim to maintain any user generated content, links, tutorials, guides, projects, or questions that may appear in community sections.
Be the first to comment