Create a Python Function to suggest trade opportunities through linear programming/optimisation

EDIT - I uploaded the wrong excel so please now use the NFT_trade_example_V2 Excel document. Thanks

Hi there. This project is to write a function in python takes a dataframe of NFT items and their value, and returns a suggested list of trades/swaps i could make.

Please open the attached file "[login to view URL] and follow the below use case:

- I am the owner of Wallet1. I currently hold 12 NFTs with a value of $8,270.

- I am looking to see potential trades/swaps i could make with other wallet holders (i/e - give up some of my NFTs but get others in return).

- I would like to get a function built that suggests trade opportunities to other Wallet holders based on my requirements.

Ideally i would like to be able to pick contraints on the fly to generate more targeted opportunities.

For example i would like Python function to contain the following contraints to filter which NFTs to look for as part of the trade:

Contraints of what i would like to trade:

constraint1 = which NFTs would you like included in trade (ie input the nft_name/s that I own). Ideally can select multiple NFTs here.

constraint2 = what Mint_Year NFT wold you like to trade (i.e 2020, 2021 or either year). can leave blank

constraint3 = what collection you would like to trade

constraint4 = minumum value to trade

constraint5 = maximum value to trade

Contraints of what i would like to receive:

constraint6 = the name of the Current_Owner i would like to receive an NFT from

constraint7 = which NFTs would you like included in trade (select NFT you would like included)

constraint8 = what Mint_Year NFT would you like to receive

constraint9 = what collection you would like to receive

constraint10 = minumum value to receive

constraint11 = maximum value to receive

constraint12 = maximum difference between NFT values (for example if i set this at 10% the difference between the total value coming in and leaving would not be more than + or - 10%).

constraint13 = minumum NFTs to receive

constraint14 = maximum NFTs to receive

constraint 15 = the trade can only be facilitated on a 1:1 basis. EG one Wallet holder to another

I would also like to pick whether the constraint is fixed (eg. this contraint has to strictly fit that criteria) or it can be an include option (where the contstraint has to be met at least once only).

In the spreadsheet i have attached two working examples that help highlight on what i need.

In summary, i would like a python function that takes the masterlist as an input and then exports a dataframe with suggestions.

I appreciate this is complex to happy to explain further if need be.

Kind regards.

Habilidades: Python, Estatísticas, Programação Linear

Acerca do Empregador:
( 7 comentários ) Newport, Australia

ID do Projeto: #32744801

Concedido a:


Hello, Really interesting project! I have a lot of experience with optimization model and will be happy to help you on this. Thanks

$250 AUD em 7 dias
(47 Comentários)

8 freelancers estão ofertando em média $201 nesse trabalho


Hi I am a very experienced statistician, data scientist and academic writer. I have completed several PhD level thesis projects involving advanced statistical analysis of data. I have worked with data from several comp Mais

$500 AUD in 7 dias
(147 Comentários)

Greetings. I checked your Software Designing project requirements. Your work is one of the tasks that can be done very perfectly by us. I am good in Python, Django, Flask, ORM,Jinja 2, Mako , All datamining , Data Anal Mais

$30 AUD in 2 dias
(45 Comentários)

Hello, I hope this finds you well. I have just seen your project requiring; Python Statistics Linear Programming I believe that my 10-year experience in this field is what you need right away. Avoid the headache of lo Mais

$200 AUD in 7 dias
(20 Comentários)

* * * * * * * * * * * * * * * * * * * * * * Hello There, I’m a Professional and Expert Python Developer. I am interested in doing this job for you.I do have the necessary skill set & resources to complete this project Mais

$140 AUD in 7 dias
(1 Comentário)

I am a PhD in Operations Research with 12 years of experience in developing and deploying LP Solutions for various organisations and institutions using Python. I have deep expertise in the area of Optimisation modellin Mais

$250 AUD in 2 dias
(5 Comentários)

Hi, I am available to start on the project right away, the project can be completed in a weeks time using pandas and core python functions

$140 AUD in 7 dias
(0 Comentários)

I am new on [login to view URL], I have 2 years experience in python and data science. I had made various projects by using python language,and used statistics for better understanding to other people,i am aware about the ma Mais

$100 AUD in 7 dias
(0 Comentários)