Anuluar

Create a simple buy & hold Python Algorithm

I need an Algorithm created using Python that will place up to 15 stocks to buy and hold forever.

It will also need to rebalance the entire portfolio every year on the 2nd of January.

That is it!

here is an example of 15 tickers to use. AMZN AAPL MA DIS XOM HD IBM INTC MRK NKE TRV PG UTX UNH VZ

Should only take about 10 minutes to create.

Example of some code.

def initialize(context):

[url removed, login to view] = sid(24)

[url removed, login to view] = sid(8554)

def handle_data(context, data):

if data.can_trade([url removed, login to view]):

order_target_percent([url removed, login to view], 0.25)

if data.can_trade([url removed, login to view]):

order_target_percent([url removed, login to view], -0.25)

Aftësitë: Programim C, Programim në gjuhën C++ , Mësim automatik (Machine Learning), Python, Arkitekturë Softuerësh

Shiko më shumë: algorithmic trading python book, python for finance pdf, python trading tutorial, automated trading python, trading with python course, mastering python for finance, python trading, python for algorithmic trading pdf, I need a php, python, Ruby developer to create an application in the cloud, i want to buy house in turkey i need translator, i need a freelance developer to create a software, i need a designer to help me produce simple prints for clothing, i need a design for a bottle label this is for a vitamin water and it comes in 4 flavours it is quite simple as i already have a, i have 3 very simple webpage designs but i have lost the psd for them i need someone to redo it and send me the psd file, hello i need to create a logo and a name to put on my clothing brand

Rreth Punëdhënësit:
( 1 përshtypje ) Gold Coast, Australia

ID Projekti: #15853050

3 profesionistë freelancer dërguan një ofertë mesatare prej $28 për këtë punë

RushService

Feel fee to contact me [login to view URL] me message to discuss further more details .We provide the comments,images,videos,demos and live sessions in order to help the [login to view URL] payment only after the work [login to view URL] yo Më shumë

$30 USD pёr 1 ditë
(22 Përshtypje)
4.9
nverma22

I have depth understanding of all algorithms from linear, non linear, and tree based algorithms. I am ready to work with you in this project and ready to discuss more briefly. Relevant Skills and Experience I have dee Më shumë

$30 USD pёr 1 ditë
(2 Përshtypje)
2.5
Suman3927

Customizable code Relevant Skills and Experience 3 years of trading experience Proposed Milestones $25 USD - All in time Additional Services Offered $5 USD - Any strategy with their result Robust testing of differe Më shumë

$25 USD pёr 1 ditë
(0 Përshtypje)
0.0