gsoros / GTrader

a trading strategy trainer, back-tester and bot
GNU General Public License v3.0
83 stars 38 forks source link

support "future market data " USDⓈ-M Futures #72

Open ExaByt3s opened 3 years ago

ExaByt3s commented 3 years ago

Hello I would like, if in some way you can support the backtesting in pairs of futures like "BTC/USDTP" ,

I think that by modifying a couple of lines in, your code can add the pairs of futures

https://github.com/gsoros/GTrader/blob/master/app/GTrader/Exchanges/CCXT/Supported.php#L34 https://github.com/gsoros/GTrader/blob/master/app/GTrader/Exchanges/CCXT/Supported.php#L82 https://github.com/gsoros/GTrader/blob/master/app/GTrader/Exchanges/CCXT/HasCCXT.php#L13 https://github.com/gsoros/GTrader/blob/master/app/GTrader/Exchanges/CCXT/HasCCXT.php#L135

ccxt flags https://github.com/ccxt/ccxt/blob/master/examples/php/binance-set-futures-leverage.php#L18

gsoros commented 3 years ago

Hi, at the moment I am not actively maintaining this project but if you submit a PR I will review it.

ExaByt3s commented 3 years ago

Hello, thanks for your time. I've been browsing through your code I think it was hard work congratulations. The problem is solved. just have to update ccxt library to its latest version in composer

imagen