Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

27 Oct 2023 -VERSION 3.1.7.1

Issue/Request

Type

User Guide

Jira Ticket

get API token for API access in the future

for admin account only

Enhancement

Jira Legacy
serverSystem JIRA
serverIda6a5c91f-7975-3c4d-8f2d-6aab593771a8
keyMAF-4323

change p/l from open position app issue

  1. download content time is too long

  2. exception in console

Enhancement

Jira Legacy
serverSystem JIRA
serverIda6a5c91f-7975-3c4d-8f2d-6aab593771a8
keyMAF-4304

some of stock can not do recalculate

enable checkbox for all row. I will disabled those action button if user chooses Pairs stock, users need to know why those button are disabled.

Enhancement

Jira Legacy
serverSystem JIRA
serverIda6a5c91f-7975-3c4d-8f2d-6aab593771a8
keyMAF-4329

add Tradex sftp settings table in company data

To setup SFTP for tradex, go to 'Tradex SFTP' under company data to fill up required details of it.

  1. Test the function in the table (insert/delete/update)

Once setup done, go to paper trade page and open TRADEX dropdown to select one of sftp from 1. table to open the Tradex files that had been stored in SFTP
(Must be valid IP, PORT, USERNAME and PASSWORD from 1. table) to retrieve the file list or else BE will return error.

  1. Test the remaining functions (download, open the file to create new paper trade page etc.)

Enhancement

Jira Legacy
serverSystem JIRA
serverIda6a5c91f-7975-3c4d-8f2d-6aab593771a8
keyMAF-4330

231027 采销资金备注

when split, remarks' contents should remain

Enhancement

Jira Legacy
serverSystem JIRA
serverIda6a5c91f-7975-3c4d-8f2d-6aab593771a8
keyMAF-4334

stock Mgmt calculate button logic changes

currnetly we only consider stock in and out.

 

we need to consider all stocks regardless stock in/out or swap in/out.

coz sometime there is a certain loss when swap in and out.

e.g, move out 1000 MT, but move in 999.2 MT. there will be 0.8MT loss in total stock.

when recalculate, please include all stock_actions

STOCK_ACTIONS = {
STOCK_IN: 'STOCK IN',
STOCK_OUT: 'STOCK OUT',
SWAP_IN: 'SWAP IN',
SWAP_OUT: 'SWAP OUT'
}

Enhancement

Jira Legacy
serverSystem JIRA
serverIda6a5c91f-7975-3c4d-8f2d-6aab593771a8
keyMAF-4332

26 Oct 2023 -VERSION 3.1.7.1

...

Issue/Request

Type

User Guide

Jira Ticket

stock detail group exception

in stock mgmt table, when drag a column to group, got error.

Enhancement

Jira Legacy
serverSystem JIRA
serverIda6a5c91f-7975-3c4d-8f2d-6aab593771a8
keyMAF-4325

paper trade portfolio name mapping for tradex file

for Tradex and only for Tradex

BE will return portfolio_name in trade row

please map portfolio_name in the portfolio name list in FE. if not in the list, show it in red.

if it is in the list, then add portfolio_name (portfolio_id) in the table.

Enhancement

Jira Legacy
serverSystem JIRA
serverIda6a5c91f-7975-3c4d-8f2d-6aab593771a8
keyMAF-4322

paper trade upload bug for tradex

Enhancement

Jira Legacy
serverSystem JIRA
serverIda6a5c91f-7975-3c4d-8f2d-6aab593771a8
keyMAF-4321

230831 库存明细 unstock qty empty

unstock qty should nvr be empty even for users in group level account

update contract qty and unstock qty should be auto updated

I have added a column to store stock_contract_qty in phy trade database.

previously, we do calculation of stock_contract_qty in memory when select phy trade.

now we store it into database, we do not need to calculation anymore. we handle it in the ways like what we have done for inv_qty.

please amend it accordingly and we have to show un stock qty in stock mgmt table.

i have just changed the key to total_stock_qty in phy_trade

total_stock_qty is sum up all stock_qty (stock_contract_qty or stock_qty) just like what we have done for inv_qty in phy_trade.

btw, we need use total_stock_qty to replace the key stock_contract_qty in many places. need to check carefully.

Enhancement

Jira Legacy
serverSystem JIRA
serverIda6a5c91f-7975-3c4d-8f2d-6aab593771a8
keyMAF-4253

231016 客户更名

add a status column in company data table, if select INVALID for the counterparty, then the counterparty will not appear in the counterparty drop down list

Enhancement

Jira Legacy
serverSystem JIRA
serverIda6a5c91f-7975-3c4d-8f2d-6aab593771a8
keyMAF-4307

cannot allocate portfolio for paper trades bug fixed

Enhancement

Jira Legacy
serverSystem JIRA
serverIda6a5c91f-7975-3c4d-8f2d-6aab593771a8
keyMAF-4324

230911 合同拆分后续 point 1 undone

when split trade, psl and stock mgmt amount and quantity will be auto split accordingly

Enhancement

Jira Legacy
serverSystem JIRA
serverIda6a5c91f-7975-3c4d-8f2d-6aab593771a8
keyMAF-4232

add total_actual_stock_qty in phy trade database

  1. add total_actual_stock_qty in phy trade database

    1. added in testing server

  2. amend calculateWhPsl

    1. stock_actual_qty

    2. qty_variation

Enhancement

Jira Legacy
serverSystem JIRA
serverIda6a5c91f-7975-3c4d-8f2d-6aab593771a8
keyMAF-4265

remove split function in old phy trade page

Enhancement

Jira Legacy
serverSystem JIRA
serverIda6a5c91f-7975-3c4d-8f2d-6aab593771a8
keyMAF-4268

paper trade keys dictionary

Enhancement

Jira Legacy
serverSystem JIRA
serverIda6a5c91f-7975-3c4d-8f2d-6aab593771a8
keyMAF-4275

230911 合同拆分后续 point 1 undone - add negative sign to split qty

  1. if it is a sale contract, the split qty in this pop up box should show it is auto negative right? currently it is not. but after split it is auto negative

  2. qty value to BE must be positive no matter it is sale or purchase contract.

i think that is good suggestion.

  1. let’s show PURCHASE or SALE

  2. NEW SPLIT QTY, will auto convert to negative if it is sale, and positive if it is PURCHASE. (but value to BE still positive no matter P or S)

  3. please issue a new ticket for FE

Enhancement

Jira Legacy
serverSystem JIRA
serverIda6a5c91f-7975-3c4d-8f2d-6aab593771a8
keyMAF-4276

replace of stock_contract_qty

in current code, there are lots of places where BE is using stock_contract_qty as total_stock_qty.

since phy trade already have total_stock_qty, not stock_contract_qty is dismissed, please use total_stock_qty to replace of stock_contract_qty.

 

highlight:

stock_contract_qty is also one of columns in stock_mgmt database table. please do not change those stock_contract_qty keys

Enhancement

Jira Legacy
serverSystem JIRA
serverIda6a5c91f-7975-3c4d-8f2d-6aab593771a8
keyMAF-4279

in new phy trade page, when reset psl and invoice using this button, need to reset all stock-related qty too - same logic

Enhancement

Jira Legacy
serverSystem JIRA
serverIda6a5c91f-7975-3c4d-8f2d-6aab593771a8
keyMAF-4281

add recalculate button in stock management page

similar logic as the recalculate button in ps ledger

Enhancement

Jira Legacy
serverSystem JIRA
serverIda6a5c91f-7975-3c4d-8f2d-6aab593771a8
keyMAF-4282

...