Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The second task involves creating a text - based plot of the candlestick data. The figure above shows an example of a graphical plot. You

The second task involves creating a text-based plot of the candlestick data. The figure above shows
an example of a graphical plot. You should try and create something like that using text output. We
recommend that you approach this by first manually typing out what kind of characters you might
use in your plot to represent different things. Use your text editor to do this. E.g. you might use a -
to represent the top of a box and a | to represent the stalk. Once you know what you are aiming for,
you should write C++ function that takes a vector of Candlestick objects as its input and generates a
plot from that data. You will need to cope with quite a few problems here for example, how can
you round the data so it is an appropriate range for your text-based plotter? How can you deal with
horizontal and vertical positioning? You should attempt to use object-oriented techniques to make
your code as neat and well organised as possible.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Relational Model A Retrospective Review And Analysis

Authors: C. J. Date

1st Edition

0201612941, 978-0201612943

More Books

Students also viewed these Databases questions

Question

Explain all drawbacks of the application procedure.

Answered: 1 week ago

Question

Determine Leading or Lagging Power Factor in Python.

Answered: 1 week ago