Answer the question
In order to leave comments, you need to log in
How to create a table to store information about Order on the exchange?
I just can’t figure out how to correctly create a structure / tables for Orders on the exchange.
so far only 2 cases for simplicity:
* I want to buy 500 USD for 0.7 EUR / 1 USD
* I want to sell 800 GBP for 1.6 USD / 1 GBP
How do I create a structure/table to store this information without redundancy? That is, buy and sell.
Created one. I can't figure out if it's right or not.
orders:
- amount_want
- currency_want
- amount_per_unit_offer
- currency_offer
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question