+1 888 340 6572
MultiCharts Project Management
previous_open_issue.png
Go to the previous open issue
previous_issue.png
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
feature_request_small.png
Open Feature request MC-50

Calculation of the commission on turnover in PowerLanguage

action_vote_minus_faded.png
6
Votes
action_vote_plus_faded.png
next_issue.png
Go to the next issue (open or closed)
next_open_issue.png
Go to the next open issue
Description

To test strategies taking the commission at broker into account, we need to include commission in the code. At the moment we cannot calculate commission on turnover and use it in the trading system.

Steps to reproduce this issue

Please add an operator to calculate the commission on turnover in PowerLanguage.
 
For example:
 
We buy for 1000 dollars and sell for 1500 dollars, the turnover is 2500 dollars. Then we introduce a variable with commission equal to 0.1 % of turnover. After every trade the value of commission is subtrackted from the turnover.
1000 - 10  = 990
1500 -  15 = 1485
2500 - 25 = 2475

Comments (4)
#0
user-offline.png  geizer (geizer)
Nov 09, 2010 - 15:20

Wow, can't believe my eyes I am looking at the first ever post in russian.
Just out of curiosity I tried google translate
service and the result came surprisingly accurate (with very slight
editing).
Google translate did not do a good job at translating the issue title, so this obe required some manual work. Anyways,here is the translation for those who can't read
russian:

Issue MC-50: "Calculate trading costs as percentage of $ amount traded"

Good day! Necessary to test the strategies with respect to brokerage mortgage brokerage commission merchant code.
At the moment there is no way to calculate the commission on turnover and take it into account when designing a trading system.

How to reproduce:

You must enter a easy language operator to calculate the commission of the turnover on transactions
For example
Bought for $ 1000 then sold at $ 1500 - turnover amounted to U.S. $ 2500.
Introduced a variable with a commission of 0.1% of turnover
After each operation, the value of the commission is subtracted from the turnover
1000 - 10 = 990
1500 - 15 = 1485
2500 - 25 = 2475

#0
user-offline.png  geizer (geizer)
Nov 09, 2010 - 15:22

Wow, can't believe my eyes I am looking at the first ever post in russian.
Just out of curiosity I tried google translate
service and the result came surprisingly accurate (with very slight
editing).
Google translate did not do a good job at translating the issue title,
so this obe required some manual work. Anyways,here is the translation

for those who can't read russian:

Calculation of the commission of trafficking in a row
Good day! Necessary to test the strategies with respect to brokerage mortgage brokerage commission merchant code.
At the moment there is no way to calculate the commission on turnover and take it into account when designing a trading system.
How to reproduce:
You must enter a easy language operator to calculate the commission of the turnover on transactions
For example
Bought for $ 1000 then sold at $ 1500 - turnover amounted to U.S. $ 2500.
Introduced a variable with a commission of 0.1% of turnover
After each operation, the value of the commission is subtracted from the turnover
1000 - 10 = 990
1500 - 15 = 1485
2500 - 25 = 2475

#0
user-offline.png  savvin (savvin1988)
Nov 09, 2010 - 16:32

Ок , Pavel tomorrow i will translate my letter in good English , for easy understanding thanks

#0
user-offline.png  Daenerys (Guest)
Oct 25, 2011 - 14:59

Does it mean that COT is calculated on all activities in your account and also on the total of all both receipt and payment.?

History
Issue basics
  • Type of issue
    Feature request
  • Category
    Not determined
  • Targeted for
    MultiCharts Future Releases
  • Status
    Confirmed
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (3)
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Resolution
    Not determined
  • Severity
    Normal
Attachments (0)
There is nothing attached to this issue
Commits (0)
There are no code checkins for this issue
Duplicate issues (0)
This issue does not have any duplicates