79653146

Date: 2025-06-04 16:18:30
Score: 1
Natty:
Report link

Create me python script that generates the data for the below fields: * Fields: Account Value Date
Dr Cr Ind
CCY
Amount Input time Overdraft indicator[1 or 0](1 is going to be overdraft, 0 means released on time)--- Released time * Generate 500 rows of data * Make the amount range between 2 million - 2 billion * The amount field goes hand in hand with the debit/credit indicator so if credit amount will be positive, if debit indicator amount is negative. * Market Opens at 7am and closes at 5:00pm * Have some credits come in before 11:30am but dont exceed 10 million * Around 11:30AM dont generate any credits * Around 11:35 have some credit data come in * Our intraday balance make it 500 million * Balance at the beginning of the day should be 0 * Balance at the end of the day should be 0

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Scarlet Knight