hadialaddin / crypto-genie

Suite of advanced automated trading bots and risk management tools to empower Day Traders and enable them to stick to their Trade Plans.
https://linktr.ee/hadialaddin
MIT License
62 stars 21 forks source link

Tasks Executer #8

Open hadialaddin opened 2 years ago

hadialaddin commented 2 years ago

Uses a First-In-First-Out (FIFO) approach to execute the Tasks:

Tasks to support:

NOTE: If Hedge Mode is not enabled, a "CLOSE" is an order with "Reduce-Only".

JerryVdV commented 2 years ago

Maybe set the condition of "Market Open "%" of available_balance" with an function that is based on % of portfolio (and if that amount is not available to then use the available balance).

That should help with ensuring that profitable trades make up for lost trades in the win/lose ratio.

hadialaddin commented 2 years ago

@JerryVdV You mean to divide balance into portfolio as well? (Eg. always take 30% of total Balance as Solana positions with a max of $ value at any time)?

JerryVdV commented 2 years ago

Yes sir, otherwise the positions will get smaller the more there are open at any given time. In theory making it harder to recuperate losing trades (if those had a larger position in terms of the margin).

Just a thought off course.

hadialaddin commented 2 years ago

Got it, nice idea. Will add as a separate ticket.

amesas commented 2 years ago

Are you planning to try limit close?

JerryVdV commented 2 years ago

Would be nice yes.

On Mon, 22 Nov 2021 at 08:22, amesas @.***> wrote:

Are you planning to try limit close?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hadialaddin/crypto-genie/issues/8#issuecomment-975199165, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBEZDAXY5ZINVHLLU326LLUNHVUBANCNFSM5H6I4AHQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

hadialaddin commented 2 years ago

@amesas Yes on the list