Python Coding CONTEST on stock price binary classification.

  • Status: Closed
  • Prize: €250
  • Entries Received: 26
  • Winner: oshishahin

Contest Brief

Python Coding CONTEST on stock price binary classification.

INPUT: A Pandas DataFrame containing a stock's open-close-high-low prices and volume info. See the link to see some examples.

TASK DESCRIPTION: Implement a strategy to predict "good" BUY signals. To know what's a "good" BUY signal, take a look at the boolean True values of the dataframes "class" column or just observe the red dots of the attached sample chart to get a rough idea. Note: For the sake of simplicity, no SELL signal exists, making it a binary classification problem.

Note: it's up to you to choose the solving approach (Machine Learning? Simple statistical rules? Basic algorithms?). No requirement exists for this choice.

Link: https://www.pisciottablog.com/2022/04/22/coding-contest-python-timeseries/

Recommended Skills

Employer Feedback

“Good result with very low need for code changes.”

Profile image CodeBites, Germany.

Public Clarification Board

  • dataexpert18
    dataexpert18
    • 3 weeks ago

    when winner will be announced?

    • 3 weeks ago
  • ikhan9985
    ikhan9985
    • 3 weeks ago

    Check #26 , and #30

    • 3 weeks ago
  • ikhan9985
    ikhan9985
    • 1 month ago

    Any conclusion? Please.

    • 1 month ago
  • ikhan9985
    ikhan9985
    • 1 month ago

    #9 #21 #26 and #30 are my entries.

    • 1 month ago
  • ashikmohann
    ashikmohann
    • 1 month ago

    #extended #extended

    • 1 month ago
  • dataexpert18
    dataexpert18
    • 1 month ago

    please check my entry #52

    • 1 month ago
  • dataexpert18
    dataexpert18
    • 1 month ago

    Do not end the contest, I will submit my entries in 3 hours.

    • 1 month ago
  • shahibur55
    shahibur55
    • 1 month ago

    #extended

    • 1 month ago
  • dataexpert18
    dataexpert18
    • 1 month ago

    can we only use the data provided? or any stock data can be used?

    • 1 month ago
  • dataexpert18
    dataexpert18
    • 1 month ago

    #increaseprize

    • 1 month ago
  • tomAnalyst
    tomAnalyst
    • 1 month ago

    Must the language be Python?

    • 1 month ago
    1. CodeBites
      Contest Holder
      • 1 month ago

      Yes

      • 1 month ago
  • oshishahin
    oshishahin
    • 1 month ago

    It would be much appreciated if you could review and rate the submitted entries during the contest time, so we can have a room to upgrade and improve our entries before the deadline approach

    • 1 month ago
  • yosefelgebaly
    yosefelgebaly
    • 2 months ago

    chat with me if you still need this

    • 2 months ago
    1. CodeBites
      Contest Holder
      • 2 months ago

      Since this is a contest, you can submit your solution if interested in participating.

      • 2 months ago
  • dataexpert18
    dataexpert18
    • 2 months ago

    do not end the competition before the deadline, I am working on it. you can select the best solution at the end.

    • 2 months ago
    1. CodeBites
      Contest Holder
      • 2 months ago

      As previously mentioned, it will close only at deadline. " Furthermore, if still interested in working on it afterwards for 1 month following the deadline (but with no contest prize) solutions will be still accepted (follows the blog page instructions) to get the opportunity to be announced as best code after contest "

      • 2 months ago
  • techiestc
    techiestc
    • 2 months ago

    Dear Contest Holder, I am working on it. Kindly don't close before due date

    • 2 months ago
    1. CodeBites
      Contest Holder
      • 2 months ago

      Sure, it will close only at deadline. Furthermore, if still interested in working on it afterwards for 1 month following the deadline (but with no contest prize) solutions will be still accepted (follows the blog page instructions) to get the opportunity to be announced as best code after contest.

      • 2 months ago
  • CodeBites
    Contest Holder
    • 2 months ago

    The contest's entries are now sealed!

    • 2 months ago
  • alvitrbd
    alvitrbd
    • 2 months ago

    All-electrified. I will start working within 2 days wholeheartedly. Thanks for this amazing competition, on behalf of all participants and computer engineers. I will let you know if I have any questions. Have a beautiful weekend and eid mubarak! :)

    • 2 months ago
    1. CodeBites
      Contest Holder
      • 2 months ago

      I'm glad to see such an enthusiasm. Feel free to ask for anything related to the problem statement or competition.

      • 2 months ago
  • freelancersandh1
    freelancersandh1
    • 2 months ago

    okay found

    • 2 months ago
  • freelancersandh1
    freelancersandh1
    • 2 months ago

    Do you have the source data?

    • 2 months ago
    1. CodeBites
      Contest Holder
      • 2 months ago

      Yes, they are contained both in the code template (as remote calls) and also as link to Github Repository (see original blog post description: https://www.pisciottablog.com/2022/04/22/coding-contest-python-timeseries/ ). If not still clear, feel free to ask again : )

      • 2 months ago
  • mmshafiei
    mmshafiei
    • 2 months ago

    Are you the original contest holder? Our entry here would be announced in the contest with our name?

    • 2 months ago
    1. CodeBites
      Contest Holder
      • 2 months ago

      The contest is running in parallel here and outside (see the blog post in the description). The only difference is that on Freelancer.com there is a deadline of one month and only here the 250 EURO Prize will be given (since it's a guaranteed contest). But anyone else (even after the deadline, outside Freelancer) submitting the code has the freedom to choose to be or not to be published and if yes, under which nickname and personal website (if given). Of course, nothing will be done without prior consent of the Code Creator.

      • 2 months ago
  • dataexpert18
    dataexpert18
    • 2 months ago

    will you announce the winer at the end of deadline or as when you are satisfied with someone entry?

    • 2 months ago
    1. CodeBites
      Contest Holder
      • 2 months ago

      As per Freelancer regulation, the guaranteed Prize (250 Euro) MUST be given to someone in ANY case at the end of the contest. But since this contest will "virtually" run for another month following the given deadline (externally, not on Freelancer), people will still have the possibility to submit their solution (but no Prize is expected in that case, since it only applies here within the Freelancer deadline). So the Freelancer winner is annoucend in any case, but if someone publish a better solution, he/she will also be announced later publicly on Twitter/LinkedIn/Xing and on the original blog (with no money prize).

      • 2 months ago
  • MustafaTorky
    MustafaTorky
    • 2 months ago

    does time stamp affect the outcome?

    • 2 months ago
    1. CodeBites
      Contest Holder
      • 2 months ago

      Timestamp of predictions should be kept as Index, same as the test input dataframes. Please note that the predictions Series is already initialized ("predictions = pd.Series(data=True, index=df.index)") so it should just be manipulated. If you need, to know more exactly how does it looks like, you can take a look at the test input dataframes ( https://github.com/Pisciotta/test_csv ) from where the index is taken.

      • 2 months ago

Show more comments

How to get started with contests

  • Post your contest

    Post Your Contest Quick and easy

  • Get tons of entries

    Get Tons of Entries From around the world

  • Award the best entry

    Award the best entry Download the files - Easy!

Post a Contest Now or Join us Today!