In Progress

Need help with python code

I have a code to convert forrex currency pairs into USD. I need help to check and correctit:

# instruments = ['EUR/USD', 'USD/JPY', 'AUD/USD', 'USD/CAD', 'GBP/USD', 'NZD/USD', 'GBP/JPY', 'EUR/JPY', 'AUD/JPY', 'EUR/GBP', 'USD/CHF']

def _calculate_pip_value_in_account_currency(self, currency, current_prices):

pip_values = []

if currency == [login to view URL]:

m = 0

# print([login to view URL])

for instrument in [login to view URL]:

# print(instrument)

if instrument == 'EUR/USD':

EUR_USD = current_prices[m]

elif instrument == 'USD/JPY':

USD_JPY = current_prices[m]

elif instrument == 'AUD/USD':

AUD_USD = current_prices[m]

elif instrument == 'GBP/USD':

GBP_USD = current_prices[m]

currency = [login to view URL]('/')

first_currency = currency[0]

second_currency = currency[1]

if second_currency == 'USD':

pip_value = 0.0001

elif first_currency == 'USD' and second_currency != 'JPY':

pip_value = 0.0001/current_prices[m]

elif first_currency == 'USD' and second_currency == 'JPY':

pip_value = 0.01/current_prices[m]

elif instrument == 'GBP/JPY':

pip_value = GBP_USD * 0.01/current_prices[m]

elif instrument == 'EUR/JPY':

pip_value = EUR_USD * 0.01/current_prices[m]

elif instrument == 'AUD/JPY':

pip_value = AUD_USD * 0.01/current_prices[m]

elif instrument == 'EUR/GBP':

pip_value = EUR_USD * 0.0001/current_prices[m]

[login to view URL](pip_value)

m += 1

return pip_values

Skills: Python, Machine Learning (ML)

See more: need help write python script operate telit module, need help php email code, need urgent help fix code, need help fix code, need help fix matlab code, need help with python programming, need help with your php code, need a python code that does, need help with assignment in python, Need help in writing some java code, I need help with a python script, Hi Dev, As discussed, I need the three PSDs made into HTML emails. The fonts in the PSD need to be used – I gave them to you , need help with html code, need help with javascript code, python code help, help me with my python code, calculate object distance from camera opencv python code, free python code help, online python code help, i need help with my code

About the Employer:
( 0 reviews ) Ramat Gan, Israel

Project ID: #22468198

Awarded to:

Lauwy

My skill set is well suited for this project. To check and correct your code won't take long, if you want me to start now just send me a message. Sincerely, Laurens Timmer

$10 USD in 2 days
(0 Reviews)
0.0

13 freelancers are bidding on average $22 for this job

muzammil360

Hi. It seems that you are interested in correcting a python code. I am a software engineer with more than 4 years of experience in Python, C++ and Matlab. I have experience working with python strings and parsing them More

$30 USD in 7 days
(5 Reviews)
4.4
web4x4

Hi! Thank you for your job posting. I have a lot of experience in performing similar tasks. I can qualitatively perform your task. Message me to private chat and we will discuss the details. I am also well verse More

$30 USD in 1 day
(1 Review)
1.7
akiramatsui0305

hi Client. i have read and understood your request.i am interested in your project and can do it very well. I have wide experience in Python,Django,ASP.net development and i am looking forward to contact me, please. i More

$30 USD in 1 day
(1 Review)
0.8
$25 USD in 1 day
(0 Reviews)
0.0
khandelwaladi

HELLO SIR I AM EXPERT IN PYTHON AND CAN SOLVE YOUR ISSUE. SO PLEASE MESSAGE ME SO I CAN WORK FOR YOU

$10 USD in 1 day
(0 Reviews)
0.0
zeebypie

We have some expert python coders with us, we can solve any issue you are facing with your code within an hour. Happy to help.

$30 USD in 1 day
(0 Reviews)
0.0
VolodymyrSLK

Hi, I'm Volodymyr. I have a experience in Python Development, I'll do this job with a big quality and responcibility. Сhoose me and you will not regret it)

$20 USD in 7 days
(0 Reviews)
0.0
vpkprasanna98

I can able to easily complete the project as i have much experience in coding with python ! so if i get a chance to take this project i can able to complete it easily.

$40 USD in 7 days
(0 Reviews)
0.0
$20 USD in 1 day
(0 Reviews)
0.0
rammohankapil

Your work will be completed by experienced Python programmers to your complete satisfaction. We care more for repeat business and satisfied clients.

$15 USD in 3 days
(0 Reviews)
0.0
khalidsrri

Hi , I can do it for you , I'm an experience python programmer It's seems to me like this is a class module so to give you a better results you have to provide me the full code Or I can create one's from scratch and pr More

$15 USD in 1 day
(0 Reviews)
0.0
Mrudaya

Very simple one, also it can be made more elegant. Let me know if you want me to take a crack at yet

$15 USD in 1 day
(0 Reviews)
0.0