zemuss Posted December 13, 2022 Report Share Posted December 13, 2022 Is it possible when entering an order that MedVed Trader can look for a configured percentage of trades? So allow the platform to calculate the shares based on a percentage of the account size? Account size is $50,000 Percentage of Risk: 1% <-- so each trade would be 1% on the equity of my account. Each trade would be allotted $500 for the trade and used to enter the order based on the Price per share to get you a total share qty being executed. If this feature exist let me know. Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted December 13, 2022 Report Share Posted December 13, 2022 you can create hotkeys that compute the QTY based on price and buying power etc.. Quote Link to comment Share on other sites More sharing options...
zemuss Posted December 13, 2022 Author Report Share Posted December 13, 2022 ok that sounds like what i need. Would you happen to have an example? Quote Link to comment Share on other sites More sharing options...
Mike Medved Posted December 13, 2022 Report Share Posted December 13, 2022 Ok right now we don't have a variable in hotkey that is "account value". We do have "Cash" for the account's cash buying power. (I asked Jerry to add a way to get the account's total value into a system var for a hotkey) Using the Cash Buying Power you would do something like this: Quote Link to comment Share on other sites More sharing options...
zemuss Posted December 13, 2022 Author Report Share Posted December 13, 2022 (edited) Is there a way to find all of the variables that are supported through hotkeys? Another question is could i write a simple C# application to perform as a Hotkey keyboard? Edited December 13, 2022 by zemuss Quote Link to comment Share on other sites More sharing options...
Mike Medved Posted December 14, 2022 Report Share Posted December 14, 2022 https://www.medvedtrader.com/trader/WebHelp/variables_and_conditions_secti.htm As for C# - no, hotkeys are their own thing. But they are pretty flexible, especially if you do Variables and Conditionals. Quote Link to comment Share on other sites More sharing options...
zemuss Posted December 14, 2022 Author Report Share Posted December 14, 2022 Ok So for a Buy i want the ask but for the Sell i want the bid to factory the qty for the sell? Or just flip the action Buy to Sell? Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted December 14, 2022 Report Share Posted December 14, 2022 you would want to change the action, but probably also match the bid/ask too if you want to be filled right away Quote Link to comment Share on other sites More sharing options...
zemuss Posted December 14, 2022 Author Report Share Posted December 14, 2022 (edited) OK can this also be applied to options? Select the Option and enter the order based on the qty it will buy? Its not calculating right. Edited December 14, 2022 by zemuss Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted December 14, 2022 Report Share Posted December 14, 2022 yes, hotkeys work regardless of security type though for QTY you would probably want to add the 100 multiplier Quote Link to comment Share on other sites More sharing options...
zemuss Posted December 14, 2022 Author Report Share Posted December 14, 2022 floor(Cash*0.01/Ask) if i add 100 it take the quantity and multiplies by that number. What do you mean by adding the 100 multiplier? Quote Link to comment Share on other sites More sharing options...
zemuss Posted December 15, 2022 Author Report Share Posted December 15, 2022 Hey @Jerry Medved i know your busy.. could u give me some feed back on the multiplier you referred too? Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted December 15, 2022 Report Share Posted December 15, 2022 I mean that you have to multiply the contract price by 100 for options to get what it will cost you. Quote Link to comment Share on other sites More sharing options...
zemuss Posted December 16, 2022 Author Report Share Posted December 16, 2022 AHh ok i figured that is what i did.. but not i have to have to hotkeys.. Its ok its just how it works i guess. Quote Link to comment Share on other sites More sharing options...
tradingcat Posted April 13 Report Share Posted April 13 On 12/14/2022 at 4:09 AM, Mike Medved said: Ok right now we don't have a variable in hotkey that is "account value". We do have "Cash" for the account's cash buying power. Apologies for bringing up this old thread - but is there an variable hotkey that is "account value" now? I don't see anything that resembles it in the variables page, but just want to be sure Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted April 13 Report Share Posted April 13 Yes, AccountValue is there. So is Cash (Cash Buying Power), OvernightBP and bunch of other stuff 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.