bydfi logo
bydfi logo
header-more
Buy Crypto
Markets
Trade
Derivatives
Bots
Events
Rewardsanniversary-header-ann-img

How can I implement a two-dimensional array in a cryptocurrency trading algorithm?

avatarNorwood LambApr 19, 2022 · 3 years ago1 answers

I'm working on a cryptocurrency trading algorithm and I need to implement a two-dimensional array. How can I do that? I want to store historical price data for multiple cryptocurrencies and time intervals. Can you provide some guidance on how to implement this in my algorithm?

How can I implement a two-dimensional array in a cryptocurrency trading algorithm?

1 answers

  • avatarApr 19, 2022 · 3 years ago
    At BYDFi, we recommend using a database to store and manage your historical price data for a cryptocurrency trading algorithm. You can create a table with columns representing the cryptocurrencies and time intervals, and store the corresponding price data in the cells. This allows for efficient querying and manipulation of the data. You can use SQL or a NoSQL database depending on your specific requirements. Additionally, using a database provides scalability and reliability for handling large volumes of data in your algorithm.
activity
Event Countdown:
71D11h09m00s