MohammedRashad / Crypto-Copy-Trader

A copy trading tool for cryptocurrencies - Binance Exchange
Apache License 2.0
201 stars 84 forks source link

Using % of the Master Balance #9

Closed djcrawleravp closed 4 years ago

djcrawleravp commented 4 years ago

Is it possible to modify the order amount in order for every account use the same percentage as the master?

Example:

Master has 10 BTC and opens a new buy limit of 5BTC at 6500USD (50% of the balance)

Slave 1 has 14 BTC, the script opens a new buy limit of 7BTC at 6500USD (50% of the balance)

Slave 2 has 3 BTC, the script opens a new buy limit of 1.5BTC at 6500USD (50% of the balance)

Maybe changing the value "quantity=order['origQty']" adding the formula for the original percentage?

Thanks for the patience, I'm not very much experienced in developing.

MohammedRashad commented 4 years ago

I was working on this feature and stopped due to other priorities, can you help with it?

djcrawleravp commented 4 years ago

I’m not a developer but i can try

Sent from my iPhone

On Apr 18, 2020, at 10:43, Mohamed Rashad notifications@github.com wrote:

 I was working on this feature and stopped due to other priorities, can you help with it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

mokolotron commented 4 years ago

Is the problem still relevant? Maybe I can help.

djcrawleravp commented 4 years ago

I’m still looking for a solution, :/

Sent from my iPhone

On May 19, 2020, at 03:03, NickPius notifications@github.com wrote:

 Is the problem still relevant? Maybe I can help.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

MohammedRashad commented 4 years ago

@mokolotron I have no time to maintain this project now, can you help in this feature?

mokolotron commented 4 years ago

I can try it.

MohammedRashad commented 4 years ago

thank you. waiting for your update

MohammedRashad commented 4 years ago

Update Merged, please test the feature and let me know what do you think